Conditional Quiz — Quizzes That Adapt to Every Answer

A conditional quiz feels personal because it responds to the user's answers. quiz-ui makes this easy: define branch rules on any step, and the engine routes the user to the most relevant follow-up question. No answer is wasted — every choice can change the path.

Last updated: 2026-09-25

Frequently asked questions

  • Can a quiz branch more than once?

    Yes. Every step can have its own branch rules. A funnel can branch, converge, and branch again as needed.

  • What types of conditions are supported?

    The engine supports equals (exact value match) and includes (substring or array membership). For more complex logic, handle it in onComplete.

  • Can I see an example?

    The quiz-ui home page has a live branching funnel demo: pick 'Build strength' vs 'Improve cardio' and watch it route differently.