Skip to content
프로젝트

소개

미리 구축된 테마 지정 가능 컴포넌트와 PDF 문서를 원활하게 생성할 수 있는 CLI를 제공하는 React PDF 컴포넌트 라이브러리입니다.

웹 및 앱 개발

이 수치를 측정하는 방법

측정된 스타 증가

in 24h
0
in 7 days
-2
in 15 days
0
in 1 month
0

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

PDFx

Beta npm

Pre-built PDF components for React. Copy them into your project, own them completely. Built on @react-pdf/renderer. No runtime dependency on PDFx.

PDFx Demo

Get started

npx pdfx-cli init
npx pdfx-cli add heading text badge

Already using shadcn? Same components, namespaced so they never collide with heading / table from shadcn/ui. Requires an existing components.json (npx shadcn@latest init first). Leave {name} as a placeholder:

npx shadcn@latest registry add @pdfx=https://getpdfx.dev/r/shadcn/{name}.json
npx shadcn@latest add @pdfx/heading @pdfx/text @pdfx/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 getpdfx.dev for the full docs, component previews, and block templates.

Releases

Contributing

Please read the contributing guide before opening a PR.

License

MIT © Akii

Sponsors

PDFx is proudly sponsored by:

PDFx Builder

Interested in sponsoring? Open an issue to get in touch.

관련 프로젝트 살펴보기

불러오는 중…