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

Ink terminal renderer that turns JSON specs into interactive terminal UIs with data binding and actions.

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

What it does

  • Covers standard layout, content, and interactive components for rendering JSON specs in a terminal
  • Includes flat element-map spec structure, visibility conditions, dynamic prop expressions, and repeat lists
  • Provides built-in setState, pushState, and removeState actions alongside custom event handling via emit
  • Designed for developers building terminal UIs or rendering AI-generated specs through @json-render/ink

Install

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

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

Files

@json-render/ink

Ink terminal renderer that converts JSON specs into interactive terminal 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/ink/schema";
import {
  standardComponentDefinitions,
  standardActionDefinitions,
} from "@json-render/ink/catalog";
import { defineRegistry, Renderer, type Components } from "@json-render/ink";
import { z } from "zod";

// Create catalog with standard + custom components
const catalog = defineCatalog(schema, {
  components: {
    ...standardComponentDefinitions,
    CustomWidget: {
      props: z.object({ title: z.string() }),
      slots: [],
      description: "Custom widget",
    },
  },
  actions: standardActionDefinitions,
});

// Register only custom components (standard ones are built-in)
const { registry } = defineRegistry(catalog, {
  components: {
    CustomWidget: ({ props }) => <Text>{props.title}</Text>,
  } as Components<typeof catalog>,
});

Details

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

More from vercel-labs/json-render

All 30

Similar to Ink

More CLI & Terminal