page.mdx 1.1 KB

123456789101112131415161718192021222324252627282930
  1. export const metadata = { title: "Introduction" }
  2. # Introduction
  3. Predictable. Guardrailed. Fast. Let users generate dashboards, widgets, apps, and data visualizations from prompts.
  4. ## What is json-render?
  5. json-render lets end users generate UI from natural language prompts — safely constrained to components you define. You set the guardrails: what components exist, what props they take, what actions are available. AI generates JSON that matches your schema, and your components render it natively.
  6. ## Why json-render?
  7. ### Guardrailed
  8. AI can only use components in your catalog. No arbitrary code generation.
  9. ### Predictable
  10. JSON output matches your schema, every time. Actions are declared by name, you control what they do.
  11. ### Fast
  12. Stream and render progressively as the model responds. No waiting for completion.
  13. ## How it works
  14. 1. Define the guardrails — what components, actions, and data bindings AI can use
  15. 2. Users prompt — end users describe what they want in natural language
  16. 3. AI generates JSON — output is always predictable, constrained to your catalog
  17. 4. Render fast — stream and render progressively as the model responds