Introduction
LumiPDF is a high-performance React PDF viewer built on PDF.js. It ships virtualized rendering, search, annotations, and a clean TypeScript API.
What you get
- DocumentViewer - drop-in React component with toolbar and sidebar
- Virtualized page rendering for large documents
- Full-text search with match navigation
- Annotations: highlight, ink, shapes, free text
- Light, dark, auto, and sepia themes
- Optional compatibility layer for gradual migration
Requirements
- React 18 or 19
pdfjs-dist^4.7 (peer dependency)- A modern browser with canvas support
Open source
LumiPDF is MIT licensed. Install with npm install lumipdf, try the playground, or jump to the quick start.
Next steps
- Installation - add the package and styles
- Quick start - render your first PDF
- API reference - props and imperative methods