GenUIKit Documentation

Type-safe, schema-validated UI rendering from LLM outputs. GenUIKit gives you a registry of Zod-validated components that your AI can render safely, with automatic error correction and streaming support.

Explore the docs

What's new

CLI

CLI Scaffolding

Run npx @genuikit/cli init to scaffold a project with your preferred adapter.

Security

Security-Hardened Schemas

safeString, safeUrl, safeHtml, and safeCssClass protect every string from XSS.

Streaming

Streaming Pipeline

StreamParser, StreamResolver, and Wire Format for progressive UI rendering.

Adapters

Adapter System

Pre-built registries for shadcn/ui, Tailwind CSS, and Material UI with 30 components each.

Quick install

npm install @genuikit/core @genuikit/react zod

Then head to the Getting Started guide for a complete walkthrough.