DocsSvelteOverview

Svelte PDF Viewer

EmbedPDF offers two ways to add PDF viewing to your Svelte application. Choose the approach that fits your project.

Which should I choose?

Use CaseRecommendation
I need a viewer up and running in minutesDrop-in Viewer
I want to match my app’s design system exactlyHeadless Components
I need a simple document previewDrop-in Viewer
I’m building a document editor or annotation toolHeadless Components
I want the smallest possible bundle sizeHeadless Components
I don’t want to write any UI codeDrop-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.