Provides a shared state to a series of toggle buttons.
Made by imskyleenInstallation
Usage
API Reference
ToggleGroup
| Prop | Type | Default |
|---|---|---|
variant? | "default" | "outline" | - |
size? | "default" | "sm" | "lg" | "icon" | - |
Toggle
| Prop | Type | Default |
|---|---|---|
variant? | "default" | "outline" | - |
size? | "default" | "sm" | "lg" | "icon" | - |
...props? | HTMLMotionProps<"button"> | - |
The render property is not supported in the Toggle component, as it is
used for animation.