Toggle Group
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.ItemProp | 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 - HighlightProp | Type | Default |
---|---|---|
transition? | Transition | { type: "spring", stiffness: 200, damping: 25 } |
ToggleGroupHighlightItem
Animate UI API Reference - HighlightItemProp | Type | Default |
---|---|---|
...props? | HTMLMotionProps<"div"> | - |