Password Input
Fundamental component for password inputs.
import { PasswordInput } from "@ngrok/mantle/input";
API Reference
The PasswordInput
accepts the following props in addition to the standard HTML input attributes.
Prop | Type | Default | Description |
---|---|---|---|
maskHiddenValue | boolean | false | Mask the true length of the password input with a fixed width when the value is hidden and the input is not focused. |
onValueVisibilityChange |
| — | Callback for when the visibility of the password value changes. |
showValue | boolean | false | Show/hide the password value as a controlled state |
validation |
| — | Use the The Setting |