devtools
Skill18k starsChanged 2 months agoApache-2.0View on GitHub
Drop-in inspector panel for any json-render app. Use when the user wants to debug a generative UI, inspect the spec tree, edit state at runtime, see dispatched actions, follow stream patches live, browse a catalog, or pick DOM elements to find their spec keys. Triggers include "add devtools", "debug json-render", "inspect the spec", "why is this element not rendering", "see the state at runtime", or requests to tap streams / capture action logs for `@json-render/devtools`.
- Installs packages
Trending
More talk lately.about the whole repository
Who's talking about vercel-labs/json-render
- @sungkim.bsky.social“AI Chat in TUI or Generative TUI? Vercel's json-render: The Generative UI framework. Generate dynamic, …”Bluesky · Mar 24, 2026 · 9 likes
- devframes/devframe“Proposal: terminal UI (TUI) target that renders json-render views”GitHub · Sep 30, 2026 · 2 reactions
- mangeshraut712/Vitals.AI“chore(deps): bump the npm-dependencies group with 31 updates”GitHub · Jul 27, 2026 · 2 reactions
- @github-trending-js.bsky.social“🔥 Hot Repo! 🔥 (100+ new stars) 📦 vercel-labs / json-render ⭐ 15,422 (+127) 🗒 TypeScript The Generative …”Bluesky · Jun 17, 2026 · 2 likes
- mangeshraut712/Vitals.AI“chore(deps): bump the npm-dependencies group across 1 directory with 31 updates”GitHub · May 18, 2026 · 2 reactions
The biggest 5 of 69 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 69
Talked about on GitHub, Bluesky and Hacker News (69 times).
On GitHub · 50
- Sep 30, 2026Proposal: terminal UI (TUI) target that renders json-render views — devframes/devframe2 reactions · 2 comments
- Jul 27, 2026chore(deps): bump the npm-dependencies group with 31 updates — mangeshraut712/Vitals.AI2 reactions · 3 comments
- May 18, 2026chore(deps): bump the npm-dependencies group across 1 directory with 31 updates — mangeshraut712/Vitals.AI2 reactions · 4 comments
- May 11, 2026chore(deps): bump the npm-dependencies group across 1 directory with 30 updates — mangeshraut712/Vitals.AI2 reactions · 2 comments
- May 4, 2026chore(deps): bump the npm-dependencies group across 1 directory with 30 updates — mangeshraut712/Vitals.AI2 reactions · 3 comments
45 more on GitHub
- Apr 20, 2026chore(deps): bump the npm-dependencies group across 1 directory with 29 updates — mangeshraut712/Vitals.AI2 reactions · 3 comments
- Apr 6, 2026chore(deps): bump the npm-dependencies group across 1 directory with 28 updates — mangeshraut712/Vitals.AI2 reactions · 3 comments
- Oct 11, 2026[TEMPO-B06-02] Pin json-render and define the Tempo block catalog — Levidavidspublic/tempo-rhythm1 reaction · 4 comments
- Oct 11, 2026[TEMPO-B06-P02] json-render and shared UI dependency preparation — Levidavidspublic/tempo-rhythm1 reaction · 2 comments
- Oct 9, 2026chore(deps): bump the bun-minor-patch group with 67 updates — miurla/morphic1 reaction · 3 comments
- Jul 28, 2026[Bug]: Skills with same name overwrite each other — vercel-labs/skills1 reaction · 1 comment
- Jul 13, 2026A2UI 生态日报 2026-07-13 — linqinghao/big_model_radar1 reaction
- May 7, 2026chore: bump the production-dependencies group across 1 directory with 15 updates — mengxi-ream/read-frog1 reaction · 1 comment
- Apr 3, 2026chore: bump the production-dependencies group across 1 directory with 12 updates — mengxi-ream/read-frog1 reaction · 2 comments
- Mar 23, 2026chore: bump the production-dependencies group with 5 updates — mengxi-ream/read-frog1 reaction · 1 comment
- Mar 20, 2026Add generative-UI example leveraging json-render — alpic-ai/skybridge1 reaction
- Feb 26, 2026Json renderer — nuxt/ui1 reaction · 2 comments
- Nov 2, 2026chore(deps): bump @json-render/core from 0.21.1 to 0.21.3 — jacobhausler/hermes-rich-ui0 reactions · 2 comments
- Nov 2, 2026chore(deps): bump @json-render/react from 0.21.1 to 0.21.3 — jacobhausler/hermes-rich-ui0 reactions · 1 comment
- Nov 2, 2026🎨 Generative UI Ecosystem Digest 2026-11-02 — linqinghao/agents-radar0 reactions
- Nov 2, 2026🎨 生成式 UI 生态日报 2026-11-02 — linqinghao/agents-radar0 reactions
- Nov 1, 2026chore(deps): bump the bun group in /apps/desktop with 9 updates — tasker-systems/temper-contrib0 reactions · 1 comment
- Nov 1, 2026🎨 生成式 UI 生态日报 2026-11-01 — linqinghao/agents-radar0 reactions
- Nov 1, 2026🎨 Generative UI Ecosystem Digest 2026-11-01 — linqinghao/agents-radar0 reactions
- Nov 1, 2026build(deps-dev): bump the dev-dependencies group with 4 updates — sidorares/react-x11-components0 reactions
- Oct 31, 2026chore: bump the production-dependencies group across 1 directory with 40 updates — ajthejet3-sketch/leisurelearning0 reactions
- Oct 31, 2026🎨 Generative UI Ecosystem Digest 2026-10-31 — linqinghao/agents-radar0 reactions
- Oct 30, 2026🎨 Generative UI Ecosystem Digest 2026-10-30 — linqinghao/agents-radar0 reactions
- Oct 29, 2026chore(deps): bump @json-render/shadcn from 0.21.1 to 0.21.3 — owieth/dynamic-charts-by-prompt0 reactions
- Oct 29, 2026chore(deps): bump the npm-minor group with 3 updates — Avijit-Kumar-GIT/fella0 reactions
- Oct 29, 2026🎨 Generative UI Ecosystem Digest 2026-10-29 — linqinghao/agents-radar0 reactions
- Oct 28, 2026🎨 Generative UI Ecosystem Digest 2026-10-28 — linqinghao/agents-radar0 reactions
- Oct 28, 2026🎨 生成式 UI 生态日报 2026-10-28 — linqinghao/agents-radar0 reactions
- Oct 28, 2026build(deps): bump @json-render/react from 0.21.2 to 0.21.3 — SatohaCC/medi-chat0 reactions · 1 comment
- Oct 28, 2026build(deps): bump @json-render/core from 0.21.2 to 0.21.3 — SatohaCC/medi-chat0 reactions · 1 comment
- Oct 27, 2026chore: bump the production-dependencies group across 1 directory with 39 updates — B416-JAFLY/leafling-local0 reactions
- Oct 27, 2026build(deps): Bump the npm-minor-and-patch group with 2 updates — MysterionRise/code-guesser0 reactions
- Oct 27, 2026🎨 Generative UI Ecosystem Digest 2026-10-27 — linqinghao/agents-radar0 reactions
- Oct 27, 2026build(deps): bump @json-render/core from 0.21.1 to 0.21.2 — SatohaCC/medi-chat0 reactions · 1 comment
- Oct 27, 2026build(deps): bump @json-render/react from 0.21.1 to 0.21.2 — SatohaCC/medi-chat0 reactions · 1 comment
- Oct 26, 2026🎨 Generative UI Ecosystem Digest 2026-10-26 — linqinghao/agents-radar0 reactions
- Oct 25, 2026🎨 Generative UI Ecosystem Digest 2026-10-25 — linqinghao/agents-radar0 reactions
- Oct 23, 2026chore: bump the production-dependencies group across 1 directory with 44 updates — SYZBZ/translation-kitten0 reactions
- Oct 22, 2026chore(deps): bump @json-render/shadcn from 0.21.0 to 0.21.1 — owieth/dynamic-charts-by-prompt0 reactions
- Oct 19, 2026chore(deps): bump @json-render/core from 0.21.0 to 0.21.1 — jacobhausler/hermes-rich-ui0 reactions · 3 comments
- Oct 19, 2026[TEMPO-KA-45] Tempo blocks in pages and in coach cards are drawn by one json-render renderer, after a short written comparison with OpenUI — Levidavidspublic/tempo-rhythm0 reactions
- Oct 19, 2026build(deps): bump the root-deps group across 1 directory with 70 updates — vaddisrinivas/utopia0 reactions
- Oct 18, 2026🎨 Generative UI Ecosystem Digest 2026-10-18 — linqinghao/agents-radar0 reactions
- Oct 17, 2026deps(canvas): bump @json-render/react from 0.21.0 to 0.21.1 in /extensions/canvas — miloszkolber/oc_build0 reactions
- Oct 17, 2026deps(canvas): bump @json-render/core from 0.21.0 to 0.21.1 in /extensions/canvas — miloszkolber/oc_build0 reactions
On Bluesky · 17
- Mar 24, 2026AI Chat in TUI or Generative TUI? Vercel's json-render: The Generative UI framework. Generate dynamic, personalized UIs from prompts… — @sungkim.bsky.social9 likes and reposts
- Jun 17, 2026🔥 Hot Repo! 🔥 (100+ new stars) 📦 vercel-labs / json-render ⭐ 15,422 (+127) 🗒 TypeScript The Generative UI framework — @github-trending-js.bsky.social2 likes and reposts
- May 13, 2026そういえばAgentに吐かせるべきはMarkdownかHTMLか論争、json-renderみたいに出すコンポーネントが絞られてたら多少マシかも github.com/vercel-labs/... — @ras0q.com2 likes and reposts
- May 9, 2026📦 vercel-labs / json-render ⭐ 14,661 (+42) 🗒 TypeScript The Generative UI framework — @github-trending-js.bsky.social2 likes and reposts
- Mar 26, 2026PDF generation is pretty straightforward with github.com/vercel-labs/... I'm building a thing like a thing I once built for templated… — @rager.tech2 likes and reposts · 1 reply
12 more on Bluesky
- Jan 17, 2026Saw this framework for controlled UI rendering from AI Seems interesting Any insights on such frameworks ? github.com/vercel-labs/... #AI… — @muralirk.bsky.social2 likes and reposts
- Oct 27, 2026oh, isn't json-render something like this? — @evadeva.bsky.social1 likes and repost
- Sep 23, 2026vercel-labs/json-render (17k+ stars, 8 months old, trending again) doesn't let a model write UI code. It emits JSON constrained to a… — @maybeworthbuilding.bsky.social1 likes and repost
- Sep 20, 2026🎉 Celebrating! 🎉 (500+ new stars) 📦 vercel-labs / json-render ⭐ 16,989 (+585) 🗒 TypeScript The Generative UI framework — @github-trending.bsky.social1 likes and repost · 1 reply
- Sep 19, 2026"Your LLM only renders with the components and schemas you approve" cool why don‘t we have programmable documents as a *human-usable*… — @sevoris.bsky.social1 likes and repost
- Sep 19, 2026🚀 Skyrocketing! 🚀 (200+ new stars) 📦 vercel-labs / json-render ⭐ 16,700 (+468) 🗒 TypeScript The Generative UI framework — @github-trending-js.bsky.social1 likes and repost · 1 reply
- Apr 27, 2026github.com/vercel-labs/jso... GitHub - vercel-labs/json-render: The Generative UI framework — @technews4869.bsky.social1 likes and repost
- Mar 28, 2026🔥 Hot Repo! 🔥 (100+ new stars) 📦 vercel-labs / json-render ⭐ 13,582 (+103) 🗒 TypeScript The Generative UI framework — @github-trending-js.bsky.social1 likes and repost
- Feb 22, 2026https://github.com/vercel-labs/json-render — @tom-doerr.bsky.social1 likes and repost
- Jan 25, 2026Vercel Labs' AI → JSON → UI pipeline - declarative interfaces generated from AI responses! https://github.com/vercel-labs/json-render — @u11g.com1 likes and repost
- Jan 24, 2026github.com/vercel-labs... — @michabbb.bsky.social1 likes and repost
- Jan 15, 2026Generative UI github.com/vercel-labs/... — @kasperjunge.bsky.social1 likes and repost · 1 reply
On Hacker News · 2
- Jan 21, 2026Benchmark Comparison: JSONL vs. TOON output for JSON-render efficiencysays it tested it2 points
- Jan 15, 2026json-render2 points · 2 comments
In this repository31 other files it gives its agents.
- AGENTS.mdAGENTS.md
- codegenSkill
- coreSkill
- devtools-reactSkill
- devtools-solidSkill
- devtools-svelteSkill
- devtools-vueSkill
- directivesSkill
- imageSkill
- inkSkill
- jotaiSkill
- mcpSkill
- nextSkill
- react-emailSkill
- react-nativeSkill
- react-pdfSkill
- reactSkill
- react-three-fiberSkill
- reduxSkill
- remotion-best-practicesSkill
- remotionSkill
- shadcnSkill
- shadcn-svelteSkill
- skill-creatorSkill
- solidSkill
- svelteSkill
- tanstack-startSkill
- vueSkill
- xstateSkill
- yamlSkill
- zustandSkill
The file
We split this skill into the rules it gives an agent
2 rules. About 0 are common, 0 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 32
Place <JsonRenderDevtools /> anywhere inside the existing <JSONUIProvider> (or framework equivalent).
- Very specific: line 136
If the automatic body padding causes problems with a particular layout, pass reserveSpace={false} to make the panel a pure overlay — the …
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
@json-render/devtools
A floating inspector panel for json-render apps. Framework-agnostic core + per-framework adapters (React, Vue, Svelte, Solid).
Production-safe: the component renders null when NODE_ENV === "production".
Install
Install the core package plus the adapter that matches the host app's renderer.
# React
npm install @json-render/devtools @json-render/devtools-react
# Vue
npm install @json-render/devtools @json-render/devtools-vue
# Svelte
npm install @json-render/devtools @json-render/devtools-svelte
# Solid
npm install @json-render/devtools @json-render/devtools-solidDrop-in usage
Place <JsonRenderDevtools /> anywhere inside the existing <JSONUIProvider> (or framework equivalent). No other wiring required.
React
import { JsonRenderDevtools } from "@json-render/devtools-react";
<JSONUIProvider registry={registry} handlers={handlers}>
<Renderer spec={spec} registry={registry} />
<JsonRenderDevtools spec={spec} catalog={catalog} messages={messages} />
</JSONUIProvider>;Vue
<script setup>
import { JsonRenderDevtools } from "@json-render/devtools-vue";
</script>
<template>
<JSONUIProvider :registry="registry">
<Renderer :spec="spec" :registry="registry" />
<JsonRenderDevtools :spec="spec" :catalog="catalog" :messages="messages" />
</JSONUIProvider>
</template>Svelte
<script>
import { JsonRenderDevtools } from "@json-render/devtools-svelte";
</script>
<JSONUIProvider {registry}>
<Renderer {spec} {registry} />
<JsonRenderDevtools {spec} {catalog} {messages} />
</JSONUIProvider>Solid
import { JsonRenderDevtools } from "@json-render/devtools-solid";
<JSONUIProvider registry={registry}>
<Renderer spec={spec()} registry={registry} />
<JsonRenderDevtools
spec={spec()}
catalog={catalog}
messages={messages()}
/>
</JSONUIProvider>;Controls
- Floating toggle appears bottom-right.
- Hotkey:
Ctrl/Cmd+Shift+J(configurable viahotkeyprop). - Drawer is resizable; height persists to localStorage.
Props
spec(Spec | null) — current spec.catalog(Catalog | null) — catalog definition; required for the Catalog panel.messages(UIMessage[]) — AI SDKuseChatmessages; scanned for spec data parts.initialOpen(boolean) — start open.position("bottom-right" | "bottom-left" | "right") — dock + toggle corner."bottom-*"docks at the bottom;"right"docks at the right edge full-height (recommended for app-shells that already use100vhor fixed bottom bars).hotkey(string | false) —"mod+shift+j"by default.bufferSize(number) — event ring-buffer cap, default 500.reserveSpace(boolean, defaulttrue) — when true the panel pushes the host app by applyingpadding-bottom/padding-rightonbody. Set tofalseto keep the panel as a pure overlay.allowDockToggle(boolean, defaulttrue) — show a toolbar button so the user can flip the panel between bottom-dock and right-dock. User choice persists tolocalStorageand overridespositionon subsequent mounts. Passfalseto lock the dock toposition.onEvent((DevtoolsEvent) => void) — optional tap.
Panels
- Spec — element tree rooted at
spec.root; props/visibility/events/watchers detail; integratedvalidateSpecwarnings. - State — every JSON Pointer path with inline edit via
store.set. - Actions — dispatched actions timeline (name, params, result/error, duration).
- Stream — spec patches, text chunks, token usage, lifecycle markers grouped by generation.
- Catalog — components + actions declared in the catalog with prop chips.
Picker (toolbar)
The element picker is a toolbar button in the panel header (Chrome-DevTools-style), not a tab. Click it to activate pick mode, then click any rendered element in the page — selection jumps to the Spec tab with that element focused. Esc cancels.
Reserved space & docking
The panel can dock at the bottom or the right edge, and by default the user can flip between the two with a toolbar button (the choice persists to localStorage). Set allowDockToggle={false} if the host app only works with one dock — the button is hidden and the dock is locked to position.
Pick an initial dock that fits your layout:
- Bottom dock (default) — works best for docs / marketing / content-flow sites and for app shells built with a
height: 100%chain (html { height: 100% }→body { height: 100% }→.app { height: 100% }). The panel writes its height to--jr-devtools-offset-bottomand applies matchingpadding-bottomtobody, so non-fixed content naturally makes room. - Right dock (
position="right") — recommended for app-shell layouts that use100vhorposition: fixed; bottom: 0. Right docking sidesteps the bottom edge entirely and writes its width to--jr-devtools-offset-rightinstead.
Apps that use 100vh, position: fixed, or position: sticky can opt specific elements in with the published CSS custom properties:
.composer { bottom: var(--jr-devtools-offset-bottom, 0); }
.sidebar { right: var(--jr-devtools-offset-right, 0); }
.app-shell { height: calc(100vh - var(--jr-devtools-offset-bottom, 0)); }If the automatic body padding causes problems with a particular layout, pass reserveSpace={false} to make the panel a pure overlay — the CSS custom properties are still published so you can reserve space manually.
(--jr-devtools-offset is kept as a back-compat alias for whichever edge is currently active.)
Multiple renderers on one page (e.g. a chat)
A single <JsonRenderDevtools /> can inspect many <Renderer /> instances at once — a chat where each assistant message renders its own spec, a dashboard made of several independent widgets, etc. The recipe:
- One top-level
<JSONUIProvider>so every renderer shares one state store and one action dispatcher. Devtools lives inside this provider and sees everything through it. - Per-renderer specs, shared state — each assistant message renders
<Renderer spec={msgSpec} registry={registry} />directly, not wrapped in its ownStateProvider. State paths from different messages must not collide. - Namespace state per turn — when the source is an AI stream, hand the agent a unique
messageIdand require every element key (<id>-root) and state path (/<id>/count) to be prefixed with it. - Pass
spec={latest}+messages={all}—specdrives the Spec panel (usually the newest assistant message's spec), whilemessagesfeeds the Stream panel with patches from every turn. - Actions and the picker are already global —
registerActionObservercaptures dispatches from anyActionProviderin the tree, anddata-jr-keyis written by the renderer itself, so Pick works across every rendered element regardless of which message produced it.
See examples/devtools for a full AI chat wired this way.
Imperative API (React only)
import { useJsonRenderDevtools } from "@json-render/devtools-react";
const devtools = useJsonRenderDevtools();
devtools?.open();
devtools?.toggle();
devtools?.recordEvent({ kind: "stream-text", at: Date.now(), text: "hi" });Returns null in production or before the component mounts.
Server-side stream tap
Capture spec patches at the API route so events persist server-side or flow into your own telemetry.
import { tapJsonRenderStream, createEventStore } from "@json-render/devtools";
import { pipeJsonRender } from "@json-render/core";
const events = createEventStore({ bufferSize: 1000 });
const tapped = tapJsonRenderStream(result.toUIMessageStream(), events);
writer.merge(pipeJsonRender(tapped));YAML equivalent: tapYamlStream.
Under the hood
- Shadow-DOM isolated panel — the panel's styles never leak into the host app and vice versa.
- Ring-buffered event store — capped log of devtools events (state changes, action dispatches, stream patches, etc.).
- Action observer registry — each framework's
ActionProviderreports vianotifyActionDispatch/notifyActionSettlein@json-render/core; devtools subscribes viaregisterActionObserver. - Picker element tagging — while devtools is mounted,
ElementRendererwraps each rendered element in<span data-jr-key="..." style="display:contents">so the picker can map DOM → spec key. No layout impact.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

