Introduction
json-render is a library for building AI-powered UIs with enterprise-grade guardrails.
What is json-render?
Unlike vibe-coding tools that let AI generate arbitrary code, json-render gives AI a constrained vocabulary. You define what components exist, what props they take, and what actions are available. AI generates JSON that matches your schema, and your components render it natively.
Why json-render?
Consistency
AI only uses your approved components. No random UI patterns.
Safety
Actions are declared by name, you control what they do.
Flexibility
Define a catalog, let AI generate JSON, render it your way.
How it works
- You define the catalog — what components exist, what props they take
- AI generates JSON — constrained to your catalog
- You render it — with your own components
- Actions are safe — AI declares intent, you implement it