{
  "$schema": "https://ai.syncfusion.com/schema/registry-item.json",
  "name": "pdf-viewer-default",
  "framework": "blazor",
  "type": "registry:component",
  "component": "PdfViewer",
  "variant": "default",
  "dependencies": [
    "Syncfusion.Blazor.PdfViewer"
  ],
  "description": "PDF Viewer renders a document in a fixed-height viewer for browsing PDF content with the standard viewer interface.",
  "meta": {
    "essentialStudioRelease": "2026 Volume 2 (v34.1.29)",
    "license": "commercial-or-community",
    "licenseNote": "The Syncfusion package is licensed. The composition in this file is source you own and edit. See https://ai.syncfusion.com/licensing.md",
    "requiresLicenseKey": true,
    "requiresServerEndpoint": false,
    "platformIndex": "https://ai.syncfusion.com/blazor/llms.txt",
    "skillPack": "syncfusion/blazor-ui-components-skills",
    "docs": "https://ai.syncfusion.com/gallery/blazor/pdf-viewer-default.md"
  },
  "files": [
    {
      "target": "src/components/pdf-viewer-default/PdfViewer.razor",
      "content": "@page \"/default\"\n@using Syncfusion.Blazor.SfPdfViewer\n\n<div class=\"control-section\">  \n    <div class=\"pdf-viewer-shell @(pdfReady ? \"visible\" : \"\")\">\n            <SfPdfViewer2 Height=\"640px\"\n                          Width=\"100%\"\n                          DocumentPath=\"@DocumentPath\">\n                <PdfViewerEvents DocumentLoaded=\"OnPdfLoaded\" />           \n            </SfPdfViewer2>\n    </div>\n</div>\n@code {\n    private string DocumentPath { get; set; } = string.Empty;\n    private bool pdfReady = false;\n    SfPdfViewer2 viewer2;\n    private bool isSpinnerVisible = true;\n    protected override void OnInitialized()\n    {\n        //Sets the PDF document path for initial loading.\n        DocumentPath = \"https://cdn.syncfusion.com/content/pdf/pdf-succinctly.pdf\";\n    }\n    private void OnPdfLoaded()\n    {\n        isSpinnerVisible = false;\n        pdfReady = true;\n    }\n}"
    }
  ]
}