Components/PasswordInput

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

PropTypeDefaultDescription
valuestringControlled value.
onChange(e: ChangeEvent) => voidChange handler.
invalidbooleanfalseError state.
showStrengthbooleanfalseShows a password strength bar.
size'sm'|'md'|'lg''md'Controls height.