Toggle
A button that stays on or off, with a fill that settles in when pressed, a clear hover-to-on step and icons that can fill with the state.

- Library
- HextaUI
- Framework
- React
- Type
- ui
- License
- MIT
- Dependencies
- @base-ui/react@^1.8.0, class-variance-authority, cn
- Install
npx shadcn@latest add https://hextaui.com/r/toggle.json- Files
components/ui/toggle.tsx
- Source
- https://github.com/preetsuthar17/hextaui
Categories
- Action Components
- React Action Components
- Tailwind CSS Action Components
- Animated Action Components
- Button Components
- React Button Components
- Tailwind CSS Button Components
- Animated Button Components
- Toggle Button Components
- React Toggle Button Components
- Tailwind CSS Toggle Button Components
- Animated Toggle Button Components