pdfcn: shadcn-Style React Components for PDF Generation

Repositoryshadcn-labs/pdfcnTool

pdfcn is an open-source component library for generating PDFs in React. Built on Takumi and Forme, it adopts the copy-paste philosophy and CLI registry workflow of shadcn/ui.

Key points

  1. Provides ready-to-use React components and blocks for invoices, forms, charts, tables, and reports.
  2. Supports two distinct rendering backends: Takumi and Forme.
  3. Adopts the same registry format and CLI workflow as shadcn/ui for zero-configuration setup.
  4. Developers own the code directly via copy-and-paste primitives and shared themes.
  5. Includes live documentation previews for all available components and blocks.

Why it matters

Generating high-quality PDFs inside React apps historically involved fragmented tooling or intricate configurations. pdfcn streamlines document creation by bringing shadcn/ui's modular, zero-config component patterns to the PDF domain.

Analysis

The project addresses React developers who need polished PDF documents (such as invoices or reports) without sacrificing component composability. Under the hood, it pairs TypeScript and React with modern rendering engines (Takumi and Forme, leveraging Rust and WebAssembly according to repository topics). With over 1,000 GitHub stars, an MIT license, comprehensive documentation, and active community channels, pdfcn shows solid early maturity.

Found in

Summary generated by AI (Gemini 3.8 Flash, 27 September 2026). It may contain errors – the original source is authoritative.

Similar in content, found by the AI search.

  • X post:Aniket Pawar

    pdfcn: Open-Source PDF Component Registry for shadcn/ui

    Aniket Pawar has launched pdfcn, an open-source registry of PDF components. Built on Takumi and Forme, it adopts the copy-paste architecture popularized by shadcn/ui.

    2.8kbookmarks116.8kviews

    Web development· Tool

  • X post:Shadcn Labs

    pdfcn: Customisable PDF components for shadcn/ui

    Shadcn Labs highlighted pdfcn, a component library for designing accessible and customisable PDF documents. The library is built on Takumi and Forme and designed to work with shadcn/ui.

    935bookmarks109.4kviews

    Web development· Tool

  • Repository:TheOrcDev/shadscan

    shadscan: Deterministic UI audits for shadcn apps

    shadscan is an open-source CLI tool and static analyser for React applications using shadcn/ui. It scores UI fundamentals against 62 rules across terminals, CI pipelines, and AI agent environments.

    538starsTypeScript

    Web development· Tool

Let's talk about your project

Locations

  • Mattersburg
    Johann Nepomuk Bergerstraße 7/2/14
    7210 Mattersburg, Austria
  • Vienna
    Ungargasse 64-66/3/404
    1030 Wien, Austria

Parts of this content were created with the assistance of AI.