Copy-paste PDF components, blocks and themes for React, built on Takumi and Forme and installed with the shadcn CLI.
About pdfcn
pdfcn, at pdfcn.dev, is a collection of copy-paste, accessible, customizable PDF components for React, from shadcn labs. It's built on Takumi and Forme and works with shadcn/ui and the shadcn CLI.
It follows the shadcn model for document generation. You copy components into your project and own the code, with no lock-in. The component API is the same across Takumi and Forme, and you can drop down to the underlying renderer when you need to.
You install a component with the shadcn CLI, for example npx shadcn@latest add @pdfcn/takumi/text, or @pdfcn/forme/text for Forme. The registry installs the matching renderer dependencies and the shared theme utilities that component needs.
The registry includes components such as text, heading, table, data table, list, QR code, watermark, signature, page header, page footer, page number, graph, alert, card, form and key value. Blocks are complete document templates, such as @pdfcn/takumi/invoice-minimal, and the docs list invoices, reports, an event ticket, a packing slip, a shipping label and more. Theme presets like @pdfcn/takumi/theme-minimal install into PdfcnThemeProvider.
The Theme Builder lets you design and export a reusable theme with a live PDF preview on either engine. An MCP page explains how to register the shadcn MCP server so your editor can discover the registry's components.
pdfcn's changelog dates its initial release to August 2026. The code is MIT licensed at github.com, and the site credits Aniket Pawar as its builder.
Pricing: Its GitHub repository describes it as 100% free, and the code is MIT licensed. Checked November 15, 2026 at https://www.pdfcn.dev and https://github.com/shadcn-labs/pdfcn.
Pricing model: Free
Features
- Copy-paste PDF components for React that you own and can edit
- Built on Takumi and Forme, with the same component API on both
- Installs through the shadcn CLI, for example npx shadcn@latest add @pdfcn/takumi/text
- Components for text, headings, tables, lists, QR codes, watermarks, signatures, page headers and numbers, graphs, alerts and cards
- Blocks are full document templates, such as invoices, reports, tickets and shipping labels
- Theme presets that install into PdfcnThemeProvider
- Theme Builder with a live PDF preview
- Works with the shadcn MCP server so your editor can find the components
FAQs
Common questions about pdfcn
What is pdfcn?
Is pdfcn free?
How do I install a component?
What are blocks?
Do I have to pick Takumi or Forme?
What does the Theme Builder do?
Does pdfcn work with AI coding tools?
Featured
Similar products
- Dot Matrixdotmatrix.zzzzshawn.cloud
Open-source React component library of 55+ expressive dot-matrix loaders — install via the shadcn registry and own the code locally.
Looseleafkevintngo.github.io/looseleafMIT-licensed React components that look drawn by hand, with the same parts and props as shadcn/ui.
- useLayoutsuselayouts.com
Free animated React components and micro-interactions built with Framer Motion and Tailwind CSS, designed to work with shadcn/ui.
- Loading UIloading-ui.com
Free, open-source CSS and React loaders, spinners, and animations for building polished, accessible loading states.
- Paperlabpaperlab.nawwara.studio
Physical paper as a React component — real 3D sheets that peel, unroll, fold and hang, dialled in through a visual editor.
snapcnsnapcn.devshadcn registry of Remotion components for React video. Install with the CLI and you own the code. Free MIT components, with a paid Pro tier.




