Introduction
Socratic UI is a set of structured input components for AI chat interfaces. Instead of asking users to answer everything in freeform text, these components replace open questions with low-friction, low-cognitive-load elicitation patterns.
Why structured inputs?
Freeform text is high-effort for users and lossy for models. A well-designed picker, rank, or fill-in-the-blank pattern produces cleaner signal, respects the user's attention, and leaves the AI with structured data it can reason over directly.
Components
7 components are available today. Each one is a controlled input with a matching Zod schema — use the schemas to wire the components up to tool calls in the Vercel AI SDK.