---
title: "Switch"
description: "A control that allows the user to toggle between checked and not checked."
component: true
---
## Usage
---
```tsx
import { Switch } from "@medusajs/ui"
```
```tsx
```
## API Reference
---
This component is based on the [Radix UI Switch](https://www.radix-ui.com/primitives/docs/components/switch) primitive.
## Examples
---
### Small
### Disabled
### Checked
### Checked Disabled