

Every state


default


answered-no


answered-yes


sent


focus
Props
| Prop | Type | Default | What it does |
|---|---|---|---|
| question | string | – | The question |
| yesLabel | string | – | Yes button |
| noLabel | string | – | No button |
| yesFollowUp | string | – | Follow-up label after Yes |
| noFollowUp | string | – | Follow-up label after No |
| placeholder | string | – | Follow-up placeholder |
| optionalLabel | string | – | Marks the follow-up optional |
| sendLabel | string | – | Submit button |
| thanks | string | – | The thank-you line |
| action | string | – | Where the form posts when there is no onSubmit |
| method | "post" | "get" | – | Form method |
| name | string | – | Form name and the vote field's name |
| page | string | – | Sent as a hidden page field |
| maxLength | number | – | Follow-up length limit |
| status | "idle" | "sent" | – | "sent" draws the thank-you state |
| onSubmit | (value) => void | Promise<void> | – | Handle the answer in JS instead of posting |
Used in
A block built with feedback-widget-01; installing one installs it too
More feedback widgets
All 4feedback-widget-01 is in UI ProGet UI Pro, €199



