Multi Step Form Builder — Form Wizards in React

quiz-ui acts as a multi step form builder: you define the form as a list of step objects (each with a type and props), and the engine handles the user's journey through them. It tracks which steps have been visited, computes progress, and collects all answers into a single object at the end.

Last updated: 2026-09-25

Frequently asked questions

  • Can I build a form wizard with quiz-ui?

    Yes. A 'wizard' is just a multi-step form. Define your steps in order, and quiz-ui handles the forward/backward navigation.

  • How do I collect all answers?

    Use the onComplete callback on QuizRoot — it receives the full answers object. Or use QuizResult to display them in the UI.

  • Can users go back to change answers?

    Yes. QuizNavigation includes a back button. The engine tracks history and restores the previous step's state.