Atelier UI

Search components…

Search components…

Password Input

Password field with show / hide toggle, strength meter and rules checklist.

Edit in sandbox

Copy a prompt for your AI coding tool with the source, dependencies and usage

Props

PasswordInputProps

Also accepts all props of Omit<React.ComponentProps<"input">, "type">

PropTypeDefaultDescription
labelstring"Password"—
rulesPasswordRule[]defaultPasswordRules—
showStrengthbooleantrueStrength bar under the field
showRulesbooleantrueChecklist of the rules

Install

$ npx shadcn@latest add https://chromotion.dev/r/password-input.json

The CLI installs the base component; your customizations live in the code generated on the Customize tab.

More like this