Configuration

Toolbar Options

Configure which toolbar features are visible.

Control which buttons and features are visible in the PDF viewer toolbar.

All Options

OptionTypeDefaultDescription
sidebarbooleantrueThumbnail sidebar toggle
pageNavigationbooleantruePage navigation controls
zoombooleantrueZoom controls
searchbooleantrueSearch tool
rotatebooleantrueRotate button
openFilebooleanfalseOpen file button
printbooleantruePrint button
downloadbooleantrueDownload button
fullscreenbooleantrueFullscreen button
themeTogglebooleantrueTheme toggle button
moreOptionsbooleantrueMore options menu

Show/hide the thumbnail sidebar toggle button.

toolbar: {
  sidebar: true
}

Show/hide page navigation controls (previous/next buttons and page input).

toolbar: {
  pageNavigation: true
}

zoom

Show/hide zoom controls (zoom in, zoom out, zoom level selector).

toolbar: {
  zoom: true
}

Show/hide the full-text search functionality.

toolbar: {
  search: true
}

rotate

Show/hide the rotate button.

toolbar: {
  rotate: true
}

openFile

Show/hide the open file button. Disabled by default for security.

toolbar: {
  openFile: false
}
Enabling this allows users to open any local PDF file. Only enable if needed.

print

Show/hide the print button.

toolbar: {
  print: true
}

download

Show/hide the download button.

toolbar: {
  download: true
}

fullscreen

Show/hide the fullscreen toggle button.

toolbar: {
  fullscreen: true
}

themeToggle

Show/hide the light/dark theme toggle.

toolbar: {
  themeToggle: true
}

moreOptions

Show/hide the "more options" dropdown menu.

toolbar: {
  moreOptions: true
}
Copyright © 2026