New advertisers: 50% off your first month with code FIRSTMONTHSee slots
vercel-labs avatar

React Native

React Native renderer that turns JSON specs into native mobile component trees with data binding.

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

What it does

  • Covers standard layout, content, input, feedback, and composite components, plus visibility conditions and dynamic prop expressions
  • Includes providers for state, actions, visibility, and validation, with an optional external StateStore for controlled mode
  • Supports two-way binding through { "$bindState": "/path" } on value props, which replaces the deprecated useStateBinding hook
  • Designed for teams building mobile component catalogs or rendering AI-generated specs on React Native

Install

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

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

Files

@json-render/react-native

React Native renderer that converts JSON specs into native mobile component trees with standard components, data binding, visibility, actions, and dynamic props.

Quick Start

import { defineCatalog } from "@json-render/core";
import { schema } from "@json-render/react-native/schema";
import {
  standardComponentDefinitions,
  standardActionDefinitions,
} from "@json-render/react-native/catalog";
import { defineRegistry, Renderer, type Components } from "@json-render/react-native";
import { z } from "zod";

// Create catalog with standard + custom components
const catalog = defineCatalog(schema, {
  components: {
    ...standardComponentDefinitions,
    Icon: {
      props: z.object({ name: z.string(), size: z.number().nullable(), color: z.string().nullable() }),
      slots: [],
      description: "Icon display",
    },
  },
  actions: standardActionDefinitions,
});

// Register only custom components (standard ones are built-in)
const { registry } = defineRegistry(catalog, {
  components: {
    Icon: ({ props }) => <Ionicons name={props.name} size={props.size ?? 24} />,
  } as Components<typeof catalog>,
});

Details

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

More from vercel-labs/json-render

All 30

Similar to React Native

More Mobile Apps