Usage
Size
Square
For icon-only items, use the square prop to give each option equal width and
height.
Disabled
Props
| Prop | Type | Default | Description |
|---|---|---|---|
items* | ButtonSetItem[] | - | Array of button items to display |
size | 'sm' | 'md' | 'lg' | 'md' | Size of the button set |
square | boolean | false | Makes each item square (equal width/height) |
ButtonSetItem
| Prop | Type | Default | Description |
|---|---|---|---|
children* | ReactNode | - | Content of the button |
isSelected | boolean | false | Whether the button is selected |
onClick | () => void | - | Click handler for the button |
disabled | boolean | false | Whether the button is disabled |