A set of two-state buttons that can be toggled on or off.
Made by imskyleenInstallation
Usage
Single
Multiple
API Reference
ToggleGroup
Radix UI API Reference - ToggleGroup.RootToggleGroupItem
Radix UI API Reference - ToggleGroup.Item| Prop | Type | Default |
|---|---|---|
...props? | HTMLMotionProps<"button"> | - |
The asChild property is not supported in the ToggleGroupItem component, as
it is used for animation.
ToggleGroupHighlight
Animate UI API Reference - Highlight| Prop | Type | Default |
|---|---|---|
transition? | Transition | { type: "spring", stiffness: 200, damping: 25 } |
ToggleGroupHighlightItem
Animate UI API Reference - HighlightItem| Prop | Type | Default |
|---|---|---|
...props? | HTMLMotionProps<"div"> | - |