Founding price: $35, then $99 after 23:59 UTC on 4 November, then $99
Get ProA dialog with an email and a role that checks the address, shows a server refusal (already a member) inside the dialog, asks before discarding typed input and confirms with a status after closing. Use this when a single action needs two or three fields and a clear result.
This item has no props to tune. Use the lens above to change theme, density, direction and more.
The standard "invite someone" flow: a button opens a dialog, a form with an email and a role, and the result is visible afterwards.
Do not use it when: For inviting many people at once use the team invite rows; for a single email without a role use an inline form.
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 |
|---|---|---|
invite | (email, role) => Promise<void> | Send the invite. Throw an Error with a readable message to refuse; it is shown in the dialog. |
alertdialog) when there is typed input.aria-invalid and aria-describedby; a server refusal is the dialog's alert message.The pattern ships with a Testing Library test (invite-member-dialog.test.tsx) that covers: its main behaviour, the keyboard path and the error or empty states.