Launch sale — 60% off Pro
Contact
Input GroupButtons

Not affiliated with official shadcn/ui. Visit ui.shadcn.com for official docs.

React Input Group - Password Actions

A React password input with visibility toggle and generate buttons using Eye icons and RefreshCw built with shadcn/ui InputGroup components

Looking to implement shadcn/ui patterns?

Join our Discord community for help from other developers.


Users hate retyping passwords when they mistype one character. This React password input adds visibility toggle with EyeIcon and EyeOffIcon switching between password and text types plus RefreshCwIcon for password generation. Built with shadcn/ui InputGroup with separate InputGroupAddon components and ghost variant buttons, it's perfect for registration forms, password creation flows, account settings, or any password field where users need to verify input or generate secure passwords without leaving the field.

Pattern created by @haydenbleasel

Installation

Questions you might have