Toggle
A form component implementing basic binary choice selections on individual custom button frames.
For more information on this component configuration, visit Radix UI
Disabled
Use the disabled attr or the disabled class to disable an item component.
API
For more information on this component configuration, visit Radix UI
Toggle
| Element | Selector |
|---|---|
Toggle | .ex-toggle |
| Prop | Type | Default |
|---|---|---|
as | ElementType | div |
asChild | boolean | false |
defaultPressed | boolean | false |
disabled | boolean | false |
pressed | boolean | false |
onPressedChange | function |
Last updated on