Get StartedComponentsStylingThemingMath & Science
MCP

Forms

Questionnaire

A multi-step form with one question per screen.

Markdown

Import

tsx
import { Questionnaire } from "@indoku/ui"

Examples

Basic usage

Question 1 of 2

What should the agent build next?Choose a direction or describe another task.

Props

Root

PropTypeDefaultDescription
items*readonly QuestionItem[]–
defaultValueAnswers–
onSubmit(answers: Answers) => void–
onStepChange(step: number) => void–
shortcutsbooleantrueLetter keys (A, B, C…) to pick answers.
labelsPartial<Labels>–

* required. Style props and HTML attributes are accepted as well.

Created by @indokudev