Primitives
Toggle
A toggle button that switches between active and inactive states, useful for toolbar actions.
Preview:1280px
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| checked | boolean | false | Controlled checked state. |
| onChange | (checked: boolean) => void | - | Fired when the toggle state changes. |
| label | string | - | Label text beside the toggle. |
| description | string | - | Helper text below the label. |
| disabled | boolean | false | Prevents interaction. |