Switch
A control that indicates whether a setting is on or off.

- Library
- coss ui
- Framework
- React
- Type
- ui
- License
- MIT
- Dependencies
- @base-ui/react
- Install
npx shadcn@latest add @coss/switch- Files
apps/ui/registry/default/ui/switch.tsxapps/ui/registry/default/lib/utils.ts
- Source
- https://github.com/cosscom/ui
Categories
- Input Components
- React Input Components
- Tailwind CSS Input Components
- Switch Components
- React Switch Components
- Tailwind CSS Switch Components