A control that allows the user to toggle between a checked and not checked state.
Sizes
Interactive preview with light/dark mode toggle. Switch to Code tab to view the full source.
npx shadcn@latest add https://registry.mukoko.com/api/v1/ui/switchFetch this component's metadata and source code from the registry API.
/api/v1/ui/switchcomponents/ui/switch.tsx