Toggle Group
A set of toggles where one or many can be on.
components/ui/toggle-group.tsx
Preview
Code
Installation
npx betterone-ds add toggle-groupProps
| Prop | Type | Default |
|---|---|---|
| selectionMode | "single" | "multiple" | "single" |
| variant | "default" | "outline" | "default" |
| orientation | "horizontal" | "vertical" | "horizontal" |
Accessibility
- Arrow keys move focus within the group.

