A new component for building multi-step question flows with fixed, freeform, multiple, and skippable answers.
Today, we're releasing Questionnaire,
a new component for multi-step question flows. Use it for agent clarification
prompts, onboarding, surveys, intake forms, and configuration.
Questionnaire is available for Base UI, React Aria, and Radix across all eight
styles.
Features
Single and multiple selection with native radios and checkboxes.
Freeform answers alongside fixed choices.
Explicit skipping for optional questions.
Previous, next, submit, and custom progress controls.
Required and custom validation.
Controlled navigation, saved defaults, and conditional questions.
Keyboard navigation with optional letter or number shortcuts.
Native form serialization and server-rendered collection state.
Standalone, Card, and Dialog composition.
Installation
@shadcn/react
The <Questionnaire /> component is also available as an unstyled headless primitive in @shadcn/react. Read the docs to learn more.