The best react-pdf alternatives
6 tools that do a similar job to react-pdf, 6 of them open source. Each entry says what it does and who it suits, so you can pick the one that fits instead of the most famous.
- 1

jsPDF
Open source · MIT · ★ 31.3k
A JavaScript library that creates PDF files in the browser or in Node.js.
Best for: Web developers who need to let users download a generated PDF from a page; Node.js developers who want to write PDF files from a script
- 2

PDFKit
Open source · MIT · ★ 10.7k
JavaScript library for generating PDF documents in Node and the browser.
Best for: Node.js developers who need to generate PDFs such as invoices or reports from application data; Developers building PDF output that must run in a browser without a server round trip
- 3

react-three-fiber
Open source · MIT · ★ 33.4k
A React renderer that lets you build Three.js 3D scenes as React components.
Best for: React developers who want to add 3D scenes to a web app; Developers who already know Three.js and want a component-based structure
- 4

Ink
Open source · MIT · ★ 40.2k
React components for building interactive command-line apps in the terminal.
Best for: JavaScript or TypeScript developers who already know React; Teams building interactive command-line tools with live-updating output
- 5

react-pdf
Open source · MIT · ★ 11.2k
A React library for showing PDF files in a web app, like images.
Best for: Developers adding PDF display to an existing React app; Teams that want an MIT-licensed PDF viewing option
- 6

PixiJS
Open source · MIT · ★ 48.6k
A JavaScript library for fast 2D graphics, animation and interactive content in the browser.
Best for: Web developers building interactive 2D graphics or animations; Developers making browser-based 2D games
How we pick: tools in the same category that solve the same problem, projects that name each other as alternatives, and open-source projects that describe themselves as an alternative to react-pdf. We don't take payment for placement.