Headless, Radix-based components for building quiz funnels — shadcn-style distribution, style entirely via className.
Single- and multi-select answer cards, on Radix RadioGroup/Checkbox.
Modal-embedded funnel wrapper, on Radix Dialog.
Email capture input with basic format validation.
Headless quiz engine: state machine, branching resolution, and the useQuizEngine/useQuizStep/useQuizAnswers hooks. Installed automatically as a dependency of every component below.
Visual/image-based single-select answer grid.
Back/Next controls; Next disables automatically until the step is answered.
Progress bar with a 'Step N of M' label, on Radix Progress.
Star or numeric rating scale, on Radix ToggleGroup.
Renders its children only once the funnel is complete.
Top-level funnel wrapper; owns the engine via QuizProvider.
Single-thumb range input for numeric answers.
Renders the active step's question heading and answer input.
Free-text answer input.
Fade/slide transition wrapper for step changes. Requires a Tailwind keyframe — see the component's JSDoc.
className composition helper (clsx + tailwind-merge) used by every quiz-ui component.