JSON Render





Pattern
JSON Render PDF
Generate PDF documents from natural language using @json-render/react-pdf. Describe a document or refine examples to create professional PDFs with streaming spec and live preview.
IntermediateFeb 2026View the full pattern on desktop


Problems solved
- Generate PDF documents from natural language with @json-render/react-pdf
- Stream document specs into a live PDF preview
- Constrain outputs to a react-pdf component catalog
Use cases
- Invoice generation
- Report creation
- Resume building
- Document automation demos
AI SDK APIs
streamTextgateway
Tags
json-renderpdfaidocument-generationstreaming
Requirements
- Node.js
- 24+
- Memory
- 256MB
- Other
- Vercel AI Gateway API key
Environment variables
AI_GATEWAY_API_KEYGet key
External services
googleupstash
Ready to use?
View the full interactive pattern with live preview and copy the source code.
View the pattern on desktopRelated patterns


JSON Render Shadcn
AI-generated UI using @json-render/shadcn. Describe a UI in natural language and watch it render with shadcn components.
json-rendershadcn+3
View pattern β


JSON Render Three.js
AI-generated 3D scenes using @json-render/react-three-fiber. Describe environments, meshes, and lighting to stream live Three.js renders you can orbit immediately.
json-renderthreejs+3
View pattern β



