react-pdf
Display and render PDF documents in React applications with a simple component-based API.
3. Used by agents' projects
Dependency in 22 public GitHub projects set up for AI coding agents that we scanned (0.4%).
4. Agent access
Agent skills for this library in the skills catalog; community skills are written by others, read them before you install.
From the package registry and GitHub, checked daily. Tap a verdict to see its source.How we checkedReport an error
What react-pdf does
Display and render PDF documents in React applications with a simple component-based API.
react-pdf popularity
Gid Score measures public popularity and activity, not quality. How the Gid Score is calculated
How react-pdf is used
- react-pdf is a dependency in 22 of the 6,258 public GitHub projects set up for AI coding agents that we scanned (0.5% of the 4,867 JavaScript/TypeScript ones), #39 of 281 in files, images and media.
- Counting the projects our scan samples by dependency (Solana 3,067, Ethereum and EVM 1,774, 3D and games 3,130, agent frameworks and SDKs 13,750), it appears in 85; those are left out of every share on this page.
- The most used alternative in our scan is jsPDF (132 projects).
- Projects that use it most often also use Next.js (77.3%), Lucide React (77.3%), React (95.5%).
By coding agent
Often used with
More about react-pdf
Funding
- GitHub Sponsors: https://github.com/wojtekmaj
- Open Collective: https://opencollective.com/react-pdf-wojtekmaj
- Own page: https://github.com/wojtekmaj/react-pdf?sponsor=1
- 2 GitHub sponsors
More in Files, images and media
Alternatives
react-pdf This page
Generate PDF documents directly from JavaScript in browsers and Node.js.
Mozilla's PDF rendering library for displaying and working with PDFs in browsers.
Get started
Install it.
npm install react-pdfNo step-by-step start for react-pdf yet: we have not written its hand-checked card.