Renderers
json-render supports multiple output targets. Each renderer takes the same core concept -- a JSON spec constrained to a catalog -- and renders it natively on a different platform or into a different format.
All renderers share the same workflow:
- Define a catalog with
defineCatalog - AI generates a JSON spec
- The renderer turns the spec into platform-native output
| Renderer | Package | Output |
|---|---|---|
| React | @json-render/react | React component tree |
| Vue | @json-render/vue | Vue 3 component tree |
| Svelte | @json-render/svelte | Svelte 5 component tree |
| Solid | @json-render/solid | SolidJS component tree |
| shadcn/ui | @json-render/shadcn | Pre-built Radix UI + Tailwind components (uses React renderer) |
| React Native | @json-render/react-native | Native mobile views |
| TanStack Start | @json-render/tanstack-start | Full React applications with routes, layouts, SSR, and head metadata |
| Image | @json-render/image | SVG / PNG (via Satori) |
| React PDF | @json-render/react-pdf | PDF documents |
| Remotion | @json-render/remotion | Video compositions |
| Ink | @json-render/ink | Terminal UI (via Ink) |
React
Render specs as React component trees in the browser. Supports data binding, streaming, actions, validation, visibility, and computed values.
Use StateProvider, VisibilityProvider, and ActionProvider for full interactivity. See the @json-render/react API reference for details.
Vue
Vue 3 renderer with full feature parity with React: data binding, visibility, actions, validation, repeat scopes, and streaming.
Uses composables (useStateStore, useStateBinding, useActions, etc.) instead of React hooks. See the @json-render/vue API reference for details.
Svelte
Svelte 5 renderer with runes-compatible context helpers, visibility conditions, actions, and streaming support.
See the @json-render/svelte API reference for details.
Solid
SolidJS renderer with fine-grained reactivity, state bindings, validation, visibility, and event-driven actions.
See the @json-render/solid API reference for details.
shadcn/ui
36 pre-built components using Radix UI and Tailwind CSS. Built on top of @json-render/react -- no custom renderer needed.
See the @json-render/shadcn API reference for the full component list.
React Native
Render specs as native mobile views. Includes 25+ standard components and standard action definitions.
See the @json-render/react-native API reference for details.
TanStack Start
Define complete TanStack Start applications with route specs, reusable layouts, loader-backed state, head metadata, and prerender paths. The integration uses the React renderer for each page and TanStack Router for navigation.
See the @json-render/tanstack-start API reference for details.
Image
Generate SVG and PNG images from JSON specs using Satori. Ideal for OG images, social cards, and banners.
Nine standard components: Frame, Box, Row, Column, Heading, Text, Image, Divider, Spacer. PNG output requires @resvg/resvg-js as an optional peer dependency.
See the @json-render/image API reference for details.
React PDF
Generate PDF documents from JSON specs using @react-pdf/renderer. Render to buffer, stream, or file.
Standard components include Document, Page, View, Row, Column, Heading, Text, Image, Table, List, Divider, Spacer, Link, and PageNumber.
See the @json-render/react-pdf API reference for details.
Remotion
Turn JSON timeline specs into video compositions with Remotion.
Uses a timeline spec format with compositions, tracks, and clips. Includes standard components (TitleCard, TypingText, ImageSlide, etc.), transitions (fade, slide, zoom, wipe), and effects.
See the @json-render/remotion API reference for details.
Ink (Terminal)
Render specs as terminal UIs using Ink. Multiple standard components including tables, progress bars, spinners, tabs, multi-select, and interactive inputs with Tab-cycling focus.
See the @json-render/ink API reference for details.
Custom Renderers
You can build your own renderer for any output target. See the Custom Schema & Renderer guide for how to define a custom schema and wire it to your own rendering logic.