Some test text!

menu
New UI Betakeyboard_arrow_down

New UI Beta

WebViewer is being updated with a brand new UI. You can see a live demo here.

If you wish to try running the beta version yourself, see how to below.

linkPrerequisite

Download the latest version, WebViewer 6.3.

linkHow to Enable

Set the ui option to beta in the WebViewer constructor. Afterwards, WebViewer should load with the new UI.

WebViewer({
  ui: 'beta',
  initialDoc: 'path/to/doc.pdf',
}, document.getElementById('viewer'))

linkDark Mode

New UI dark mode

The ui defaults to light theme, but dark theme can be enabled by calling the setTheme API.

Webviewer({
  ui: 'beta',
  initialDoc: 'path/to/doc.pdf',
}, document.getElementById('viewer'))
  .then(instance => {
    instance.setTheme('dark');
  });

linkAPIs

All of the APIs should be the same or very similar to the existing UI. If you notice anything missing or not working as expected please let us know.

Get the answers you need: Support

close

Free Trial

Get unlimited trial usage of PDFTron SDK to bring accurate, reliable, and fast document processing capabilities to any application or workflow.

Select a platform to get started with your free trial.

Unlimited usage. No email address required.

Join our live demo to learn about use cases & capabilities for WebViewer

Learn more
close