Skip to content
JS
Package

@react-pdf-viewer/attachment

A React component to view a PDF document

v3.12.0, 21 Mar 2023https://react-pdf-viewer.dev/licenseCommonJSTypes: BundledPDF and documentsReact
$ npm install @react-pdf-viewer/attachment

Key numbers

As of 25 Sept 2026
Weekly downloads
162.7k
- over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
1
Direct, from package.json
Last release
3 years ago
v3.12.0
GitHub stars
2.6k
299 forks
Open issues / PRs
359 / 15
Contributors
-
Commits, last 52 weeks
0

No weekly download data in the snapshot.

162,694 downloads last week, 763,945 in the last month. No 52-week series has been fetched yet.

Releases, last 12 months
-
Latest version
3.12.0, 21 Mar 20233 years ago
First published
-
Last push to GitHub
19 Aug 2024766 days before the snapshot
Repository archived
Yes
Open issues
359
Open pull requests
15
Commits, last 52 weeks
0
Dependents on npm
4

Major versions

-

Recent releases

-

Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
13 kB
Dependencies (1)
@react-pdf-viewer/core
Peer dependencies (2)
reactreact-dom
npm install @react-pdf-viewer/attachment
  • jsDelivrhttps://cdn.jsdelivr.net/npm/@react-pdf-viewer/attachment@3.12.0/
  • unpkghttps://unpkg.com/@react-pdf-viewer/attachment@3.12.0/
  • esm.shhttps://esm.sh/@react-pdf-viewer/attachment@3.12.0
PackageWeekly downloadsGzipLast releaseModuleComparison
react-pdf4.7m-14 days agoESM only-
@pdfme/common139.2k-9 days agoESM only-
@pdfme/schemas129.1k-9 days agoESM only-
@pdfme/generator118.1k-9 days agoESM only-
@pdfme/ui63k-9 days agoESM only-
@pdfme/converter62.1k-9 days agoESM only-
@pdfme/manipulator7.4k-9 days agoESM only-
@embedpdf/react-pdf-viewer158.1k-8 days agoESM + CommonJS-
Sources: npm registry, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.