import Link from "next/link"; import { Button } from "@/components/ui/button"; import { Code } from "@/components/code"; export const metadata = { title: "Installation | json-render", }; export default function InstallationPage() { return (

Installation

Install the core and React packages to get started.

Install packages

npm install @json-render/core @json-render/react

Or with other package managers:

{`# pnpm pnpm add @json-render/core @json-render/react # yarn yarn add @json-render/core @json-render/react # bun bun add @json-render/core @json-render/react`}

Peer Dependencies

json-render requires the following peer dependencies:

npm install react zod

For AI Integration

To use json-render with AI models, you'll also need the Vercel AI SDK:

npm install ai @ai-sdk/openai
); }