Forms
Switch
A control that allows the user to toggle between checked and unchecked states with high-fidelity spring animations.
NotificationsEnable push alerts for new messages.
Small
Medium
Large
Props
| Prop | Type | Default |
|---|---|---|
checked | boolean | — |
onCheckedChange | (v: boolean) => void | — |
size | 'sm' | 'md' | 'lg' | 'md' |
disabled | boolean | false |
