Components
Toggle Group
A set of two-state buttons that can be toggled on or off..
Loading
Installation
pnpm dlx shadcn@latest add @toui/toggle-group
Examples
Single
Loading
Outline
Loading
Size
Loading
Pattern
Tokens
3 CSS variables in 1 categories.
gap
| CSS Variable | Value | Description |
|---|---|---|
--toggle-group-gap-sm | 0.125rem | 2px |
--toggle-group-gap-md | 0.25rem | 4px |
--toggle-group-gap-lg | 0.25rem | — |
Credits
- Built with Radix UI.