An accessible password hook for React: show/hide, NIST-style strength, password confirmation and the same rules on the server. Headless, so it fits your existing form components.
15–64 characters · /strength
Looks at length instead of forcing capitals and symbols, and catches common passwords, repeats and personal info.
/pwned
Checked against known breaches through Have I Been Pwned. Only the first 5 characters of the password’s hash are sent, and a failed check never blocks the user.
ARIA · password managers
Screen reader labels, focus that returns to the input and the Caps Lock state come ready. The password hides on submit and works with password managers.
/server
The same password rules run in the form and in the Server Action; you don’t rewrite them on the server, so the two never drift apart.
~2 KB · Zero dependencies
Only props, so the look is entirely yours. The hook is about 2 KB min+brotli with no dependencies; the strength check only joins your bundle when you use it.
password.tooShort · password.mismatch
Errors come back as keys rather than ready-made messages. You show the text in any language with your own translation setup.