Components
Button Group (Radix UI)
Groups multiple buttons together with shared borders and consistent sizing.
Loading
Installation
pnpm dlx shadcn@latest add @toui/button-group
Examples
Default (Attached)
Loading
Spaced
Vertical
With Icons
Sizes
Pattern
Tokens
API Reference
ButtonGroup
| Prop | Type | Default |
|---|---|---|
orientation | "horizontal" | "vertical" | "horizontal" |
attached | boolean | true |
Credits
- Built with Radix UI Slot.