OptionalchildrenOptionalchunkRendered when the viewer chunk fails to load. Document-level failures go to onLoadError.
OptionalclassURL of the PDF to render — typically a signed storage URL; data: URLs also work.
OptionalloadingShown while the viewer chunk or the document is loading.
OptionalonFired when the page crossing the middle of the scroll container changes. Requires the viewer's own container to be the scrolling element (give it a bounded height).
OptionalonFired after the document loads, with the page count.
OptionalonFired when the document (or the viewer chunk itself) fails to load.
OptionalonFired each time a page's canvas finishes rendering (also re-fires when zoom changes).
OptionalpageExtra styles for each page wrapper. Spread before the viewer's geometry so padding and position
cannot shift field boxes; avoid transform, zoom and box-sizing, which desync PageRenderInfo.
OptionalpageRender every page at this CSS width, whatever its point size; unset renders at zoom alone.
OptionalscrollerReceives the viewer's own scroll container once it mounts (a zoom control anchoring the reading position).
OptionalstyleOptionalzoomCSS pixels per PDF point (default 1). With pageWidthPx set it multiplies the sheet scale.
Per-page overlay render prop, absolutely positioned over the page.
FieldOverlayfilters bybox.pageitself.