Skip to Content

Questionnaire

Questionnaire example: a step-by-step survey on the @shadcn/react questionnaire primitive with progress, choices, text input, errors and previous, skip, next and submit buttons.

pnpm dlx shadcn add @01orbital/questionnaire

Questionnaire components

The library's own questionnaire components, each installed on its own.

questionnaire-card-01

questionnaire-card-01

Project Brief Questionnaire Card

Multi-step questionnaire form in a card: a project brief that asks one question at a time with a progress bar, letter shortcuts, a conditional team-size step and name validation, ending in an answer summary with Edit answers. Open its docs page

pnpm dlx shadcn add @01orbital/questionnaire-card-01

questionnaire-dialog-01

questionnaire-dialog-01

Project Brief Questionnaire Dialog

Survey and quiz form inside a modal Dialog opened by a Start your brief button: progress, letter shortcuts and a conditional step, with the answer summary and a Done button in the same dialog. Open its docs page

pnpm dlx shadcn add @01orbital/questionnaire-dialog-01

Dependencies

npm: @phosphor-icons/react, @shadcn/react, cn. The CLI installs them for you.

Registry pieces it installs with it: