Founding price: $35, then $99 after 23:59 UTC on 4 November, then $99
Get ProA client ID and a secret shown read-only: the secret is masked until revealed, copyable, and regenerating it asks for confirmation, shows the new secret once with a warning, and then masks it again. Use this when a secret must be shown to its owner exactly when needed.
Derived from this item’s props table, because it declares no controls of its own. This item has no standalone playground, so changes update the code, the share link and the AI prompt.
Developers manage API keys or webhook secrets and you want them hidden by default, easy to copy and safe to rotate.
Do not use it when: Secrets that the server can never show again (shown once at creation) should not offer Reveal; show them in the creation flow only.
This item is part of tealmac UI Pro
The source for this item installs with a Pro licence key. Log in with your key to see the install command, or read the Pro setup page.
| Prop | Type | Description |
|---|---|---|
clientId, initialSecret | string | The values to show. |
regenerate | () => Promise<string> | Create a new secret on the server and return it. |
aria-pressed and a name that says the next action. Copy works without revealing it and confirms with a changed label.alertdialog that says what stops working; its cancel button is the default focus. The new secret is shown with a status message that explains it will not be shown again.The pattern ships with a Testing Library test (api-credentials-secret-reveal.test.tsx) that covers: its main behaviour, the keyboard path and the error or empty states.