# wojtekmaj/react-pdf

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

Repository: https://github.com/wojtekmaj/react-pdf
Canonical: https://ross.abutalabs.com/products/wojtekmaj-react-pdf
Homepage: https://projects.wojtekmaj.pl/react-pdf
Language: TypeScript
License: MIT
License Family: permissive
Topics: react, pdf, pdf-viewer
Last push: 2026-08-20T19:47:43+00:00

## Health v2 (maintenance only)
Score: 94/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 98, release rhythm 86, longevity 100
- inputs: {"age_days": 3684, "days_push": 13, "days_rel": 13, "gap_med": 53.0, "n_releases_24m": 11}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 11153, forks 1002 (observed 2026-08-28T04:10:46.255569+00:00)

## What it is
A React component library for rendering and displaying PDF documents in web applications, built on top of Mozilla's PDF.js. It lets developers show PDFs as easily as images, with support for pages, annotations, and customization.

## Use cases
- display pdf files in a react app
- render pdf pages in a react component
- embed a pdf viewer in my web app
- show resume pdfs in browser
- build a pdf preview component
- view pdf documents without downloading

## When to choose
- you use React and need to display PDFs inline in your app
- you want a maintained, popular wrapper around PDF.js with a simple component API
- you need control over page rendering, zoom, and PDF interactions in the browser

## When to avoid
- you need to create, edit, or generate PDFs rather than display them
- you're not using React and want a standalone viewer
- you need server-side PDF manipulation or extraction

## Facets
- artifact type: library
- maturity: stable
- function: pdf-viewer, ui-components
- domain: pdf, frontend, web-development
- platform: browser
- tags: react, pdfjs, pdf-rendering, viewer-component, web-server, nodejs

## Member repositories
- wojtekmaj/react-pdf (main) score 94

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:10:46.255569+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:16:44.820007+00:00, confidence not recorded.
  - readme: https://github.com/wojtekmaj/react-pdf (fetched 2026-08-28T04:10:46.255569+00:00, sha e63c5d1fc98e)
  - homepage: https://projects.wojtekmaj.pl/react-pdf (fetched 2026-08-29T08:15:37.446674+00:00, sha 75328143fce2)
- Data as of 2026-08-30T08:39:29.467469+00:00.
