Skip to content

Password Field

A password input with a show / hide toggle that keeps typing and focus where people expect them.

Styled with CSS Tailwind

Show / hide

The toggle is named "Show password" / "Hide password" and controls the input. Toggled with a pointer the focus goes back to the input so typing carries on; toggled from the keyboard it stays on the toggle. The input is a BitBhInput - @bind-Value, validation and the field's label all work - with autocomplete="current-password" and no spell-checking.

An unhandled error has occurred. Reload 🗙