json-render

json-render.dev

Vercel Labs' generative UI framework: LLMs output JSON that renders with predefined, safe components.

Pricing
Open source
Published
Nov 9, 2026

Next steps

What it does

json-render (Apache-2.0, about 19k GitHub stars) generates dynamic, personalized UIs from prompts while keeping output reliable: the model produces a JSON spec limited to a catalog of predefined components and actions, which json-render renders. Packages cover React (with ready-made shadcn/ui components), React Native, Vue, Svelte, SolidJS, Next.js apps, Ink terminal UIs, Remotion video, React PDF, React Email and React Three Fiber 3D scenes.

json-render · Image from the official website
Image from the official website

Use cases

  • Let an LLM generate dashboards or forms from predefined, safe components
  • Render AI-generated JSON specs to React, Vue, Svelte, React Native, PDF or email
  • Build generative UI features with guardrails instead of free-form HTML

Frequently asked questions

Who maintains json-render?
Vercel Labs; it is Apache-2.0 licensed.
Which frameworks are supported?
Packages exist for React, shadcn/ui, React Native, Vue, Svelte, SolidJS, Next.js, Ink terminal UIs, Remotion video, React PDF, React Email and React Three Fiber.
Why not let the model write HTML?
json-render restricts output to predefined components and actions, giving safer and more predictable results.
Log in to join the discussion