Components/Secret Input

Secret InputNew

Masked input with reveal, copy and optional auto-hide, for API keys, tokens and sensitive fields.

Hides itself after 10 seconds.

Masked with a custom character.

Installation

$npx shadcn@latest add @opendraft/secret-input

Needs the @opendraft registry in your components.json. See Installation.

Dependencies

Source

The files the install command adds to your project. They're yours to edit.