Description
ng2-pdfjs-viewer is an Angular component for showing PDF files inside an app, built on Mozilla's PDF.js. You add one component tag to a template and get a full viewer with page navigation, zoom, view modes, a toolbar you can trim, and light, dark or auto themes. The component has more than 40 inputs and 19 events, and the site says they are two-way bound and live. PDFs can come from a URL, a blob, raw bytes or a file upload. Auto actions cover printing and downloading, and you can set custom loading spinners, error templates and localisation. The site lists zero runtime dependencies and support for Angular versions 10 to 22. A live playground on the docs site lets you change settings and copy the code, or open the example in StackBlitz. The site reports more than 9 million downloads. It is aimed at Angular developers who need PDF viewing in their own product.…
Highlights
- Single Angular component for PDF viewing
- Page, zoom, spread and rotation controls
- Light, dark and auto themes
- Loads PDFs from URL, blob, bytes or upload
- Zero runtime dependencies
Ratings & Reviews
No ratings yet
Be the first to rate Ng2 Pdfjs Viewer.
People also visit

ng2-pdfjs-viewer
An Angular component for PDFJS and ViewerJS (Supports all versions of Angular)
Ng2 Pdfjs Viewer FAQ
What is ng2-pdfjs-viewer?
An Angular PDF viewer component powered by Mozilla PDF.js. You add it to an app with a single tag.
Which Angular versions does it support?
The site lists Angular 10 to 22.
Does it have dependencies?
The site says it has zero runtime dependencies.
Where can I try it?
The docs site has a live playground where you can change settings and copy the code, and examples can be opened in StackBlitz.
Where is the source?
On GitHub at github.com/intbot/ng2-pdfjs-viewer.
What are the best Ng2 Pdfjs Viewer alternatives?
Popular alternatives to Ng2 Pdfjs Viewer include NGX Extended PDF Viewer, Firefox PDF Viewer (PDF.js) and React PDF. See all Ng2 Pdfjs Viewer alternatives








