Skip to main content
7M+ downloads · since 2018 · Angular 10–20

The Angular PDF viewer,
finally fun to explore.

40+ inputs, 19 events, zero runtime dependencies. Flip a control, watch the real <ng2-pdfjs-viewer> react, and copy the exact code — or open it live in StackBlitz.

40+inputs
19events
0runtime deps
v10–20Angular
3 / 14125%dark

Trace-based JIT Type Specialization

A. Gal, B. Eich, M. Shaver — PLDI '09

Why Choose ng2-pdfjs-viewer?

The most mature and reliable Angular PDF viewer solution with continuous updates and long-term support

🚀

Always Up-to-Date

Built on the latest PDF.js v5.3.93 with continuous updates and Angular 20+ compatibility. Stay current with modern web standards.

🏗️

️ Enterprise-Ready

Production-tested architecture with comprehensive error handling, performance optimization, and strict TypeScript support.

🎨

Highly Customizable

Advanced theme system, custom templates, and flexible configuration. Use Angular templates for loading and error states.

📱

Mobile Optimized

Touch-friendly interface with responsive design for all screen sizes.Mobile-first approach ensures great UX everywhere.

High Performance

Event-driven architecture with universal action dispatcher. No polling, timeouts, or defensive programming patterns.

🔧

Developer Friendly

Complete API coverage, comprehensive documentation, and easy integration.19+ methods with consistent Promise-based returns.