Pdfx
A React PDF component library with pre-built, themeable components and a CLI for seamless PDF document creation.
Install / Use
/learn @akii09/PdfxREADME
PDFx
Pre-built PDF components for React. Copy them into your project, own them completely. Built on @react-pdf/renderer. No runtime dependency on PDFx.
Get started
npx pdfx-cli init
npx pdfx-cli add heading text badge
import { Document, Page } from '@react-pdf/renderer';
import { Heading, Text, Badge } from './components/pdfx';
export default () => (
<Document>
<Page>
<Heading level={1}>Invoice #1042</Heading>
<Badge label="Paid" variant="success" />
<Text>Thank you for your business.</Text>
</Page>
</Document>
);
Documentation
Visit pdfx.akashpise.dev for the full docs, component previews, and block templates.
Contributing
Please read the contributing guide before opening a PR.
License
MIT © Akii

