@zedtech/zedkit-ui
Display a shown-once secret with copy
@zedtech/zedkit-ui — beta
beta
At a glance
- Who: Developers displaying API keys and tokens shown only once.
- What: A masked secret field with reveal and copy controls.
- Use when: Right after creating a credential the user must store.
- Avoid when: For passwords the user typed — use a password Input instead.
- See also: Collect text input with a label
Preview
Install
pnpm add @zedtech/zedkit-uiLatest: 0.3.0 (via changesets).
Example
import { Label, SecretField } from "@zedtech/zedkit-ui";
<Label htmlFor="key">API key (shown once)</Label>
<SecretField id="key" value={key} />Wraps: lucide-react
Props
Prop
Type