Dev Design Library

Switch

On and off switch with a quick slide and no bounce. Inside a label, the whole row is the tap target.

Switch preview
Library
EaseUI
Framework
React
Type
component
License
MIT
Install
npx shadcn@latest add @easeui/switch
Files
  • components/motion/switch.tsx
  • lib/utils.ts
Source
https://github.com/rjcuff/easeui

Categories

More from EaseUI