shadcn password input with a show and hide toggle

shadcn/ui has no Password component, so you build one from its Input Group: the input, a ghost button with an eye icon, and one line of state. The free file below is the whole thing, and it's all most apps need. If the field sits on a login page you want people to remember, Shy Eyes Login wires the same toggle to a mascot who covers his eyes while you type and peeks when you press show.

Shy Eyes Login, preview
One payment$3

By buying you agree to the Terms.

Ready forCursorv0Lovableshadcn CLI

Full product pageReact · Tailwind · TypeScript