The agent asking before it commits to expensive work: a multi-step form rendered inside the message, with choices, multi-select, a freeform field, validation and keyboard shortcuts. A tool rather than a data part, so the answers return as that tool call's output and survive a reload. Answered, it collapses to a summary of what was chosen.
npx shadcn@latest add @shadcncraft/questionnaire-part-1Sign in or get a license at ShadcnCraft to see its source and install it.