PasswordInput
Password field with show/hide toggle and optional strength indicator.
Installation
Examples
With toggle
Click the eye icon to reveal the password.
With strength meter
Visual indicator of password strength.
Strong
API Reference
| Prop | Type | Default | Description |
|---|---|---|---|
| value | string | — | Controlled value. |
| onChange | (e: ChangeEvent) => void | — | Change handler. |
| invalid | boolean | false | Error state. |
| showStrength | boolean | false | Shows a password strength bar. |
| size | 'sm'|'md'|'lg' | 'md' | Controls height. |