Gotho.BlazorPdf
2.0.0
dotnet add package Gotho.BlazorPdf --version 2.0.0
NuGet\Install-Package Gotho.BlazorPdf -Version 2.0.0
<PackageReference Include="Gotho.BlazorPdf" Version="2.0.0" />
<PackageVersion Include="Gotho.BlazorPdf" Version="2.0.0" />
<PackageReference Include="Gotho.BlazorPdf" />
paket add Gotho.BlazorPdf --version 2.0.0
#r "nuget: Gotho.BlazorPdf, 2.0.0"
#:package Gotho.BlazorPdf@2.0.0
#addin nuget:?package=Gotho.BlazorPdf&version=2.0.0
#tool nuget:?package=Gotho.BlazorPdf&version=2.0.0
Blazor PDF
Blazor PDF is a simple yet powerful PDF viewer built for Blazor.
Prerequisites
In order to use this package, your project must target .NET Version 8.0, 9.0 or 10.0
Installation
Grab the package from nuget.org;
dotnet add package Gotho.BlazorPdf
Configure
Add the following to your application startup in Program.cs;
builder.Services.AddBlazorPdfViewer();
Update your App.razor file to import the required CSS;
<link href="_content/Gotho.BlazorPdf/blazorpdf.min.css" rel="stylesheet"/>
Then, add the namespace to your _Imports.razor file.
@using Gotho.BlazorPdf
You should now be fully setup to use the PdfViewer component in your code!
Usage & Examples
Please see the documentation site for detailed examples
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- Microsoft.AspNetCore.Components (>= 10.0.0)
- Microsoft.AspNetCore.Components.Web (>= 10.0.0)
-
net8.0
- Microsoft.AspNetCore.Components (>= 8.0.22)
- Microsoft.AspNetCore.Components.Web (>= 8.0.22)
-
net9.0
- Microsoft.AspNetCore.Components (>= 9.0.11)
- Microsoft.AspNetCore.Components.Web (>= 9.0.11)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Gotho.BlazorPdf:
| Package | Downloads |
|---|---|
|
Gotho.BlazorPdf.MudBlazor
A simple, yet powerful Blazor PDF viewer (MudBlazor version) |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 2.0.0 | 508 | 11/20/2025 |
| 2.0.0-rc1 | 418 | 11/20/2025 |
| 1.1.2 | 12,687 | 8/10/2025 |
| 1.1.1 | 3,336 | 7/12/2025 |
| 1.1.0 | 3,805 | 4/5/2025 |
| 1.1.0-rc.1 | 157 | 4/1/2025 |
| 1.1.0-alpha.3 | 154 | 4/1/2025 |
| 1.1.0-alpha.2 | 152 | 3/30/2025 |
| 1.1.0-alpha.1 | 142 | 3/30/2025 |
| 1.0.3 | 199 | 3/28/2025 |
| 1.0.3-alpha.1 | 139 | 3/27/2025 |
| 1.0.2 | 370 | 3/23/2025 |
| 1.0.2-alpha | 303 | 3/23/2025 |
| 1.0.1 | 195 | 3/21/2025 |
| 1.0.0-beta | 126 | 3/21/2025 |