<div align="center"> <a href="https://www.embedpdf.com"> <img alt="EmbedPDF logo" src="https://www.embedpdf.com/logo-192.png" height="96"> </a>
npm install embedpdf-snippet-i18n
The easiest way to embed PDF files in your website with a complete, ready‑to‑use interface.
into a professional PDF reader. No build step, no framework lock‑in—just copy, paste, and you’re done.
$3
- Complete UI out‑of‑the‑box – toolbar, thumbnails, search, zoom & more
- Zero build tooling – works in plain HTML pages or alongside any JS framework
- 30‑second setup – a single is all you need
- Fully configurable – tweak behavior with a lightweight options object
- Runs everywhere – modern browsers, frameworks, static sites & CMSes
---
⚡️ Quick Install
Add the CDN module and point it at a container:
``html filename="index.html" copy
`
That’s it—refresh and enjoy a full‑featured viewer.
---
🛠 Basic Usage Pattern
1. Container – create a DOM element where the viewer will render.
2. Import – load embedpdf.js from the CDN with type="module".
3. Initialize – call EmbedPDF.init() with your configuration.
$3
`html filename="basic-example.html" copy
My PDF Viewer
``
📄 License
EmbedPDF Snippet is MIT licensed. Commercial use is welcome—just keep the copyright headers intact.