Password input
This component allows users to enter a password, with an option to show what they’ve entered as plain text.
Use this component whenever you need users to create or enter a password.
A default password input
A password input with a custom label, caption and hint
The password input’s title, caption and hint can be customised in the usual way.
Password input with custom text
The component’s text can be customised or localised by providing the following arguments:
-
show_password_text
andhide_password_text
set the text on the button -
show_password_aria_label_text
andhide_password_aria_label_text
control the text exposed to assistive technologies like screen readers -
password_shown_announcement_text
andpassword_hidden_announcement_text
control announcements made to screen reader users when the button is clicked