react-ai-form
Streaming · Schema-driven · Privacy-first

AI-powered forms for React

One Zod schema. One hook. Your React Hook Form becomes an AI-assisted form — streaming fill, ghost-text suggestions, field-level privacy — without rewriting a single input.

$npm install @react-ai-form/react-hook-form
streamObject
One-click form fill
A contact form with a single 'Fill with AI' button. Streams every field in real-time from a plain-English context.
Open demo
useAISuggestion
Ghost-text suggestions
Smart autocomplete on a product description. Start typing and AI completes the sentence. Tab to accept.
Open demo
privacy-first
Bio-to-application
Paste a LinkedIn About section, watch a 9-field job application fill itself. PII is redacted before the AI sees it.
Open demo

Running without an OpenAI key?

That's fine — the server falls back to hardcoded streaming fixtures so every demo works end-to-end on a fresh clone. Set OPENAI_API_KEY to hit the real model via /api/ai-form.