Generative UI
for any LLM
Build AI interfaces where the model decides what to render — charts, cards, dashboards, entire pages. Not just text.
pnpm add @fabrik-sdk/ui ai @ai-sdk/google zod motionSan Francisco
Sunny
5 lines to a working generative UI chat.
See it in action
Generative UI, elicitations, artifacts, and code diffs — all streaming.
Built for speed
One SDK. One hook. One provider. Done.
Any LLM Provider
OpenAI, Anthropic, Google, Mistral, Groq — 53+ providers via AI SDK. Or bring your own.
Generative UI
The model calls show_weather_card() and your React component renders. Charts, tables, dashboards.
Streaming + Steps
Text and components stream in progressively. Animated tool steps show what the AI is doing.
Elicitation
AI asks follow-up questions with choice pills, confirmations, text inputs — inline in chat.
55 Components
Full shadcn library included. Add more with fabrik add. Cards, charts, tables, forms, dialogs.
fabrik-pages
Define routes + prompts. The AI renders entire pages. No hand-written UI needed.
Examples
See what you can build.
Chat
Full chat with live weather, charts, thinking steps, elicitation
localhost:4100Widget
Marketing page with floating chat FAB button
localhost:4200Copilot
Side-panel copilot for documents and code
localhost:4300Custom Agent
Multi-step reasoning agent with custom provider
localhost:4400Local Model
Ollama integration with automatic fallback
localhost:4500Pages Demo
Route-based AI page rendering with caching
localhost:4600Ship your first AI interface
Install the SDK, pick your LLM, and start rendering components in minutes.