# Button Group

###### Group a series of buttons together on a single line or stack them in a vertical column.

The `.btn` styles can be applied to other elements, such as `<label>`s, to provide checkbox or radio style button toggling. Add `data-bs-toggle="buttons"` to a `.btn-group` containing those modified buttons to enable their toggling behavior via JavaScript.

## Sizes example

Instead of applying button sizing classes to every button in a group, just add `.btn-group-*` to each `.btn-group`, including each one when nesting multiple groups.

## Nesting example

Place a `.btn-group` within another `.btn-group` when you want dropdown menus mixed with a series of buttons.

## Vertical variation

Make a set of buttons appear vertically stacked rather than horizontally using class `.btn-group-vertical`. Split button dropdowns are not supported here.

## Checkbox and Radio buttons

`.button` styles can be applied to other elements, such as ``s, to provide checkbox or radio style button toggling. Add `data-toggle="buttons"` to a `.btn-group` containing those modified buttons to enable their toggling behavior via JavaScript and add `.btn-group-toggle` to style the `input`s within your buttons. Note that you can create single input-powered buttons or groups of them.
The checked state for these buttons is only updated via `click` event on the button. If you use another method to update the input—e.g., with `input type="reset"` or by manually applying the input’s `checked` property—you’ll need to toggle `.active` on the `label` manually.

##### Checkbox

Checkbox 1 Checkbox 2 Checkbox 3

##### Radio

Radio 1 Radio 2 Radio 3

## Toolbar example

Combine sets of button groups into button toolbars for more complex components. Use utility classes as needed to space out groups, buttons, and more.

#### Hi Sunny,

how can I help you today?
Analyze my data

Create a new report

Summarize my Calendar

App Builder
Unlock limitless design potential with 16+ layout combinations and extensive customization options—tailor your dashboard to fit your exact needs.
Header position fixed
Navigation full height
Navigation position fixed
Navigation collapsed
Navigation Minified
Dark Navigation
Colorblind Mode
High Contrast Mode