Password input
A password field with a button that shows or hides what was typed (Mantine's PasswordInput). Everything else is ray-input: label, description, error, sizes, validation, forms.
Sign in
New password with a strength meter
10 characters or more A number A lowercase letter An uppercase letter A symbol ($, &, +…)
Variants, sizes and states
API
For AI agents: this API as Markdown, or every component in llms-full.txt.
<ray-password-input> · RayPasswordInput
autocomplete defaults to current-password: use new-password on sign-up and change forms. The toggle keeps the focus and the caret in the field.
| Property | Attribute | Type | Default | Description |
|---|---|---|---|---|
visible | visible reflects | boolean | The password is shown as text. | |
showLabel | show-label | string | Show password (text password-input.show) | Accessible name of the toggle while hidden. |
hideLabel | hide-label | string | Hide password (text password-input.hide) | Accessible name of the toggle while shown. |
| Event | Description |
|---|---|
ray-visibility-change | The user showed or hid the password. |
| Part | Description |
|---|---|
toggle | The show/hide button. |
Texts
What it writes itself, in English; setStrings() translates them (Getting started: Languages).
| Key | English |
|---|---|
password-input.show | Show password |
password-input.hide | Hide password |