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.

Source on GitHub

Sign in
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
Code

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.

PropertyAttributeTypeDefaultDescription
visiblevisible reflectsbooleanThe password is shown as text.
showLabelshow-labelstringShow password (text password-input.show)Accessible name of the toggle while hidden.
hideLabelhide-labelstringHide password (text password-input.hide)Accessible name of the toggle while shown.
EventDescription
ray-visibility-changeThe user showed or hid the password.
PartDescription
toggleThe show/hide button.

Texts

What it writes itself, in English; setStrings() translates them (Getting started: Languages).

KeyEnglish
password-input.showShow password
password-input.hideHide password