New advertisers: 50% off your first month with code FIRSTMONTHSee slots

React renderer that turns JSON element-tree specs into React component trees with typed props.

skills.sh installs
19.1K
GitHub stars
19.8K
last updated
Aug 21, 2026
View on GitHub

What it does

  • Covers catalog definition with Zod props schemas, component registries, and named slots for layout components
  • Includes the StateProvider, ActionProvider, VisibilityProvider, and ValidationProvider context providers for shared state, events, and validation
  • Supports data-driven prop expressions such as $bindState, $state, $template, $cond, and $computed, plus repeat scopes and filtered lists
  • Designed for building React UIs from AI-generated JSON specs using @json-render/react

Install

$ npx -y skills add vercel-labs/json-render --skill react -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

@json-render/react

React renderer that converts JSON specs into React component trees.

Quick Start

import { defineRegistry, Renderer } from "@json-render/react";
import { catalog } from "./catalog";

const { registry } = defineRegistry(catalog, {
  components: {
    Card: ({ props, children }) => <div>{props.title}{children}</div>,
  },
});

function App({ spec }) {
  return <Renderer spec={spec} registry={registry} />;
}

Creating a Catalog

import { defineCatalog } from "@json-render/core";
import { schema } from "@json-render/react/schema";
import { defineRegistry } from "@json-render/react";
import { z } from "zod";

Details

Repository
github.com/vercel-labs/json-render
Categories
Frontend & UI Code, AI Agents & LLM Apps
First seen
May 16, 2026

More from vercel-labs/json-render

All 30

Similar to React

More Frontend & UI Code