ButtonGroup
Groups multiple related buttons together as a cohesive unit with connected borders and shared styling.
Install Dependencies
npx quickcode-ui add ButtonGroupDefault Usage
Basic Usage
Single Selection
Single Selection
Vertical Orientation
Vertical
Props
| Prop | Type | Default | Description |
|---|---|---|---|
orientation | "horizontal" | "vertical" | "horizontal" | Direction buttons are arranged in the group. |
className | string | undefined | Additional CSS classes for custom styling. |
children | React.ReactNode | — | Button components to group together. |
Last updated on