A two-state button that can be either on or off.
Variants
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/toggleFetch this component's metadata and source code from the registry API.
/api/v1/ui/togglecomponents/ui/toggle.tsx