Dev Design Library

Password Strength

A password input with an animated four-segment strength meter, crossfading strength label, requirements checklist with drawing check marks, and a visibility toggle.

Password Strength preview
Library
Spectrum UI
Framework
React
Type
component
License
Apache-2.0
Dependencies
framer-motion, lucide-react
Install
npx shadcn@latest add @spectrumui/password-strength
Files
  • app/registry/password-strength/password-strength.tsx
  • lib/utils.ts
Source
https://github.com/arihantcodes/spectrum-ui

Categories

More from Spectrum UI