🌐
React PDF Viewer
react-pdf-viewer.dev
A React component to view PDF documents - React PDF Viewer
A React component to view PDF documents
Basic usage
However, if you use the Webpack ... and the `pdfjs-dist` package can be automated. There are two ways to archive that: ... If you use the viewer component in different pages, it's recommended to place the `Worker` at the layout level. For example, in a typical React application, ...
Getting started
React PDF Viewer is powered by React hooks completely.
🌐
GitHub
github.com › react-pdf-viewer › react-pdf-viewer
GitHub - react-pdf-viewer/react-pdf-viewer: A React component to view a PDF document
A React component to view a PDF document. It's written in TypeScript, and powered by React hooks completely. // Core viewer import { Viewer } from '@react-pdf-viewer/core'; // Plugins import { defaultLayoutPlugin } from '@react-pdf-viewer/d...
Starred by 2.6K users
Forked by 295 users
Languages   TypeScript 97.5% | CSS 2.5%
Discussions

Best library for showing a pdf in react
If you don't need direct control over the PDF in any way, then just use an IFrame. It'll make the browser use their default viewer, which is generally a pretty decent one. There's also one made by Mozilla ( PDF.js ), but any PDF viewer is going to be pretty heavy in terms of code size. More on reddit.com
🌐 r/reactjs
24
33
December 2, 2022
Cannot find module '@react-pdf-viewer/core' or its corresponding type declarations.
There was an error while loading. Please reload this page · how to fix it, I use NextJS More on github.com
🌐 github.com
5
February 1, 2024
PDF Viewer
Most browsers can show PDF perfectly out of the box. Just put source of your PDF in and it will: Show that file is loading on slow connection Show file, if it is supported Show fallback if it is not supported All with few lines of HTML like this: Sorry, your browser doesn't support PDF preview. Download More on reddit.com
🌐 r/reactjs
8
6
September 25, 2024
PDF Viewer libs for React, that works on mobile
Can’t you simply use the browser’s built-in functionality to display a PDF? More on reddit.com
🌐 r/react
19
9
March 9, 2025
🌐
npm
npmjs.com › package › react-pdf
react-pdf - npm
October 9, 2025 - Latest version: 10.2.0, last published: 2 months ago. Start using react-pdf in your project by running `npm i react-pdf`. There are 985 other projects in the npm registry using react-pdf.
      » npm install react-pdf
    
Published   Oct 09, 2025
Version   10.2.0
Author   Wojciech Maj
🌐
CodeSandbox
codesandbox.io › examples › package › @react-pdf-viewer › core
@react-pdf-viewer/core examples - CodeSandbox
Use this online @react-pdf-viewer/core playground to view and fork @react-pdf-viewer/core example apps and templates on CodeSandbox.
🌐
Socket
socket.dev › npm › package › @nyazkhan › react-pdf-viewer
@nyazkhan/react-pdf-viewer - npm Package Security Analysis -...
July 28, 2025 - A comprehensive React TypeScript component library for viewing and interacting with PDF files using Mozilla PDF.js. Features include text selection, highlighting, search, sidebar, multiple view modes, and complete PDF.js web viewer functionality.
🌐
React-pdf
react-pdf.org
React-pdf
React renderer for creating PDF files on the browser and server
Find elsewhere
🌐
Syncfusion
help.syncfusion.com › document-processing › pdf › pdf-viewer › react › getting-started
Getting started with Standalone React PDF Viewer component| Syncfusion
If you’re using TypeScript (TSX), add it in src/index.tsx to render the PDF Viewer component. ... import * as ReactDOM from 'react-dom/client'; import * as React from 'react'; import './index.css'; import { PdfViewerComponent, Toolbar, Magnification, Navigation, LinkAnnotation, BookmarkView, ThumbnailView, Print, TextSelection, Annotation, TextSearch, FormFields, FormDesigner, Inject} from '@syncfusion/ej2-react-pdfviewer'; function App() { return (<div> <div className='control-section'> {/* Render the PDF Viewer */} <PdfViewerComponent id="container" documentPath="https://cdn.syncfusion.com
🌐
PDF.js Express
pdfjs.express › documentation › react
React PDF.js Viewer: Annotate, Form Fill, Sign | PDF.js Express
PDF.js Express is a commercial PDF web viewer that wraps around the PDF.js open-source rendering engine. It offers developers a way to quickly add annotation, e-signatures, and form filling to their React PDF viewer.
🌐
Syncfusion
syncfusion.com › pdf-viewer-sdk › react-pdf-viewer
React PDF Viewer | View, Annotate, Fill, and Sign PDFs | Syncfusion®
October 12, 2025 - React PDF Viewer SDK lets users load, view, review, and print PDF files. It supports searching and copying text, easy navigation, and more.
🌐
React PDF
react-pdf.dev
React PDF Viewer – Fast & Customisable for React/Next.js
React PDF Viewer gives you a fast, customisable, and web‑responsive PDF component for React & Next.js — full search, print, zoom & Context API control.
🌐
Apryse
apryse.com › blog › build-custom-react-pdf-viewer-v2
Build a React PDF Viewer |Apryse
In this blog, we will cover how to build a customizable and feature-rich PDF Viewer in React.
Published   October 14, 2024
🌐
Telerik
telerik.com › components › overview
React PDF Viewer Overview - KendoReact
React PDF Viewer allows users to view and interact with PDF files directly in the browser, without downloads and extensions.
🌐
JSR
jsr.io › @vvelediaz › react-pdf-viewer
@vvelediaz/react-pdf-viewer - JSR
📄 Universal PDF Support - Display PDFs from URLs, File objects, or ArrayBuffers · 🔍 Advanced Zoom Controls - Zoom from 50% to 300% with smooth scaling · 🖥️ Classic Mac OS X Aqua Design - Authentic Aqua interface with brushed metal toolbars · ⬅️➡️ Page Navigation - Intuitive page controls with jump-to-page functionality · 📜 Multiple View Modes - Single page or continuous scroll viewing · ⚡ High Performance - Efficient rendering with react-pdf
🌐
Nutrient
nutrient.io › blog › sdk › how to build a reactjs pdf viewer with react pdf
React PDF viewer: Complete guide to building with react-pdf in 2025
August 12, 2025 - Learn to build a React PDF viewer with the popular react-pdf library and compare it with Nutrient’s React PDF library.
🌐
GitHub
github.com › react-pdf-viewer › react-pdf-viewer › issues › 1709
Cannot find module '@react-pdf-viewer/core' or its corresponding type declarations. · Issue #1709 · react-pdf-viewer/react-pdf-viewer
February 1, 2024 - react-pdf-viewer / react-pdf-viewer Public · Notifications · You must be signed in to change notification settings · Fork 293 · Star 2.6k · New issueCopy link · New issueCopy link · Open · Open · Cannot find module '@react-pdf-viewer/core' or its corresponding type declarations.#1709 ·
Published   Feb 01, 2024
🌐
React PDF
blog.react-pdf.dev › top-6-pdf-viewers-for-reactjs-developers-in-2025
Best React PDF Viewer Libraries 2025
July 18, 2025 - If you want a simple, budget-friendly solution for PDF viewing in React, start with an open-source library like PDF.js or react-pdf. For more advanced features, polished UI, or enterprise needs, a paid library like React PDF, React PDF Viewer, or Syncfusion is better.
🌐
DEV Community
dev.to › mfts › building-a-beautiful-document-viewer-with-react-pdf-666
Building a Document Viewer with react-pdf - DEV Community
March 9, 2025 - That's it! We've built a beautiful PDF Viewer component for displaying PDF documents using react-pdf, and Next.js.