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