react-pdf

Convert JSON document specs into PDF outputs in React applications.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/TheBoomerDev/feedback_proyect --skill react-pdf-theboomerdev
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: react-pdf
Source: https://github.com/TheBoomerDev/feedback_proyect/tree/main/.agents/skills/react-pdf
Command: npx skills add https://github.com/TheBoomerDev/feedback_proyect --skill react-pdf-theboomerdev

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Generates PDF documents from JSON-driven specs directly within React apps, removing manual PDF tooling bottlenecks.

Core Features & Use Cases

  • Render PDFs from JSON-enabled specs using @json-render/react-pdf.
  • Create complex layouts (pages, tables, headings) programmatically from structured JSON.
  • Use case: produce invoices, reports, and summaries by rendering a JSON spec to a PDF buffer or stream.

Quick Start

Install the @json-render/core and @json-render/react-pdf packages and render a PDF from a Spec using renderToBuffer in your React app.

Frequently Asked Questions about react-pdf

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I render PDFs from JSON specs in a React app?

You can render PDFs from JSON specs in React by using the renderToBuffer, renderToStream, or renderToFile APIs from @json-render/react-pdf to convert structured document definitions into final PDF outputs.

What is the best way to generate invoices and reports from JSON in React?

Generating invoices and reports from JSON in React is best handled by converting standardized JSON specs into deterministic PDFs, programmatically creating complex layouts like pages, tables, and headings without manual PDF tooling bottlenecks.

Do I need TypeScript to generate PDF documents from JSON specs?

TypeScript is not strictly required to generate PDF documents from JSON specs, but the rendering environment supports TypeScript to help structure your standardized JSON document definitions for deterministic PDF outputs.

Can I use this approach for server-side rendering of PDF documents?

Yes, you can use this approach for server-side rendering of PDF documents, as the JSON spec rendering APIs support both client-side and server-side output generation to files, streams, or buffers.

How do I create complex PDF layouts like tables programmatically from JSON?

You create complex PDF layouts like tables programmatically from JSON by defining structured document specs that the renderer translates into formatted pages, headings, and tables directly within your React application.