KB-271 · STEPFORM/ONE/QUESTION

One Question Step Form

The long ask, asked one question at a time: each prompt gets the whole frame, Enter carries you forward, and the rail keeps the length honest so nobody feels ambushed. A single question in flight, the answer held, the way back always open, and a summary of everything before it is sent.

KB-271 · STEPFORM/ONE/QUESTION

Install

One command — the source lands in your repo. Or copy it from the Code tab.

$ pnpm dlx shadcn@latest add @kinetiq/stepform-one-question

Props

PropTypeDefaultDescription
questionsOneQuestion[]Text or choice prompts; each carries a short rail label.
onSubmit(answers) => voidFired once, on the review stage.
summaryTitle / submitLabel / doneTitle / doneCopystringThe last two frames.