Components
/
Switch
Switch
A control that allows the user to toggle between checked and not checked.
Preview
Installation
npx shadcn@latest add https://ui.saturation.io/r/switch.jsonUsage
import { Switch } from "@/components/ui/switch"
<Switch />Examples
Sizes
Disabled
API Reference
Switch
Extends Radix UI Switch primitive with size variants and animated stretching effect.
size - "sm" | "default" | "lg"On This Page
Deploy your Saturation UI app
Build beautiful, saturated interfaces with our component library.
Deploy to Vercel for the best performance and developer experience.