Master programming syntax, solve interactive challenges & run live code in Syntaxis Explore Arena →
menu_book Course Curriculum (Bootstrap 5) expand_more
Bootstrap 5 / Components I

Button groups

Learn Button groups in Bootstrap 5 with a focused explanation, a topic-specific example, edge guidance, and a mastery check.

12 min read • Intermediate
bootstrap-046.html
html
<div class="btn-group" role="group" aria-label="View"><input class="btn-check" type="radio" name="view" id="grid" checked><label class="btn btn-outline-primary" for="grid">Grid</label><input class="btn-check" type="radio" name="view" id="list"><label class="btn btn-outline-primary" for="list">List</label></div>
What to watch
Content source & attribution
Original Syntaxis Content · Original Syntaxis Content