json-render
json-render.dev · AI tools · Open source
Framework for AI-made interfaces: the model writes a JSON spec and only the components you allow get rendered.
What it is
An open-source library from Vercel Labs. You define a catalog of components and actions, the model writes a JSON spec that can only use that catalog, and json-render turns the spec into real UI, even while the answer is still streaming. There are renderers for React, Vue, Svelte, Solid, React Native and Next.js, plus a ready set of shadcn/ui components and a playground on the site.
Is it for you?
- Made for
- Developers building AI apps who want generated dashboards and widgets without letting the model run arbitrary code.
- You need
- A JavaScript app (React, Vue, Svelte, Solid or React Native) and any AI SDK to generate the specs
- Price
- Open source (Apache 2.0)
What you can do with it
- Letting a chat assistant answer with cards, charts and forms
- Building dashboards from a prompt using your own components
- Streaming generated UI into an app as the model types
- Keeping AI output limited to approved, type-safe pieces
Good to know: It does not call a model itself. You bring your own model and SDK.



