Back

PDFViewer

PDF Viewer

Renders PDFs via PDF.js (loaded on demand from CDN). Supports page navigation and zoom.

— / —
100%

Usage

@media.PDFViewer(media.PDFViewerProps{
    Src:    "/docs/report.pdf",  // URL of the PDF to display
    Height: "600px",             // max-height of the canvas area
    Class:  "",                  // optional extra classes
})