Examples
Live previews. Click a title for details and code.
All examples
Show / hide
show-hideStrength meter
strength-meter15 characters or more
Confirm password
confirmRepeat the password.
React Hook Form binding
form-bindingReact Hook Form + Zod
react-hook-form-zodServer Action
server-actionPersonal info
forbiddenTry vira-1990-2024, then viral-garden-path
Leaked passwords
pwnedSign-up with Mask
mask-signupBasic
basicCustom icons
custom-iconsCustom text
custom-textDisabled / readOnly
disabledThe toggle is locked while the field is disabled.
Prop merge
prop-mergeToggled 0 times
Programmatic
programmaticStatus: hidden