- Accordion
- Alert Dialog
- Avatar
- Badge
- Banner
- BreadcrumbSOON
- Button
- Button Group
- Calendar
- Callout
- Card
- Checkbox
- CodeblockSOON
- Color Picker
- Container
- Control Group
- Dialog
- Dropdown
- File Uploader
- FlexBox
- FormSOON
- Grid View
- IconSOON
- ImageSOON
- Input
- Link
- List
- MenuSOON
- PaginationSOON
- Popover
- Progress
- Radio
- Section
- Select
- Separator
- Skeleton
- SliderSOON
- SpinnerSOON
- Switch
- Table
- Tabs
- Tag
- Textarea
- ToastSOON
- Tooltip
Button Group
Say hello to our Button Group, your one-stop-shop for related actions. They love to hang out together, making your life easier.Example
API Reference
Component | Description |
---|---|
ButtonGroup | The tactical squad. A cohesive assembly of buttons with related functions, neatly grouped together for a more organized and intuitive user interface. |
ToggleGroup | The choice hub. A set of toggle buttons grouped together, allowing users to make single or multiple selections in a visually connected cluster. |
Component Properties
ButtonGroup
Prop | Type | Default | Explanation |
---|---|---|---|
size | string | md | The size of the whole Button Group |
variant | string | default | The variant of the Buttons inside the group. The values are the same as the Button component. |
color | string | primary | The color of the Buttons inside the group. The values are the same as the Button component. |
block | boolean | false | Make the ButtonGroup and the Button children as block elements, filling the width of its parent. |
ToggleGroup
Prop | Type | Default | Explanation |
---|---|---|---|
size | string | md | The size of the whole Button Group |
variant | string | default | The variant of the Buttons inside the group. The values are the same as the Button component. |
color | string | primary | The color of the Buttons inside the group. The values are the same as the Button component. |
select | string | single | The selection type of the ToggleGroup. The values are either 'single' or 'multiple'. |
defaultValue | string | string[] | - | The default value of the ToggleGroup. The values are either a string or an array of strings. |
value | string | string[] | - | Same as |