Switch
A control that allows the user to toggle between checked and not checked.

- Library
- D2Studio UI
- Framework
- React
- Type
- ui
- License
- MIT
- Dependencies
- radix-ui
- Install
npx shadcn@latest add https://d2studio.dev/r/switch.json- Files
registry/default/ui/switch.tsxlib/utils.ts
- Source
- https://github.com/rajaaltus/d2studio-ui
Categories
- Input Components
- React Input Components
- Tailwind CSS Input Components
- Switch Components
- React Switch Components
- Tailwind CSS Switch Components