
React Email
vercel-labs/json-renderOfficial
Renders JSON element specs into HTML or plain-text emails using React Email components and a custom catalog.
- skills.sh installs
- 1.4K
- GitHub stars
- 19.8K
- last updated
- Aug 21, 2026
What it does
- Covers spec structure with a root
Htmlelement, aContainerlayout, and the flatelementsmap shared with@json-render/react - Provides
renderToHtmlandrenderToPlainTextserver APIs, plusdefineRegistryfor custom components like anAlertblock - Includes standard components for document structure, layout, content, and a
Markdownutility, all using inline styles for client compatibility - Designed for transactional and marketing emails built from JSON or AI-generated specs, with
visible,$state, and repeat support
Install
$ npx -y skills add vercel-labs/json-render --skill react-email -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
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)
Details
- Repository
- github.com/vercel-labs/json-render
- Categories
- Frontend & UI Code, Email & Messaging
- First seen
- May 16, 2026
More from vercel-labs/json-render
All 30- Ink1.3K
- Svelte1.3K
- Shadcn Svelte1.2K
- Redux1.2K
- Jotai1.2K
- Xstate1.1K
- Solid1.1K
- Yaml1.1K
- Json Render React391
- Json Render Core340
- Json Render Shadcn255
- Json Render Remotion153
- Json Render React Native142
- React19.1K
- Core17.7K
- Codegen8.9K
- Next8.6K
- Devtools8.4K
- Directives8.1K
- Mcp5.9K
- React Native3.3K
- Shadcn2.5K
- React Three Fiber2.4K
- React Pdf2.4K
Similar to React Email
More Frontend & UI Code
json-render-reactSkillvercel-labs/json-render391 installsReact renderer that turns JSON specs into React components, built for AI-generated UI from a component catalog.
react-pdfSkillvercel-labs/json-render2.4K installsGenerates PDF documents from JSON specs through @react-pdf/renderer with buffer, stream, and file output.
hyper-elementsPluginhyper-elements/hyper-elements499 starsWrite emails, web pages, printed documents, PDFs and images in code with Hyper Elements, React components that render email-safe HTML, page HTML, PDFs and PNG o
email-template-builderSkillalirezarezvani/claude-skills621 installsComprehensive transactional email system with React Email templates, provider integration, i18n, and dark mode support.
emailmdMCP serveranypost1.4K starsRender markdown into email-safe HTML with lint and docs access for deliverability checks.
mjml-email-templatesSkillaaronontheweb/dotnet-skills524 installsBuild responsive email templates in MJML that compile to cross-client HTML for Outlook, Gmail, and Apple Mail.