AstrolUI AstrolUI
Yellow Orange Red Green Blue Purple Custom color
Light mode
Installation

1. Installation process

Note
AstrolPDFViewer relies on the basic components package of AstrolUI.

Install the Astrol.Component.PDFViewer package from the AstrolUI NuGet or reference the project to your solution.
Add the AstrolUi NuGet repository to the NuGet Package Manager Configuration of your Visual Studio.
Source: https://nuget.astrolui.com/v3/index.json (Refer to documentation on how to configure package sources in Visual Studio)

No script is needed: the component loads pdf.js 4.10.38 (≈1.7 MB) by itself and only when a viewer is on screen, once per app; other pages do not download it. If you are upgrading from an earlier version, remove this line from your index.html (WebAssembly) or App.razor / _Host.cshtml (Blazor Server):

<!-- Remove this line: it is no longer needed -->
<script src="_content/Astrol.Component.PDFViewer/js/astrol-pdf.js"></script>
Markdown for AI © 2026 AstrolUI v10.0.13