Quiz Builder Component Library — Reusable Quiz Components

quiz-ui is a focused component library for quiz building. Instead of a giant UI kit, you get exactly the pieces a quiz funnel needs: a root provider, a step renderer, answer components for every common question type, a progress bar, navigation buttons, transitions, and a result screen. Install only what you use.

Last updated: 2026-09-25

Frequently asked questions

  • What components are in the library?

    QuizRoot, QuizStep, QuizProgress, QuizNavigation, QuizTransition, QuizChoiceGroup, QuizImageChoice, QuizSlider, QuizRating, QuizTextInput, QuizEmailInput, QuizResult, and QuizDialog.

  • Can I install individual components?

    Yes. Each component installs independently via the shadcn CLI. Install only the question types your funnel actually uses.

  • How big is each component?

    Most components are under 100 lines of TypeScript. The engine (core) is about 160 lines — small enough to read in one sitting.