Switch
A control that allows the user to toggle between checked and not checked.
Installation
pnpm dlx shadcn@latest add switchUsage
import { Label } from "@/components/ui/label";
import { Switch } from "@/components/ui/switch";A control that allows the user to toggle between checked and not checked.