Questionnaire
A sequence of form questions with selection, validation and progress.
Installation
Import from @gaudi/design-system. Load @gaudi/design-system/global.css once and add transpilePackages: ['@gaudi/design-system'] in Next.js.
Copy an example into your project with the shadcn CLI: npx shadcn@latest add https://design.gaudi.site/r/questionnaire-answer-types.json.
Usage
Examples
Answer types
Conditional branch
Cross-question validation
Guided setup
API
8 props
Accessibility
Question titles render as legends. Keep validation beside the question and ensure Previous, Next and Submit have clear names.
Related
CardCard frames reusable content with title, subtitle, and optional children.8 examplesAvatarProfile images, resilient initials, presence, verification, account menus and collaborator groups. The existing Avatar API and curated patterns share the same image and fallback primitives.10 examplesPillPill renders compact category and status labels.4 examplesFieldField composes form label, description, error, and input building blocks.7 examples