Password API
API documentation for Password component
PasswordRoot#
Props#
State#
Exposes#
Events#
Interfaces#
Types#
PasswordInput#
Props#
Exposes#
Interfaces#
Types#
PasswordStrength#
Props#
Exposes#
Interfaces#
Types#
PasswordMeter#
Props#
Exposes#
Interfaces#
Types#
PasswordPortal#
Props#
Exposes#
Interfaces#
Types#
PasswordClearIcon#
Props#
Exposes#
Interfaces#
Types#
usePassword#
Props#
Props for the usePassword hook.
State#
Defines valid state in usePassword.
| name | type | default | description |
|---|---|---|---|
| value | string | null | Current password value. |
| mask | boolean | null | Whether the password is masked. |
Exposes#
Defines the methods and properties exposed by usePassword.
Events#
usePasswordValueChangeEvent
Event object for value change callback.
usePasswordMaskChangeEvent
Event object for mask change callback.
Types#
Instance
Instance of usePassword headless.
| values |
|---|
| HeadlessInstance<usePasswordProps, usePasswordState, usePasswordExposes> |