
Image
vercel-labs/json-renderOfficial
JSON-to-image renderer that converts image specs into SVG or PNG output through Satori.
- skills.sh installs
- 1.6K
- GitHub stars
- 19.8K
- last updated
- Aug 21, 2026
What it does
- Covers rendering JSON specs into SVG strings via
renderToSvgand PNG buffers viarenderToPng - Includes nine standard components across layout, content, and decorative categories, such as
Frame,Row,Column,Heading, andImage - Enforces
Frameas the required root element, which defines width, height, and background for the image - Designed for generating OG images, social cards, and rendering AI-generated image specs; PNG output needs
@resvg/resvg-js
Install
$ npx -y skills add vercel-labs/json-render --skill image -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
@json-render/image
Image renderer that converts JSON specs into SVG and PNG images using Satori.
Quick Start
import { renderToPng } from "@json-render/image/render";
import type { Spec } from "@json-render/core";
const spec: Spec = {
root: "frame",
elements: {
frame: {
type: "Frame",
props: { width: 1200, height: 630, backgroundColor: "#1a1a2e" },
children: ["heading"],
},
heading: {
type: "Heading",
props: { text: "Hello World", level: "h1", color: "#ffffff" },
children: [],
},
},
};
const png = await renderToPng(spec, {
fonts: [{ name: "Inter", data: fontData, weight: 400, style: "normal" }],
});
Using Standard Components
import { defineCatalog } from "@json-render/core";
import { schema, standardComponentDefinitions } from "@json-render/image";
export const imageCatalog = defineCatalog(schema, {
components: standardComponentDefinitions,
});
Adding Custom Components
import { z } from "zod";
Details
- Repository
- github.com/vercel-labs/json-render
- Categories
- Design & UI/UX, Frontend & UI Code
- First seen
- May 16, 2026
More from vercel-labs/json-render
All 30- Remotion Best Practices1.6K
- Vue1.4K
- React Email1.4K
- 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
Similar to Image
More Design & UI/UX
json-render-reactSkillvercel-labs/json-render391 installsReact renderer that turns JSON specs into React components, built for AI-generated UI from a component catalog.
json-render-coreSkillvercel-labs/json-render340 installsCore package for defining json-render schemas, catalogs, and AI prompts that build UI or video JSON specs.
NakkasMCP serverarikusi31 starsRenders animated SVG graphics from JSON configs, returning PNG previews and reusable artifacts.
pixel-artSkillwanshuiyin/auto-claude-code-research-in-sleep608 installsGenerate pixel art SVG illustrations for READMEs, docs, or slides with a tight grid and palette.
ImgpageMCP servercloudcorprecordsRenders HTML and CSS or live web pages to PNG or PDF through a hosted html2img service.
html-to-imageSkillhtml2png/skills271 installsTurns HTML/CSS into PNG, WebP, or PDF images through the html2png.dev API, with pixel-precise typography and layout.