https://github.com/subedigaurav/ngx-pdf-viewer
headless pdf viewer for angular applications
https://github.com/subedigaurav/ngx-pdf-viewer
Last synced: 3 months ago
JSON representation
headless pdf viewer for angular applications
- Host: GitHub
- URL: https://github.com/subedigaurav/ngx-pdf-viewer
- Owner: subedigaurav
- License: mit
- Created: 2026-02-17T17:46:07.000Z (4 months ago)
- Default Branch: master
- Last Pushed: 2026-02-17T18:11:12.000Z (4 months ago)
- Last Synced: 2026-02-17T23:20:57.580Z (4 months ago)
- Language: TypeScript
- Size: 108 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- fucking-awesome-angular - ngx-pdf-viewer - A lightweight PDF viewer library for Angular applications. (Third Party Components / PDF)
- awesome-angular - ngx-pdf-viewer - A lightweight PDF viewer library for Angular applications. (Third Party Components / PDF)
README
# ngx-pdf-viewer
A lightweight PDF viewer library for angular applications.
[](https://angular.dev)
[](https://www.typescriptlang.org/)
## Features
- **Angular 21+** — Built for modern Angular applications
- **Lightweight** — Minimal dependencies, optimized bundle size
- **Type-safe** — Full TypeScript support
- **Standalone** — Uses Angular standalone components (no NgModules required)
## Installation
```bash
pnpm add @subedigaurav/ngx-pdf-viewer
```
Or with npm:
```bash
npm install @subedigaurav/ngx-pdf-viewer
```
## Usage
Import the standalone component in your Angular application:
```typescript
import { PdfViewerComponent } from '@subedigaurav/ngx-pdf-viewer';
@Component({
selector: 'app-document-viewer',
standalone: true,
imports: [PdfViewerComponent],
template: ``,
})
export class DocumentViewerComponent {
pdfSrc = 'https://example.com/document.pdf';
}
```