README 未给出安装命令,需先查阅官方 Installation 文档确认依赖与初始化步骤
pdfcn
shadcn-labsMIT活跃维护用 React/JSX 写 PDF 的组件库,底层基于 Rust 的 Takumi 和 Forme,一条命令零配置接入,省去手写 PDF 布局的麻烦。
Beautiful pdf components, built on Takumi and Forme. 100% Free, Zero config, one command setup.
README 未给出具体安装命令,仅指向 https://pdfcn.vercel.app/docs/installationREADME 未说明
基于 React 的可复制粘贴 PDF 组件库,帮你快速拼出报表和发票
用 React/JSX 写 PDF 的组件库,底层基于 Rust 的 Takumi 和 Forme,一条命令零配置接入,省去手写 PDF 布局的麻烦。
核心能力
- 基于 Takumi 或 Forme 两套渲染底座生成 PDF
- 沿用 shadcn/ui 的 registry 格式与 CLI 工作流
- 提供表格、表单、图表、发票、报告等组件与区块
- 组件和区块在文档中实时预览效果
- 代码归你所有,可自由改 props 和共享主题
容易踩的坑
暂无 release 数据(可能没有发版,或尚未同步)。
用户点评
登录用户的真实使用记录,可按版本和硬件筛选还没有人点评。第一个说出真实体验的人最有价值。
Features
- ⚡ Two rendering bases — Generate PDFs with Takumi or Forme
- 🎯 Zero config — Works out of the box with sensible defaults
- 👀 Live previews — Render every component and block directly in the documentation
- 🎨 Fully customizable — Sensible props and shared themes; you own the code
- 📦 shadcn/ui compatible — Uses the same registry format and CLI workflow
- 🧩 Composable — Build documents from focused React components and renderer primitives
- 📄 Components and blocks — Tables, forms, charts, invoices, reports, and more
Community
The pdfcn community lives on GitHub, where you can ask questions, share ideas, and show what you've built.
Contributing
Contributions are welcome. See CONTRIBUTING.md to get the repo running locally and land a change, and use issues and discussions to collaborate. By participating, you agree to the Code of Conduct.
Security
Please do not open public issues for security vulnerabilities. Follow SECURITY.md and report them privately through GitHub Security Advisories.
License
Credits
Contributors
Made with contrib.rocks