Founding price: $35, then $99 after 23:59 UTC on 4 November, then $99
Get ProA confirmation for network actions where failure keeps the dialog open, announces the attempt number, offers Try again and points to support after the maximum.
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 for actions where the server can say no or the network can drop: sending an invoice, inviting people, submitting a payment. The person never loses their place or has to start over.
Do not retry automatically behind their back for non-idempotent actions. Do not use it for client-only actions that cannot fail.
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 |
|---|---|---|---|
onConfirm | () => Promise<void> | - | The action. A rejection keeps the dialog open. |
maxAttempts | number | 3 | Failures before retries are no longer offered. |
children | ReactNode | - | The trigger. |
title, description | ReactNode | - | Dialog text. |
actionLabel | string | Confirm | Label of the first attempt. |
role="alert" message with the attempt number and the error text.maxAttempts failures the retry button is removed and the message tells the person to contact support.| Key | Action |
|---|---|
| Enter or Space on Try again | retries |
| Escape | cancels (not while working) |
The pattern ships a Testing Library test (confirm-retry-on-failure.test.tsx) that covers the failure message, retrying to success, the attempt limit and the locked pending state.