Loading...
A button that toggles between on and off states.
Can be controlled or uncontrolled
Multiple variants and sizes
Full keyboard navigation
Respects reduce motion
Built with:
Prop | Type | Default |
---|---|---|
size | enum | "default" |
variant | enum | "default" |
reduceMotion | boolean | false |
Support all Radix API
<Toggle />
Root