# json-render

> Framework for AI-made interfaces: the model writes a JSON spec and only the components you allow get rendered.

Canonical page: https://sitepeel.dev/resources/json-render/

Website: https://json-render.dev/

Category: AI tools. Access: Open source.

## 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.

## More like this

- [Archify](https://sitepeel.dev/resources/archify/index.md): Agent skill that answers a question as one HTML file: an interactive diagram or a one-page explainer that cites its sources.
- [M3E Canvas](https://sitepeel.dev/resources/m3e-canvas/index.md): Drag-and-drop editor for Material 3 Expressive phone screens that you can link, tap through and copy as a prompt for an AI tool.
- [Framelink Figma MCP](https://sitepeel.dev/resources/framelink-figma-mcp/index.md): MCP server that hands your AI coding agent trimmed Figma layout and style data, so it can build a design from a Figma link.

All resources: https://sitepeel.dev/resources/index.md. Checked on 2026-12-05.
