Dev Design Library

Eye Toggle

The eye shuts when your password is hidden and watches while you type.

Eye Toggle preview
Library
UI Lab
Framework
React
Type
component
License
MIT
Install
npx shadcn@latest add https://lab.xevrion.dev/r/eye-toggle.json
Files
  • src/lab/components/eye-toggle.tsx
  • src/lib/use-reduced-motion.ts
  • src/lib/cn.ts
  • src/lab/preview-play.ts
Source
https://github.com/xevrion/ui-lab

Categories

More from UI Lab