React PDF viewer
A React component to view a PDF document (by react-pdf-viewer)
react-pdf
Display PDFs in your React app as easily as if they were images. (by wojtekmaj)
React PDF viewer | react-pdf | |
---|---|---|
12 | 28 | |
2,470 | 10,242 | |
1.5% | 1.6% | |
9.3 | 8.6 | |
10 months ago | 5 days ago | |
TypeScript | TypeScript | |
GNU General Public License v3.0 or later | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
React PDF viewer
Posts with mentions or reviews of React PDF viewer.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2024-06-02.
-
How to Display a PDF in Next.js Using React PDF Viewer?
You can refer this documentation to get started: Getting started — React PDF Viewer
-
Best library for showing a pdf in react
Ref: https://react-pdf-viewer.dev/
- A React PDF Viewer
-
Can't Get a GQL Mutation to Run!
I have a GQL mutation that updates the data for an event, I want to request an update when a .pdf document is loaded. For loading PDFs I'm using React PDF Viewer the package provides an event called onDocumentLoad which gets called when a .pdf file is successfully loaded.
-
How to serve your Datastream directly to your PDF Viewer
React PDF Viewer
-
Can't Use React PDF Viewer
I have a small modal window that displays the contents of a .pdf file, I am using React PDF Viewer for this.
-
React PDF Viewer
What is the great selling point compare to use the native PDF view builtin to all modern browsers?
I really hate it when websites tries to be smart about PDF viewing. The builtin view is much better and faster.
The demo at https://react-pdf-viewer.dev is just not as good as opening the PDF directly in the browser.
-
React PDF viewer component rerenders constantly
I am using a React PDF viewer in my project. I have a react mui dialog component that I use with react draggable to drag it around.
react-pdf
Posts with mentions or reviews of react-pdf.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2025-05-29.
-
Open Source PDF Viewer Using Chrome's PDF Engine (MIT and WebAssembly)
Looks great! Would be wonderful if someone added this to https://github.com/wojtekmaj/react-pdf
-
33 React Libraries Every React Developer Should Have In Their Arsenal
23.react-pdf
23. react-pdf
-
Building a Document Viewer with react-pdf
There are actually two npm packages called "react-pdf": one is for displaying PDFs and one is for generating PDFs. Today we are focusing on the one to generate PDFs: https://github.com/wojtekmaj/react-pdf.
-
Help regarding printing receipts
Not sure if that would work for youck, I used react-pdf to format the size and text required within the document before printing.
-
react-pdf not rendering PDF
I am trying to load a PDF from my src/assets folder, following the example from here I have the following code:
-
Why asp.net core is not popular like Spring boot or nodejs, although it's better than both in all aspects?
Then I suddenly had an idea. Im sure React/client side has a JS library! And indeed, both react-pdf and a few satellite libraries had exactly what I needed.
- First React app: Error on PDF reading
-
Help with unit testing
Hmm, that's tricky. Maybe mocking the PDF return can help here: https://github.com/wojtekmaj/react-pdf/issues/564?
-
Is possible react-pdf get pagination in 4.x?
My project stick with IE, so I using [email protected], I find out the example for doing this codesandbox but it was been limited, by using 5.1 and upper.
What are some alternatives?
When comparing React PDF viewer and react-pdf you can also consider the following projects:
Monaco Editor - A browser based code editor
react-resizable-and-movable - 🖱 A resizable and draggable component for React.
quill - Quill is a modern WYSIWYG editor built for compatibility and extensibility
react-joyride - Create guided tours in your apps
Editor.js - A block-style editor with clean JSON output
react-simple-chatbot - :speech_balloon: Easy way to create conversation chats