Skip to content
React PDF Viewer

Search

Keyboard shortcuts reference

Keys the component handles, generated from @shortcut tags next to the implementation.

Used by

Import

Commands

NameTypeDefaultRequiredDescription
00—NoReset zoom to defaultScale.
PageUpPageUp—NoPrevious page.
PageDownPageDown—NoNext page.
ArrowLeftArrowLeft—NoPrevious page; a zoomed page scrolls horizontally first.
ArrowRightArrowRight—NoNext page; a zoomed page scrolls horizontally first.
HomeHome—NoFirst page.
EndEnd—NoLast page.
+ + —NoZoom in (= also works).
--—NoZoom out (_ also works).
rr—NoRotate clockwise.
Shift+RShift + R—NoRotate counter-clockwise.
ff—NoToggle fullscreen.
Ctrl+FCtrl + F—NoFocus the search field (⌘+F on macOS); Enter and Shift+Enter step through matches, Escape clears.

Source

packages/react-pdf-viewer/src/types.ts

Generated from content/react-pdf-viewer/reference/keyboard-shortcuts.schema.json. Do not edit by hand.