WebViewer is a JavaScript-based PDF SDK for building document functionality in web apps.

SDK Features

Industry

card-icon

UI Customization

subcard-icon
Custom UI
keyboard_arrow_down

A demo of the UI flexibility of WebViewer, a JavaScript-based PDF SDK for web apps. Easily hide buttons, change colors, or use your own icons via simple APIs.

Add or remove features in the UI:

check
Dark Theme
check
Download PDF
check
Print PDF
check
Text selection
check
Annotation Tools
keyboard_arrow_down
check
Highlight tools
check
Underline tools
check
Strikeout tools
check
Squiggly tools
check
Sticky
check
Free text
check
Shape Tools
check
Free hand tools
check
Eraser tool
check
Overlays
keyboard_arrow_down
check
Header
check
View modes
check
Left panel
check
Search panel
check
Overflow menu
check
Page number

Code snippet


const wvElement = document.getElementById('viewer');
WebViewer({ ...options }, wvElement)
   .then(instance => {
    
    
    instance.UI.setTheme('dark')
   })
  

For more info on configuring the WebViewer UI, please see this guide

subcard-icon
Flipbook / Magazine