PDFx
Composable React PDF components for invoices and reports that you copy into your project and own.
- Category
- Libraries & Components
- 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 initWhat 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
Links
1 link
Libraries & Components
Similar to PDFx
More libraries & components like PDFx: the closest by what they do, then the most starred.
RivelleLibraryRivelle is an MIT-licensed registry for React and Next.js with 55 components, 11 effects, blocks and templates, plus its own init and add CLI.
NeoBrutalismLibraryNeoBrutalism (formerly RetroUI) is an MIT-licensed React and Tailwind component library with Pro blocks, templates, a Figma kit and an MCP server.
Spectrum UILibrarySpectrum UI is a free, open-source set of animated React components, blocks and templates on shadcn/ui, Tailwind CSS and Motion, with an MCP server.
ogimagecnLibraryogimagecn gives React apps customizable Open Graph image components built on Satori, installed one at a time with the shadcn CLI.
audio/uiLibraryaudio/ui is a React library of knobs, faders, meters, waveforms and piano rolls, as headless npm primitives or shadcn registry components.
8StarLabs UILibrary8StarLabs UI adds niche components to shadcn/ui, including a timeline, status indicator, transport badge and flip clock. Install them with the CLI.
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.
No. The shadcn route is namespaced under @pdfx, so heading and table stay separate from shadcn/ui's.
Composable React PDF components for invoices and reports that you copy into your project and own.
PDFx lists 24 PDF components, Theme system and Theme Builder, Invoice and report blocks, CLI with init and add commands, MCP server and skills and Namespaced shadcn registry.
The directory lists these uses for PDFx: Generating invoices from order data in a SaaS app, Producing a branded quarterly report as a PDF and Creating contracts with signature blocks from templates.
PDFx is made by akii09, at https://github.com/akii09. Its site is https://github.com/akii09/pdfx.
PDFx was added to the directory on February 28, 2026.
PDFx is in Libraries & Components. Component libraries and standalone components built on shadcn/ui, covering the data tables, pickers, editors and charts the core set leaves out.
Components, Blocks, CLI, shadcn CLI, React, Themes, MCP, Open source and MIT. Each tag has a page listing the other resources that carry it.
No. PDFx's site cannot be framed, so its page shows screenshots of it and a link to the site.
Run npx pdfx-cli init, then npx pdfx-cli add followed by component names. With shadcn, register the @pdfx namespace and install with npx shadcn@latest add @pdfx/heading.
PDFx lists this command: `npx pdfx-cli init`. Its docs are at https://getpdfx.dev/docs.
The directory lists no shadcn CLI command for PDFx. Check its docs at https://getpdfx.dev/docs for how to add it.
PDFx's repository is https://github.com/akii09/pdfx.
PDFx's docs are at https://getpdfx.dev/docs.
GitHub lists PDFx under the MIT license. Read the license file in its repository for the terms.
The directory records no price for PDFx. Its site, https://github.com/akii09/pdfx, is where its pricing, if any, is stated.
No. PDFx is made by akii09 and listed here as a link. A shadcn.io Pro plan covers shadcn.io's own blocks, templates and tools.
Other resources in Libraries & Components, newest first: Rivelle, NeoBrutalism, Spectrum UI and ogimagecn. Their pages are linked under Similar to PDFx.
Open its category, Libraries & Components, or one of its tags (Components, Blocks and CLI): each page lists the resources that share it.
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






