For the complete documentation index, see llms.txt. This page is also available as Markdown.
UIAccessibilityViewing

WebViewer Dark Mode Showcase Demo Code Sample

Requirements

These packages are required to use these features in production. Trial keys have unlimited access to all features

Web SDKLive demo

Easily add Dark/Light mode toggle in WebViewer.

This demo allows you to:

  • Instantly switch the UI between dark and light modes.

  • Use a single line of code to toggle themes.

Implementation steps

To add Dark/Light UI themes in WebViewer:

Step 1: Get started with WebViewer in your preferred web stack. Step 2: Add the ES6 JavaScript sample code provided in this guide.

Once you generate your license key, it will automatically be included in your sample code below.

spinner