A two-state button that can be on or off.
Made by imskyleenInstallation
Usage
API Reference
Toggle
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.
ToggleHighlight
| Prop | Type | Default |
|---|---|---|
...props? | HTMLMotionProps<"div"> | - |
ToggleItem
| Prop | Type | Default |
|---|---|---|
...props? | HTMLMotionProps<"div"> | - |