
pdfcn (2026): Build Beautiful React PDF Documents From Components
pdfcn (shadcn-labs, MIT, 2,102 GitHub stars) explained through its official documentation and published benchmarks. Two Rust/WASM engines sit at the core - Takumi (Apache-2.0) and Forme (MIT) - and neither launches a browser or subprocess. An 80-line invoice renders cold in 176ms and warm in 26ms, against react-pdf at 236ms. Covers 20 blocks from six invoice styles to shipping labels, 24 components and 9 themes, with practical uses from payslips to e-invoicing.







