Button Group
A container that groups related buttons together with consistent styling.
Default
Grouped actions with a nested overflow menu.
Installation
CLI
Also needs
npx @sonojs/ui@latest add separatorUsage
button-group.tsx
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| orientation | "horizontal" · "vertical" | "horizontal" | Layout direction of the group. |
| asChild | boolean | false | On ButtonGroupText — render as the child element. |