Button group
Related buttons joined into a single control.
API reference
A container that visually joins adjacent buttons, with optional separators and text segments.
Anatomy
ButtonGroup | Container merging child buttons' borders and radii. |
ButtonGroupSeparator | Divider line between grouped buttons. |
ButtonGroupText | Non-interactive labelled segment styled like a muted button. |
Props
| Part | Prop | Type | Default | Description |
|---|---|---|---|---|
ButtonGroup | orientation | "horizontal" | "vertical" | "horizontal" | Layout direction: horizontal or vertical. |