# Switch

An on/off setting that applies immediately.

Import from `@a31labs/rax/switch`.

## Usage

```tsx
<Switch label="Autoscaling" checked={on} onCheckedChange={setOn} />
```

## Rules

Props: `label` plus Base UI switch props. For immediate on/off settings only; forms that submit use Checkbox.

Page: https://rax.a31.at/components/switch
