@gembox/pdfviewer
v2026.11.103
Published
The PDF Viewer is a library designed to embed PDF document viewing capabilities into web applications. It offers a range of interactive features, allowing users to navigate, zoom, or search through PDF documents effectively.
Maintainers
Readme
What is GemBox.PdfViewer?
GemBox.PdfViewer is a customizable JavaScript UI component that enables you to display, print, and save PDF files in your web applications with just few lines of code.
With GemBox.PdfViewer you get a fast and reliable PDF viewer that's easy to set up.
GemBox.PdfViewer features
- Easy to set up and use, with just a few lines of code.
- Rich customization options.
- Royalty-free licensing model.
- Cross-browser compatibility: accurate and reliable rendering on all modern web browsers.
- Responsive design: adapts to any screen size or device for flawless user experience.
- Multiple framework support: easy integration into JavaScript, ASP.NET Core, Angular, React, Vue.js, and Svelte applications.
- Navigation: users can use navigation input, navigation buttons, bookmark, thumbnail, hyperlink, table of contents, or just scrolling to easily navigate to where they want.
- Zoom in and out with the mouse wheel, keyboard, touch, or dropdown menu. It also allows users to pick sizes based on their screen to view the PDF much easier.
- Search through PDF content. Search results will be highlighted and users can easily navigate through the results.
- The PDF viewer is localized into multiple languages. You can also specify your own translations.
- Choose from various color themes or pick a dark theme.
- Customize the user interface of the PDF viewer. Choose which UI elements will be visible.
- Insert free text directly on any page of a document.
- Draw freely with a pen-like hand-drawing tool in your PDFs.
- Insert images: diagrams, logos, signatures, or any other visual elements that you need.
- Digitally sign your PDFs and enhance their security and authenticity.
Get Started
You can set up the PDF viewer with just few lines of code:
<div id="viewer" style="width: 600px; height: 350px"></div>
<script type="module">
import { GemBoxPdfViewer} from '@gembox/pdfviewer';
import '@gembox/pdfviewer/dist/es/pdfviewer.css';
GemBoxPdfViewer.setLicense("FREE-LIMITED-KEY");
GemBoxPdfViewer.create({ container: "#viewer" });
</script>For more GemBox.PdfViewer code examples and demos, please visit our examples page.

