Gotho.BlazorPdf
1.0.2-alpha
See the version list below for details.
dotnet add package Gotho.BlazorPdf --version 1.0.2-alpha
NuGet\Install-Package Gotho.BlazorPdf -Version 1.0.2-alpha
<PackageReference Include="Gotho.BlazorPdf" Version="1.0.2-alpha" />
<PackageVersion Include="Gotho.BlazorPdf" Version="1.0.2-alpha" />
<PackageReference Include="Gotho.BlazorPdf" />
paket add Gotho.BlazorPdf --version 1.0.2-alpha
#r "nuget: Gotho.BlazorPdf, 1.0.2-alpha"
#:package Gotho.BlazorPdf@1.0.2-alpha
#addin nuget:?package=Gotho.BlazorPdf&version=1.0.2-alpha&prerelease
#tool nuget:?package=Gotho.BlazorPdf&version=1.0.2-alpha&prerelease
Blazor PDF
Blazor PDF is a simple yet powerful PDF viewer build for Blazor.
Prerequisites
In order to use this package, your project must target .NET Version 8.0 or 9.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 was computed. 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. |
-
net8.0
- Microsoft.AspNetCore.Components (>= 8.0.14)
- Microsoft.AspNetCore.Components.Web (>= 8.0.14)
-
net9.0
- Microsoft.AspNetCore.Components (>= 9.0.3)
- Microsoft.AspNetCore.Components.Web (>= 9.0.3)
NuGet packages (2)
Showing the top 2 NuGet packages that depend on Gotho.BlazorPdf:
| Package | Downloads |
|---|---|
|
MudBlazor.Extensions
MudBlazor.Extensions is a small extension library for MudBlazor from https://mudblazor.com/ |
|
|
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.2.0 | 29,043 | 12/22/2025 |
| 2.1.0 | 193 | 12/20/2025 |
| 2.1.0-rc1 | 180 | 12/20/2025 |
| 2.0.0 | 2,770 | 11/20/2025 |
| 2.0.0-rc1 | 452 | 11/20/2025 |
| 1.1.2 | 19,849 | 8/10/2025 |
| 1.1.1 | 3,424 | 7/12/2025 |
| 1.1.0 | 4,986 | 4/5/2025 |
| 1.1.0-rc.1 | 195 | 4/1/2025 |
| 1.1.0-alpha.3 | 181 | 4/1/2025 |
| 1.1.0-alpha.2 | 183 | 3/30/2025 |
| 1.1.0-alpha.1 | 178 | 3/30/2025 |
| 1.0.3 | 225 | 3/28/2025 |
| 1.0.3-alpha.1 | 171 | 3/27/2025 |
| 1.0.2 | 402 | 3/23/2025 |
| 1.0.2-alpha | 351 | 3/23/2025 |
| 1.0.1 | 239 | 3/21/2025 |
| 1.0.0-beta | 164 | 3/21/2025 |