react-email
Skill18k starsChanged 2 months agoApache-2.0View on GitHub
React Email renderer for json-render that turns JSON specs into HTML or plain-text emails using @react-email/components and @react-email/render. Use when working with @json-render/react-email, building transactional or marketing emails from JSON, creating email catalogs, rendering AI-generated email specs, or when the user mentions react-email, HTML email, or transactional email.
3 other projects use a version of this.
Trending
More talk lately.about the whole repository
Most recently taken up by
- resend/resend-skillstheir own version, first seen Aug 6, 2026
- utxo-AG/claude-skillstheir own version, first seen Feb 10, 2026
- agentset-ai/agentsettheir own version, first seen Jan 26, 2026
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
Other versions3 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 3
- agentset-ai/agentset★ 2.1ksame name
- resend/resend-skills★ 195same name
- utxo-AG/claude-skills★ 2same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository31 other files it gives its agents.
- AGENTS.mdAGENTS.md
- codegenSkill
- coreSkill
- devtools-reactSkill
- devtoolsSkill
- devtools-solidSkill
- devtools-svelteSkill
- devtools-vueSkill
- directivesSkill
- imageSkill
- inkSkill
- jotaiSkill
- mcpSkill
- nextSkill
- 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
7 rules. 0 are common, 4 are distinctive, and 3 are very specific to this project.
0
Common
Most of the 3 edited versions we read keep these.
4
Distinctive
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 102
Import schema and catalog without React or @react-email/components:
- Very specific: line 132
All components accept a style prop (object) for inline styles.
- Distinctive: line 171
Keep width constrained (e.g.
- Very specific: line 172
Use inline styles or React Email's style props.
- Distinctive: line 173
Prefer table-based layout (Section, Row, Column) for broad client support.
- Distinctive: line 174
Use absolute URLs for images.
- Distinctive: line 175
Test in multiple clients (Gmail, Outlook, Apple Mail).
“Common” is measured: kept by at least 6 in 10 of the 3 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
@json-render/react-email
React Email renderer that converts JSON specs into HTML or plain-text email output.
Quick Start
import { renderToHtml } from "@json-render/react-email";
import { schema, standardComponentDefinitions } from "@json-render/react-email";
import { defineCatalog } from "@json-render/core";
const catalog = defineCatalog(schema, {
components: standardComponentDefinitions,
});
const spec = {
root: "html-1",
elements: {
"html-1": { type: "Html", props: { lang: "en", dir: "ltr" }, children: ["head-1", "body-1"] },
"head-1": { type: "Head", props: {}, children: [] },
"body-1": {
type: "Body",
props: { style: { backgroundColor: "#f6f9fc" } },
children: ["container-1"],
},
"container-1": {
type: "Container",
props: { style: { maxWidth: "600px", margin: "0 auto", padding: "20px" } },
children: ["heading-1", "text-1"],
},
"heading-1": { type: "Heading", props: { text: "Welcome" }, children: [] },
"text-1": { type: "Text", props: { text: "Thanks for signing up." }, children: [] },
},
};
const html = await renderToHtml(spec);Spec Structure (Element Tree)
Same flat element tree as @json-render/react: root key plus elements map. Root must be Html; children of Html should be Head and Body. Use Container (e.g. max-width 600px) inside Body for client-safe layout.
Creating a Catalog and Registry
import { defineCatalog } from "@json-render/core";
import { schema, defineRegistry, renderToHtml } from "@json-render/react-email";
import { standardComponentDefinitions } from "@json-render/react-email/catalog";
import { Container, Heading, Text } from "@react-email/components";
import { z } from "zod";
const catalog = defineCatalog(schema, {
components: {
...standardComponentDefinitions,
Alert: {
props: z.object({
message: z.string(),
variant: z.enum(["info", "success", "warning"]).nullable(),
}),
slots: [],
description: "A highlighted message block",
},
},
actions: {},
});
const { registry } = defineRegistry(catalog, {
components: {
Alert: ({ props }) => (
<Container style={{ padding: 16, backgroundColor: "#eff6ff", borderRadius: 8 }}>
<Text style={{ margin: 0 }}>{props.message}</Text>
</Container>
),
},
});
const html = await renderToHtml(spec, { registry });Server-Side Render APIs
| Function | Purpose |
renderToHtml(spec, options?) | Render spec to HTML email string |
renderToPlainText(spec, options?) | Render spec to plain-text email string |
RenderOptions: registry, includeStandard (default true), state (for $state / $cond).
Visibility and State
Supports visible conditions, $state, $cond, repeat (repeat.statePath), nested repeat paths with { "$item": "field" }, and the same expression syntax as @json-render/react. Use state in RenderOptions when rendering server-side so expressions resolve.
Server-Safe Import
Import schema and catalog without React or @react-email/components:
import { schema, standardComponentDefinitions } from "@json-render/react-email/server";Key Exports
| Export | Purpose |
defineRegistry | Create type-safe component registry from catalog |
Renderer | Render spec in browser (e.g. preview); use with JSONUIProvider for state/actions |
createRenderer | Standalone renderer component with state/actions/validation |
renderToHtml | Server: spec to HTML string |
renderToPlainText | Server: spec to plain-text string |
schema | Email element schema |
standardComponents | Pre-built component implementations |
standardComponentDefinitions | Catalog definitions (Zod props) |
Sub-path Exports
| Path | Purpose |
@json-render/react-email | Full package |
@json-render/react-email/server | Schema and catalog only (no React) |
@json-render/react-email/catalog | Standard component definitions and types |
@json-render/react-email/render | Render functions only |
Standard Components
All components accept a style prop (object) for inline styles. Use inline styles for email client compatibility; avoid external CSS.
Document structure
| Component | Description |
Html | Root wrapper (lang, dir). Children: Head, Body. |
Head | Email head section. |
Body | Body wrapper; use style for background. |
Layout
| Component | Description |
Container | Constrain width (e.g. max-width 600px). |
Section | Group content; table-based for compatibility. |
Row | Horizontal row. |
Column | Column in a Row; set width via style. |
Content
| Component | Description |
Heading | Heading text (as: h1–h6). |
Text | Body text. |
Link | Hyperlink (text, href). |
Button | CTA link styled as button (text, href). |
Image | Image from URL (src, alt, width, height). |
Hr | Horizontal rule. |
Utility
| Component | Description |
Preview | Inbox preview text (inside Html). |
Markdown | Markdown content as email-safe HTML. |
Email Best Practices
- Keep width constrained (e.g. Container max-width 600px).
- Use inline styles or React Email's style props; many clients strip
<style>blocks. - Prefer table-based layout (Section, Row, Column) for broad client support.
- Use absolute URLs for images; many clients block relative or cid: references in some contexts.
- Test in multiple clients (Gmail, Outlook, Apple Mail); use a preview tool or Litmus-like service when possible.
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.

