Provides a shared state to a series of toggle buttons.
Made by imskyleenInstallation
Usage
Single
Multiple
API Reference
ToggleGroup
Base UI API Reference - ToggleGroupToggle
Base UI API Reference - Toggle| Prop | Type | Default |
|---|---|---|
...props? | HTMLMotionProps<"button"> | - |
The render property is not supported in the Toggle component, as it is
used for animation.
ToggleGroupHighlight
Animate UI API Reference - Highlight| Prop | Type | Default |
|---|---|---|
transition? | Transition | { type: "spring", stiffness: 200, damping: 25 } |
ToggleHighlight
Animate UI API Reference - HighlightItem| Prop | Type | Default |
|---|---|---|
...props? | HTMLMotionProps<"div"> | - |