# VadimDez/ng2-pdf-viewer

📄 PDF Viewer Component for Angular

Repository: https://github.com/VadimDez/ng2-pdf-viewer
Canonical: https://ross.abutalabs.com/products/ng2-pdf-viewer
Homepage: https://vadimdez.github.io/ng2-pdf-viewer/
Language: TypeScript
License: MIT
License Family: permissive
Topics: pdf-viewer-component, pdf, pdf-viewer, angular2, angular, angular12
Last push: 2026-02-05T23:13:35+00:00

## Health v2 (maintenance only)
Score: 64/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 66, release rhythm 40, longevity 100
- inputs: {"age_days": 3725, "days_push": 209, "days_rel": 640, "gap_med": 22.5, "n_releases_24m": 5}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1349, forks 438 (observed 2026-08-28T04:04:27.896754+00:00)

## What it is
ng2-pdf-viewer is an Angular component library for rendering PDF files in web applications, built on top of PDF.js. It supports features like text rendering, search, zoom, rotation, and page navigation.

## Use cases
- display pdf documents in an angular app
- render pdf files in the browser
- add pdf viewer with zoom and rotation to angular
- search text inside a pdf in a web app
- show pdf from url or local file in angular component
- embed pdf preview in angular dashboard

## When to choose
- you are building an Angular application and need to display PDFs inline
- you need PDF features like text layer, search, zoom, and rotation out of the box
- you want a maintained MIT-licensed component with versioned support for Angular 4 through 12+

## When to avoid
- you are not using Angular (consider react-pdf, vue-pdf, or PDF.js directly)
- you need to generate or edit PDFs rather than view them
- you need a server-side PDF rendering solution

## Facets
- artifact type: library
- maturity: active
- function: pdf-viewer, ui-components, frontend-framework
- domain: pdf, frontend, web-development
- platform: -
- tags: angular, pdf-rendering, pdfjs, typescript, web-server, nodejs

## Member repositories
- VadimDez/ng2-pdf-viewer (main) score 64

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:27.896754+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-30T04:42:20.334312+00:00, confidence not recorded.
  - readme: https://github.com/VadimDez/ng2-pdf-viewer (fetched 2026-08-28T04:04:27.896754+00:00, sha 9991af9164ac)
  - homepage: https://vadimdez.github.io/ng2-pdf-viewer/ (fetched 2026-08-29T12:01:35.073787+00:00, sha 1b5a0b1071ef)
  - registry_npm: https://registry.npmjs.org/ng2-pdf-viewer (fetched 2026-08-29T12:01:35.082649+00:00, sha 0de562357ebd)
- Data as of 2026-08-30T08:39:29.467469+00:00.
