Skip to content
React PDF Viewer

Search

Playground

Try every option of the viewer live, on bundled samples, your own URL or a local file, and watch its events.

What this shows

Every switch in the options panel maps to one prop, so you can see the effect of a feature before you read its page:

Source

The playground is a regular React component built on the public API: apps/site/src/islands/Playground.tsx.

Try it with your own data

Paste any CORS-enabled PDF URL into the URL tab, or drop a PDF anywhere on the page. Local files never leave your browser.