Founding price: $35, then $99 after 23:59 UTC on 4 November, then $99
Get ProA password re-entry dialog in front of a sensitive action; a wrong password shows an error, clears the field and returns focus to it.
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.
Use this before account-level changes: new email, payout details, API key creation, deleting the account. Requiring the password again limits damage from an unattended session.
Do not use it for ordinary actions or as the only protection for payments. It calls your verify function: the password check itself must be done on the server.
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 | Default | Description |
|---|---|---|---|
verify | (password: string) => Promise<boolean> | - | Resolve true when the password is right, false when it is wrong. A rejection shows the "could not check" message. |
onConfirm | () => void | - | Runs after verification. |
children | ReactNode | - | The trigger. |
title, description | ReactNode | - | Dialog text. |
type="password" input with autocomplete="current-password".role="alert" message, sets aria-invalid, clears the field and refocuses it; a network failure gets a different message.| Key | Action |
|---|---|
| Enter | submits |
| Escape | cancels |
The pattern ships a Testing Library test (confirm-reauthenticate.test.tsx) that covers the disabled button, verifying with Enter, wrong and failed checks, refocusing and resetting on cancel.