Base Switch
An accessible, highly customizable switch built on Base UI with Motion spring layout physics.

- Library
- Sora UI
- Framework
- React
- Type
- ui
- License
- MIT + Commons Clause (partes)
- Dependencies
- @base-ui/react, class-variance-authority, motion
- Files
apps/www/registry/ui/base/switch/index.tsxapps/www/registry/hooks/use-controlled-state/index.tsxpackages/ui/src/hooks/use-controlled-state.tspackages/ui/src/lib/utils.ts
- Source
- https://github.com/SoraLabsOSS/ui
Categories
- Input Components
- React Input Components
- Tailwind CSS Input Components
- Animated Input Components
- Switch Components
- React Switch Components
- Tailwind CSS Switch Components
- Animated Switch Components