Last updated: 9/23/2026Last verified: 2026-08-14
pdfcn is a free, MIT-licensed collection of PDF components and blocks for React, built on the Takumi and Forme renderers and installed through the shadcn/ui registry — themes, tables, invoices, and reports you copy into your own codebase. It also ships an MCP server so AI coding tools can discover and compose pdfcn documents.
What is pdfcn?
pdfcn is a free, MIT-licensed collection of React PDF components and document blocks designed for building invoices, reports, tables, forms, and other PDF outputs. It is built on the Takumi and Forme renderers and distributed through the shadcn/ui registry, allowing developers to copy components into their own codebase. The tool also includes an MCP server so AI coding assistants and IDE-integrated LLMs can discover and compose pdfcn documents from prompts.
Key Features
- Prebuilt PDF components for invoices, reports, tables, forms, charts, QR codes, signatures, and watermarks
- Reusable document blocks that can be copied into a React codebase and customized directly
- Theming system with preset themes and a shared PdfcnThemeProvider across components, blocks, and renderers
- shadcn/ui-compatible registry for one-command installation and code ownership
- Built on the Takumi and Forme renderers for React-based PDF document generation
- MCP server integration that lets AI coding tools discover and compose pdfcn documents by prompt
Best For
Pricing
pdfcn is described as free and MIT-licensed. The provided information does not mention paid plans, usage limits, hosted services, or enterprise pricing.
Pros & Cons
Pros
- Free and MIT-licensed based on the provided tool information
- Designed for React developers and component-based PDF workflows
- Includes practical PDF blocks such as invoices, reports, tables, forms, charts, QR codes, signatures, and watermarks
- shadcn/ui registry compatibility makes installation familiar for teams using that ecosystem
- Copy-into-your-codebase model gives developers direct control over customization
- MCP server support makes it relevant for AI coding tools and prompt-based document composition
Cons
- Best suited to React projects, so non-React teams may need a different solution
- The provided information does not specify production hosting, storage, or PDF delivery features
- Teams may need developer resources to customize and maintain copied components
- No detailed information is provided about accessibility, browser support, or renderer limitations
- The documentation and ecosystem maturity should be reviewed before adopting it for critical PDF workflows
Alternatives
React PDF is a widely used React-based library for generating PDF documents and may be suitable for teams that want a lower-level PDF rendering approach.
PDFKit is a JavaScript PDF generation library that can be used when developers want programmatic control over PDF creation outside a component-block system.
Puppeteer can generate PDFs from HTML and browser-rendered pages, making it an alternative for teams that already design documents as web pages.
Documenso focuses on document signing workflows and may be relevant for teams whose PDF needs center on signatures and document execution.
Cursor is an AI coding environment that can assist with generating and editing code, including PDF-related React components when paired with suitable libraries.
FAQ
Details
Platform
Features
- Prebuilt PDF components and blocks: invoices, reports, tables, forms, charts, QR codes, signatures, and watermarks
- Theming system with preset themes and a shared PdfcnThemeProvider across components, blocks, and renderers
- shadcn/ui-compatible registry — one-command install, you own the code, zero config
- MCP server integration so IDEs and LLMs can build pdfcn documents by prompt
Languages
Known limitations
- Requires an existing React project using the shadcn CLI plus a Takumi or Forme renderer — not standalone
- Developer-focused tooling; no no-code or designer interface
- Early-stage project (2026 launch) — component and block coverage is still growing
- Rendering quality depends on the third-party Takumi/Forme engines






