Gotho.MudBlazor.PdfViewer 2.1.0

dotnet add package Gotho.MudBlazor.PdfViewer --version 2.1.0
                    
NuGet\Install-Package Gotho.MudBlazor.PdfViewer -Version 2.1.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Gotho.MudBlazor.PdfViewer" Version="2.1.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Gotho.MudBlazor.PdfViewer" Version="2.1.0" />
                    
Directory.Packages.props
<PackageReference Include="Gotho.MudBlazor.PdfViewer" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Gotho.MudBlazor.PdfViewer --version 2.1.0
                    
#r "nuget: Gotho.MudBlazor.PdfViewer, 2.1.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Gotho.MudBlazor.PdfViewer@2.1.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Gotho.MudBlazor.PdfViewer&version=2.1.0
                    
Install as a Cake Addin
#tool nuget:?package=Gotho.MudBlazor.PdfViewer&version=2.1.0
                    
Install as a Cake Tool

Mud PDF

Originally a port of the BlazorBootstrap PDF viewer, Mud PDF is a simple yet powerful PDF solution for MudBlazor.

Installation

Grab the package from nuget.org;

dotnet add package Gotho.MudBlazor.PdfViewer --version 2.1.0

Configure

Add the following to your application startup in Program.cs;

builder.Services.AddMudBlazorPdfViewer();

Update your App.razor file to import the required CSS;

<link href="_content/Gotho.MudBlazor.PdfViewer/mudpdf.min.css" rel="stylesheet"/>

Then, add the namespace to your _Imports.razor file.

@using MudBlazor.PdfViewer

You should now be fully setup to use the MudPdfViewer component in your code!

Prerequisites

In order to use this package, your project will need to be configured with the following;

  • MudBlazor Version 8.0.0 or later
  • .NET Version 8.0 or 9.0

Usage & Examples

Please see the documentation site for detailed examples

Product 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Gotho.MudBlazor.PdfViewer:

Package Downloads
MudraX.Blazor.Core

MudraX Blazor Core Library

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
2.1.0 525 2/28/2025
2.0.0 192 2/22/2025
1.1.0 136 2/15/2025
1.0.1 130 2/8/2025