Installation
Usage
Component Code
Examples
- Basic
- Vertical
- With Separator
- With Text
A basic button group with multiple buttons.
Composition
Button groups work with any button variant and can be combined with other components like inputs and selects.API Reference
ButtonGroup
| Prop | Type | Default |
|---|---|---|
orientation | "horizontal" | "vertical" | "horizontal" |
className | string | - |
ButtonGroupText
| Prop | Type | Default |
|---|---|---|
asChild | boolean | false |
className | string | - |
ButtonGroupSeparator
| Prop | Type | Default |
|---|---|---|
orientation | "horizontal" | "vertical" | "vertical" |
className | string | - |