The viewer renders long and scanned PDFs with virtualized pages, PDFium-backed rendering, text selection, search, thumbnail navigation, uploads, rotation, download, and numeric or fit-based zoom.
Pass a URL through src or let the user upload a file. renderPageOverlay can add citations, signature fields, or other page-relative layers. The imperative handle can scroll to a page or page area, and active-page and load callbacks let the host synchronize surrounding UI.
Give the viewer an explicit height. Remote files must allow browser fetching. If the project's ScrollArea does not expose the conventional viewport data slot, provide resolveScrollAreaViewport.
