Installation
Install the core package plus your renderer of choice.
For React UI#
npm install @json-render/core @json-render/reactPeer dependencies: react ^19.0.0 and zod ^4.0.0.
npm install react zodFor Vue#
npm install @json-render/core @json-render/vuePeer dependencies: vue ^3.5.0 and zod ^4.0.0.
npm install vue zodFor Svelte#
npm install @json-render/core @json-render/sveltePeer dependencies: svelte ^5.0.0 and zod ^4.0.0.
npm install svelte zodFor React UI with shadcn/ui#
Pre-built components for fast prototyping and production use:
npm install @json-render/core @json-render/react @json-render/shadcnRequires Tailwind CSS in your project. See the @json-render/shadcn API reference for usage.
For React Native#
npm install @json-render/core @json-render/react-nativeFor Remotion Video#
npm install @json-render/core @json-render/remotion remotion @remotion/playerFor React Email#
npm install @json-render/core @json-render/react-email @react-email/components @react-email/renderFor External State Management (Optional)#
If you want to wire json-render to an existing state management library instead of the built-in store, install the adapter for your library:
npm install @json-render/zustandnpm install @json-render/reduxnpm install @json-render/jotainpm install @json-render/xstateSee the Data Binding guide for usage.
For AI Integration#
To use json-render with AI models, you'll also need the Vercel AI SDK:
npm install ai