All posts
Product· 4 min read · RenderKit team
Invoices as React components: JSX-to-PDF
PDF generation is usually a parallel universe: a separate templating language, separate styles, and a designer who has to keep two things in sync forever.
One source of truth
With /v1/pdf you can submit fully-rendered HTML — including the exact markup your React app already produces. Real @media print rules apply, page size and margins are yours to set, and running headers/footers carry page numbers.
The result: your invoice, report, or certificate uses the same design system as your product, and there is nothing to keep in sync. See the PDF reference.