Founding price: $35, then $99 after 23:59 UTC on 4 November, then $99
Get ProA feedback dialog with a five-point scale named in words, a comment that becomes required for low ratings and a thank-you that replaces the form so it cannot be sent twice.
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 satisfaction prompts after support chats, onboarding and purchases.
Do not ask on every visit, and do not use it for NPS with a 0 to 10 scale: that needs its own labels at both ends.
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 |
|---|---|---|---|
children | ReactNode | - | The trigger. |
onSubmit | ({ rating, comment }) => void | Promise<void> | - | Called once with a rating from 1 to 5 and the trimmed comment. |
role="alert".| Key | Action |
|---|---|
| Arrow keys | choose a rating |
| Enter | sends |
| Escape | closes |
The pattern ships a Testing Library test (dialog-feedback-form.test.tsx) that covers named ratings, the required rating, the required comment for low ratings, the thank-you and reset.