# Switch > On/off toggle built on Radix. Import from `@aspyn-io/kit`. Scaffold source: `npx shadcn@latest add https://design.aspyn.io/r/switch.json` ## Install ```tsx import { Switch } from "@aspyn-io/kit"; ``` ### With label ```tsx
``` ### Settings row pattern ```tsx

Require a code on every sign-in.

``` ### Disabled ```tsx
``` ### Choice card A bordered settings card pairing a title and description with the switch. ```tsx ``` ## Notes - Use Switch for settings that apply immediately; use Checkbox inside forms that submit.