Toggle
A two-state button that can be either on or off.

- Library
- D2Studio UI
- Framework
- React
- Type
- ui
- License
- MIT
- Dependencies
- radix-ui
- Install
npx shadcn@latest add https://d2studio.dev/r/toggle.json- Files
registry/default/ui/toggle.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