Vue PDF Viewer
EmbedPDF offers two ways to add PDF viewing to your Vue application. Choose the approach that fits your project.
Drop-in ViewerA complete, pre-built PDF viewer with toolbar and thumbnails. Import, configure, done.Headless ComposablesBuild a completely custom viewer using our composables and unstyled components. Total UI freedom.
Which should I choose?
| Use Case | Recommendation |
|---|---|
| I need a viewer up and running in minutes | Drop-in Viewer |
| I want to match my app’s design system exactly | Headless Composables |
| I need a simple document preview | Drop-in Viewer |
| I’m building a document editor or annotation tool | Headless Composables |
| I want the smallest possible bundle size | Headless Composables |
| I don’t want to write any UI code | Drop-in Viewer |
Technology
Both options are powered by the same high-performance engine:
- PDFium via WebAssembly — The same rendering engine used in Google Chrome
- Virtualization — Only renders visible pages, handling 1000+ page documents smoothly
- First-class TypeScript — Full type definitions for a great developer experience
- Tree-shakeable — Import only what you use
Ready to get started? Pick your path above!
Last updated on December 22, 2025
Need Help?
Join our community for support, discussions, and to contribute to EmbedPDF's development.