# Switch

> A control that allows the user to toggle between on and off.

Source: https://ui.cortexcn.dev/docs/components/switch

## Installation

```bash
npx shadcn@latest add @cortexcn/switch
```

## Usage

```tsx
import { Switch } from "@/components/switch";
```

## Examples

### Basic

### With description

### With label

### Disabled

### Sizes

Adapted from the [shadcn/ui Switch](https://ui.shadcn.com/docs/components/radix/switch) (MIT).