JSPM

pdfnative-react

0.1.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 37
  • Score
    100M100P100Q72063F
  • License MIT

React renderer for pdfnative — declarative JSX components (<Document>, <Page>, <Table>, <Barcode>…) that compile to PDF on-device with zero SaaS round-trips. Live preview, streaming, 22 Unicode scripts. The frontend gateway to the pdfnative ecosystem.

Package Exports

  • pdfnative-react
  • pdfnative-react/package.json

Readme

pdfnative-react

npm version License: MIT TypeScript pdfnative

Preview release. 0.1.0 reserves the package name. The declarative React renderer lands in 0.2.0 — follow the repository for progress.

Write PDFs the way you write UIs. pdfnative-react turns declarative JSX into real, on-device PDF documents powered by the zero-dependency pdfnative engine — no SaaS round-trips, your documents never leave the process.

// Coming in 0.2.0
import { Document, Page, Heading, Text, Table, usePdf } from 'pdfnative-react';

function Invoice() {
  return (
    <Document title="Invoice #1024">
      <Page>
        <Heading level={1}>Invoice #1024</Heading>
        <Text>Thank you for your business.</Text>
        <Table
          headers={['Item', 'Qty', 'Total']}
          rows={[['Pro plan', '1', '$49.00']]}
        />
      </Page>
    </Document>
  );
}

The pdfnative ecosystem

Package Use it for
pdfnative The zero-dependency PDF engine — Node, browsers, Workers, Deno, Bun.
pdfnative-react Declarative React/JSX components with live preview (this package).
pdfnative-cli Render, sign, inspect, and verify PDFs from the shell.
pdfnative-mcp Generate PDFs from Claude Desktop, Cursor, Continue, Zed.

License

MIT © 2026 Nizoka — Plika