Reveal Password
A password field that reveals the hidden characters using a 3D flip transition.
4485 7516
xxxx xxxx
1996 2057
Installation
1
Run the following Command
>_npx shadcn@latest add https://minimal-ui-eta.vercel.app/r/reveal-password.jsonProps
| Prop | Type | Default | Description |
|---|---|---|---|
| prefix | string | "4485 " | The text before the masked segment. |
| secret | string | "1996 2057" | The sensitive text that is masked and can be revealed. |
| suffix | string | " 7516" | The text after the masked segment. |
| mask | string | "xxxx xxxx" | The placeholder string used when the text is hidden. |
| valueToCopy | string | "4485 1996 2057 7516" | The exact value copied to the clipboard when clicked. |