Switch

On/off toggle built on Radix.

shadcn/ui · new-york-v4 · synced Aug 28, 2026shadcn/uinew-york-v4 · synced Aug 28, 2026

Installation

import { Switch } from "@aspyn-io/kit";

With label

Settings row pattern

Require a code on every sign-in.

Disabled

Choice card

A bordered settings card pairing a title and description with the switch.

Notes

  • Use Switch for settings that apply immediately; use Checkbox inside forms that submit.