1. Home 2. Components 3. Switch # Switch A control that allows the user to toggle between checked and not checked. [Docs](https://www.radix-ui.com/primitives/docs/components/switch)[API Reference](https://www.radix-ui.com/primitives/docs/components/switch#api-reference)[shadcn/ui](https://ui.shadcn.com/docs/components/switch)## Props | Prop | Type | Default | Description | | --- | --- | --- | --- | | ...Radix props | ComponentProps | - | All Radix switch root props | ### Examples ```jsx ``` ## Usage Switch Switch checked Switch disabled Switch disabled checked ```jsx
```