JSON Render
Your agent writes the page. Not the code.
Instead of writing and editing component files, your agent writes a few lines of JSON, and your app renders it with 681 shadcncraft Pro blocks. Pages come out faster, use fewer tokens and look consistent every time.

Same blocks, less work
The same hero, in 29 lines instead of 800.
Installed from the registry, Hero 5 adds over 800 lines of component code to your project for your agent to read and edit. As JSON, the whole page is 29 lines of content. The block code stays in the package.
800+lines of component code from the registry
29lines of JSON for the same page
Why JSON
Faster, cheaper and the same every time
Agents improvise when they write UI code, so every page comes out a little different. With JSON Render, they can only use the blocks in the catalog.
Faster pages
Your agent writes a few lines of content per block instead of component files, so there is far less to generate per page.
Fewer tokens
The agent reads a short catalog entry instead of block source, and writes JSON instead of JSX. Less to read and write is less to pay for.
Consistent every time
Agents can only use real blocks and props, so pages built on different days, by different agents, still look like one product.
No block code in your repo
The blocks install as a versioned package. Nothing to maintain or review in your codebase, and upgrades are one install away.
One-line edits
Changing a heading changes one line of JSON. Nothing else on the page moves, so edits are quick and safe.
Less to review
The checker catches unknown props, long copy, leftover sample content and unbound buttons, so people only review design choices.
Registry or JSON Render?
Both give you the same blocks. Pick by who builds the page, and use both in one app if you like.
Registry
Best when you write the code and want to own it.
- Block source is copied into your project
- Change anything: layout, markup, behaviour
- You or your agent edit JSX
JSON Render
Best when an agent or your app's AI builds the pages.
- Blocks install as a package, out of your repo
- Agents set content, not code
- Pages are data you can store, generate and validate
What you can build
AI features in your product
Your users describe a page, your model writes the JSON, and they get real shadcncraft blocks with their copy, live in your app.
Agent-built pages
Your coding agent assembles landing pages and app screens from blocks you already trust, instead of writing new components.
Pages as data
Store pages in your database or CMS and render them at runtime, without a deploy.
How it works
The package includes every Pro block, a catalog that tells agents what each block is for, a checker and an agent skill, in Radix and Base UI across all eight styles.
1. Your agent writes the page
Preparing code…
2. Your app renders it
Preparing code…
Included withPro ReactandPro Figma + React
Frequently Asked Questions
JSON Render is an open-source library that turns a JSON document into React components from a catalog you define. @shadcncraft/json-render-pro gives it every shadcncraft Pro block.
