pdf-viewer-svelte
v3.1.0
Published
A simple PDF viewer component for Svelte 5 with TypeScript support
Maintainers
Readme
PDF Viewer Svelte
A simple, lightweight PDF viewer component for Svelte 5 with TypeScript support. Built on top of PDF.js

Usage
Basic Example
<script lang="ts">
import { PDFViewer } from 'pdf-viewer-svelte';
</script>
<PDFViewer url="path/to/your/document.pdf" />Requirements
- Svelte 5.x
- pdfjs-dist is included as a dependency
Example
To run the example
pnpm install
pnpm run exampleLicense
MIT
Contributing
Contributions are welcome! Please feel free to submit a PR.
