Skip to content

PDFx

Composable React PDF components for invoices and reports that you copy into your project and own.

getpdfx.dev

PDFx website screenshot
Added
GitHub stars
1.2k
License
MIT
Price
Free

About

About PDFx

PDFx brings the shadcn/ui copy-and-own model to PDF documents. It offers 24 React components built on @react-pdf/renderer, such as Heading, Text, Badge and Table, plus a theme system, a Theme Builder, copy-paste blocks like invoices and reports, and docs prepared for AI tools through an MCP server and skills. There is no runtime dependency on PDFx itself.

Run npx pdfx-cli init, then add components with npx pdfx-cli add heading text badge. If you already use shadcn, the same components are available through a namespaced registry, @pdfx, so names such as heading and table never collide with shadcn/ui's own. MIT licensed. It suits apps that generate invoices, contracts, statements and reports as PDFs from React code.

PDFx features

6 features

  • 24 PDF components
  • Theme system and Theme Builder
  • Invoice and report blocks
  • CLI with init and add commands
  • MCP server and skills
  • Namespaced shadcn registry

Install PDFx

1 command

Terminal

$ npx pdfx-cli init

What you can build with PDFx

3 use cases

  • Generating invoices from order data in a SaaS app
  • Producing a branded quarterly report as a PDF
  • Creating contracts with signature blocks from templates

1 link

Pricing

Ship it with Pro

The directory is free. Pro adds 6,000+ blocks, 14 premium templates and the MCP server, so your AI editor installs them for you.

4.9/5 out of 5 · 150+ reviewsfrom 150+ founders and developers.

  • Secure checkout via Stripe
  • Code lives in your repo
  • Keep what you've shipped if you cancel
  • License terms

FAQ

Frequently asked questions

What PDFx is, how to install it, its license and its alternatives.

4.9 out of 5 from 150+ developers

Found your stack? Ship it.

6,000+ blocks, premium templates and MCP in every Pro plan. The directory stays free.

Get Pro