Loading...
Installation
Install the following dependencies:
Copy and paste the following code into your project.
Loading...
Update the import paths to match your project setup.
Composition
ButtonGroup ├── ButtonGroupText (optional) ├── Button └── ButtonGroupSeparator (optional)
Examples
Default
Loading...
Nested
Loading...
Split Button
Loading...
Vertical
Loading...
With Dropdown Menu
Loading...
With Input
Loading...
API Reference
ButtonGroup
| Prop | Type | Default |
|---|---|---|
orientation | "horizontal" | "vertical" | "horizontal" |
Utilities and Supporting Types
| Export | API |
|---|---|
buttonGroupVariants | Style recipe used to reuse the component variants. |
Angular
React
Solid
Svelte
Vue