BuildTube Preview About
Back to the feed

json-render: Let an AI model design app screens, safely, from a fixed parts list

Added · Updated

json-render is a programming toolkit (framework) for "generative UI": instead of letting a model write arbitrary code for a screen, you give it a fixed catalog of components it is allowed to use, and it returns structured JSON describing which ones to show and how, which the framework then renders.

Because the model can only pick from components you defined, the output is guardrailed and predictable rather than a fresh piece of code every time, and it can stream in progressively as the model responds. The same catalog can render to React, Vue, Svelte, React Native, and other targets including PDFs and 3D scenes.

What it does

You register a catalog of components (from a pre-built set of 36 shadcn/ui components or your own) and their allowed properties, and the model's job becomes filling in a JSON spec against that catalog rather than free-form code. The spec can include data-driven values — reading application state, evaluating a condition, or interpolating text — so a generated screen can stay live rather than static, and a companion devtools panel shows the spec tree, state and streaming log for debugging.

You could use it to…

  • Let an AI model design app screens from a fixed parts list
  • Stream a generated interface in as the model responds
  • Render the same generated UI to React, Vue or PDF

Can I use this?

JavaScript library, needs code

You'll need Node.js, a JavaScript framework, and some coding · Setup needed

Worth knowing This is a developer library, not an end-user app — using it means defining a component catalog and wiring up a model yourself. Its output quality still depends on the model you connect and how well your catalog covers what users ask for. Apache-2.0 licence.

Why it's here

Rising fast on GitHub this week

  • 19,417 people have starred it on GitHub.

Numbers as of 8 November 2026, from BuildTube’s latest daily refresh.

Behind it

View source

BuildTube has not run or verified this project. Everything above is written from what the creator published.

Made this?

Quick questions

What is json-render?
You register a catalog of components (from a pre-built set of 36 shadcn/ui components or your own) and their allowed properties, and the model's job becomes filling in a JSON spec against that catalog rather than free-form code.
What can I use json-render for?
Let an AI model design app screens from a fixed parts list; Stream a generated interface in as the model responds; Render the same generated UI to React, Vue or PDF
Can I run json-render on my computer?
Yes. json-render is a JavaScript and TypeScript library you install with npm and use inside your own code, with an AI model you connect yourself.
What do I need to use json-render?
A JavaScript or TypeScript project using React, Vue, Svelte, Solid or React Native, plus an LLM you connect yourself to generate the JSON specs.
What license does json-render use?
Apache-2.0 licence.

More from this week

Explore by topic

Post this

A ready-made picture of this card for X, LinkedIn or a group chat. Link to this page alongside it.

Share image for json-renderDownload share image

For makers

Made this? Show it’s on BuildTube — add the badge to your README or embed the card on your site.

Featured on BuildTube

README badge (Markdown)

[![Featured on BuildTube](https://buildtube.app/badge/gh-vercel-labs-json-render.svg)](https://buildtube.app/p/gh-vercel-labs-json-render/)

Embed card (HTML)

<iframe src="https://buildtube.app/embed/gh-vercel-labs-json-render/" width="560" height="240" style="border:0;max-width:100%" loading="lazy" title="json-render on BuildTube"></iframe>

Back to the feed