Founding price: $35, then $99 after 23:59 UTC on 4 November, then $99
Get ProBuild the answer options of a question: at least two, an optional "Other" option kept last, duplicate labels flagged, and a preview of the question as a respondent sees it. Use this when authors create choice questions.
This item has no props to tune. Use the lens above to change theme, density, direction and more.
People create multiple-choice questions and need guard rails: no duplicates, enough options, an "Other" that stays at the end.
Do not use it when: For a full survey editor with logic and pages, build on top of this; it covers one question.
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 |
|---|---|---|
initial | string[] | Starting options. |
onChange | ({ options, allowOther }) => void | After every edit. |
The pattern ships with a Testing Library test (survey-options-builder.test.tsx) that covers: its main behaviour, the keyboard path and the error or empty states.