Skip to content
Junoix

Button Group

Button groups join related buttons into one control: segmented switches, toolbars, split buttons and pagers. Add role="group" and an aria-label, and use btn-check checkboxes or radios when the group should remember a selection.

1Basic group

Buttons joined into one control with .btn-group and role="group".

2Outline group

Outline buttons with an active middle item.

3Group sizes

btn-group-lg and btn-group-sm size every button in the group at once.

4Vertical group

btn-group-vertical stacks the buttons, handy for side tool panels.

5Editor toolbar

Several groups inside a .btn-toolbar make a rich-text editor toolbar.

6Checkbox toggle group

btn-check checkboxes styled as a group; any number can be on.

7Radio toggle group

btn-check radios: exactly one option is selected, like a billing period switch.

8Group with dropdown

Nest a .btn-group with a dropdown to add more options to the end.

9Split button

A main action plus a caret that opens related actions.

10Pager group

Previous, page numbers and next as one group.

11View switcher

Icon-only radio group to switch between grid, list and board views.

12Toolbar with input group

Mix button groups and an input group in one toolbar; justify-content spreads them out.

13Media player controls

Round icon buttons grouped around a larger play button.

Album cover
Bright experience
Hana Kowalski

14Segmented filter with counts

A radio group with badges, used to filter a list by status.

15Vertical option list

A vertical radio group where each option shows a label and extra detail.

16Mixed colours

Different variants in one group, e.g. approve, hold and reject.

17Zoom control

A read-only value between minus and plus buttons.

80%

18Chart range picker

Small radio group for quick date ranges above a chart.

19Row actions

A small icon group in the last table column for view, edit and delete.

CustomerPlanActions
Omar FischerBusiness
Jonah OkaforStarter
Nadia HaddadStarter

20Full-width group

Stretch a group across its container with d-flex and flex-fill buttons.