# Button Group
[component-header:sl-button-group]
Button groups can be used to group related buttons into sections.
```html preview
Left
Center
Right
```
## Examples
### Button Sizes
All button sizes are supported, but avoid mixing sizes within the same button group.
```html preview
Left
Center
Right
Left
Center
Right
Left
Center
Right
```
### Theme Buttons
Theme buttons are supported through the button's `type` attribute. Types can be mixed as needed.
```html preview
Left
Center
Right
Left
Center
Right
Create
Edit
Destroy
```
### Pill Buttons
Pill buttons are supported through the button's `pill` attribute.
```html preview
Left
Center
Right
Left
Center
Right
Left
Center
Right
```
### Dropdowns in Button Groups
Dropdowns can be placed inside button groups as long as the trigger is a `` element.
```html preview
Button
Button
Dropdown
Item 1
Item 2
Item 3
```
### Tooltips in Button Groups
Buttons can be wrapped in tooltips to provide more detail when the user interacts with them.
```html preview
Left
Center
Right
```
### Toolbar Example
Create interactive toolbars with button groups.
```html preview
```
[component-metadata:sl-button-group]