Skip to content
JS
Comparison

react-pdf vs @react-pdf-viewer/core

PDF and documentsPackage data 25 Sept 2026
react-pdfv11.0.0, 10 Sept 2026

Display PDFs in your React app as easily as if they were images.

$ npm install react-pdf
@react-pdf-viewer/corev3.12.0, 21 Mar 2023

A React component to view a PDF document

$ npm install @react-pdf-viewer/core
Metricreact-pdf@react-pdf-viewer/coreDifference
Weekly downloads4,732,505282,364react-pdf 16.8x higher
12-month download growth+202%--
Gzip size---
Minified size---
Dependencies90react-pdf 9 more
Unpacked size329 kB337 kBreact-pdf 2% smaller
Latest release11.0.0, 10 Sept 20263.12.0, 21 Mar 2023react-pdf 3.5 years more recent
Releases, last 12 months6--
First published30 Sept 2014--
GitHub stars11,1772,602react-pdf 4.3x higher
Open issues7359@react-pdf-viewer/core 352 more
Open pull requests915@react-pdf-viewer/core 6 more
Contributors---
Commits, last 52 weeks1710react-pdf higher
TypeScript typesBundledBundledSame
Module formatESM onlyCommonJSDiffers
Runtimes---
LicenseMIThttps://react-pdf-viewer.dev/licenseDiffers

Green marks the smaller size or the more recent release. Bold marks the higher count, with no judgement implied. Sizes are for the whole package per Bundlephobia. Growth compares the average of the last 4 weeks with the first 4 weeks of the 52-week series.

react-pdf4.7m latest week
Week of 23 Sept 2025Week of 15 Sept 2026
Weekly npm downloads, 52 weeks. Y axis starts at zero. Values are not smoothed.

react-pdf

Major versions
  1. 0.0.130 Sept 2014
  2. 1.6.03 Mar 2017
  3. 2.0.05 Sept 2017
  4. 3.0.018 Mar 2018
  5. 4.0.023 Nov 2018
  6. 5.0.027 Aug 2020
  7. 6.0.08 Nov 2022
  8. 7.0.024 May 2023
  9. 8.0.030 Apr 2024
  10. 9.0.029 May 2024
  11. 10.0.026 Jun 2025
  12. 11.0.010 Sept 2026
Last 5 releases
  1. 11.0.010 Sept 2026
  2. 10.5.020 Aug 2026
  3. 10.4.125 Feb 2026
  4. 10.4.021 Feb 2026
  5. 10.3.030 Dec 2025
108 releases in total, 6 in the last 12 months

@react-pdf-viewer/core

Major versions
  1. -
Last 5 releases
  1. -
Release count not fetched
react-pdf

-

@react-pdf-viewer/core

-

react-pdf

-

@react-pdf-viewer/core

-

  • Need no runtime dependencies@react-pdf-viewer/core (react-pdf has 9, @react-pdf-viewer/core has 0)
  • Need both ESM and CommonJS entry pointsNeither (react-pdf: ESM only; @react-pdf-viewer/core: CommonJS)
  • Need to load it with require()@react-pdf-viewer/core
  • Need TypeScript types in the package itselfBoth
  • Need the more recent releasereact-pdf (11.0.0 on 10 Sept 2026 vs 3.12.0 on 21 Mar 2023)
  • Higher weekly npm downloadsreact-pdf (4.7m vs 282.4k)
  • Licensereact-pdf: MIT; @react-pdf-viewer/core: https://react-pdf-viewer.dev/license

Each line is generated from the data above.

@react-pdf-viewer/core: @react-pdf-viewer/core npm registry, @react-pdf-viewer/core GitHub. Data fetched 25 Sept 2026.

Indexability: Indexed.