Components
← All components

Password Reveal

stimeo--password-reveal

Shows and hides a password without moving the caret.

  • Core

Switches a password field between hidden and visible. The button keeps the same name throughout, and which state it is in is conveyed as a pressed state instead, so anyone relying on the announcement is not confused by a name that changes underneath them. When the field had focus, focus and the caret come back exactly where they were. It can re-hide itself after a while. You supply the icon.

running

Keyboard

KeyAction
Enter / Space Toggle masked / visible (native button).