MudBlazor 7.0.0-preview.3

Prefix Reserved
This is a prerelease version of MudBlazor.
There is a newer version of this package available.
See the version list below for details.
dotnet add package MudBlazor --version 7.0.0-preview.3
                    
NuGet\Install-Package MudBlazor -Version 7.0.0-preview.3
                    
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="MudBlazor" Version="7.0.0-preview.3" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="MudBlazor" Version="7.0.0-preview.3" />
                    
Directory.Packages.props
<PackageReference Include="MudBlazor" />
                    
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 MudBlazor --version 7.0.0-preview.3
                    
#r "nuget: MudBlazor, 7.0.0-preview.3"
                    
#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 MudBlazor@7.0.0-preview.3
                    
#: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=MudBlazor&version=7.0.0-preview.3&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=MudBlazor&version=7.0.0-preview.3&prerelease
                    
Install as a Cake Tool

<h1> <picture> <source media="(prefers-color-scheme: dark)" srcset="content/MudBlazor-GitHub-NoBg-Dark.png"> <source media="(prefers-color-scheme: light)" srcset="content/MudBlazor-GitHub-NoBg.png"> <img alt="MudBlazor" src="content/MudBlazor-GitHub-NoBg.png"> </picture> </h1>

Material Design components for Blazor

GitHub Workflow Status Codecov GitHub GitHub Repo stars GitHub last commit Contributors Discussions Discord Twitter NuGet version NuGet downloads

MudBlazor is an ambitious Material Design component framework for Blazor with an emphasis on ease of use and clear structure. It is perfect for .NET developers who want to rapidly build web applications without having to struggle with CSS and Javascript. MudBlazor, being written entirely in C#, empowers you to adapt, fix or extend the framework. There are plenty of examples in the documentation, which makes understanding and learning MudBlazor very easy.

Documentation & Demo

Why is MudBlazor so successful?

  • Clean and aesthetic graphic design based on Material Design.
  • Clear and easy to understand structure.
  • Good documentation with many examples and source snippets.
  • All components are written entirely in C#, no JavaScript allowed (except where absolutely necessary).
  • Users can make beautiful apps without needing CSS (but they can of course use CSS too).
  • No dependencies on other component libraries, 100% control over components and features.
  • Stability! We strive for a complete test coverage.
  • Releases often so developers can get their PRs and fixes in a timely fashion.

Prerequisites

MudBlazor .NET Support
1.x.x - 2.0.x .NET 3.1 Ended 03/2021
5.x.x .NET 5 Ended 01/2022
6.x.x .NET 6, .NET 7, .NET 8 ✔️
7.x.x .NET 7, .NET 8 ✔️

ℹ️ Currently only interactive rendering modes are supported - Learn more.

⚠️ Blazor only supports current browser versions. To ensure a seamless experience with MudBlazor, please use an up-to-date web browser. If a browser version is no longer maintained by its publisher, we cannot guarantee compatibility with MudBlazor.

Stats

Alt

Contributing

👋 Thanks for wanting to contribute!
Contributions from the community are what makes MudBlazor successful.

If you are familiar with technologies like C#, Blazor, JavaScript, or CSS, and wish to give something back, please consider submitting a pull request! We try to merge all non-breaking bugfixes and will deliberate the value of new features for the community. Please note there is no guarantee your PR will be merged, so if you want to be sure before investing the work, feel free to contact the team first.

Check out the contribution guidelines to understand our goals and learn more about the internals of the project.

Getting Started

Full installation instructions can be found on our website.
Alternatively use one of our templates from the MudBlazor.Templates repo.

Quick Installation Guide

Install Package

dotnet add package MudBlazor

Add the following to _Imports.razor

@using MudBlazor

Add the following to the MainLayout.razor or App.razor

<MudThemeProvider/>
<MudPopoverProvider/>
<MudDialogProvider/>
<MudSnackbarProvider/>

Add the following to index.html (client-side) or _Host.cshtml (server-side) in the head

<link href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700&display=swap" rel="stylesheet" />
<link href="_content/MudBlazor/MudBlazor.min.css" rel="stylesheet" />

Add the following to index.html or _Host.cshtml in the body

<script src="_content/MudBlazor/MudBlazor.min.js"></script>

Add the following to the relevant sections of Program.cs

using MudBlazor.Services;
builder.Services.AddMudServices();

Usage

<MudText Typo="Typo.h6">MudBlazor is @Text</MudText>
<MudButton Variant="Variant.Filled" Color="Color.Primary" OnClick="ButtonOnClick">@ButtonText</MudButton>

@code {
  public string Text { get; set; } = "????";
  public string ButtonText { get; set; } = "Click Me";
  public int ButtonClicked { get; set; }

  void ButtonOnClick()
  {
      ButtonClicked += 1;
      Text = $"Awesome x {ButtonClicked}";
      ButtonText = "Click Me Again";
  }
}
Product Compatible and additional computed target framework versions.
.NET net7.0 is compatible.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  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 was computed.  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 (217)

Showing the top 5 NuGet packages that depend on MudBlazor:

Package Downloads
MudBlazor.ThemeManager

ThemeManager component for MudBlazor to design, test or do live changes to Mudblazor themes.

CodeBeam.MudBlazor.Extensions

MudBlazor extension components from contributors. Includes 30+ components and utilities.

FenixAlliance.ACL.Dependencies

Application Component for the Alliance Business Suite.

MudBlazor.Markdown

Markdown component for MudBlazor (https://mudblazor.com/)

Blauhaus.EVACS.Admin.Blazor

Package Description

GitHub repositories (64)

Showing the top 20 popular GitHub repositories that depend on MudBlazor:

Repository Stars
fullstackhero/dotnet-starter-kit
Production Grade Cloud-Ready .NET 9 Starter Kit (Web API + Blazor Client) with Multitenancy Support, and Clean/Modular Architecture that saves roughly 200+ Development Hours! All Batteries Included.
kurrent-io/KurrentDB
KurrentDB is a database that's engineered for modern software applications and event-driven architectures. Its event-native design simplifies data modeling and preserves data integrity while the integrated streaming engine solves distributed messaging challenges and ensures data consistency.
dotnet/samples
Sample code referenced by the .NET documentation
fullstackhero/blazor-starter-kit
Clean Architecture Template for Blazor WebAssembly Built with MudBlazor Components.
Nethereum/Nethereum
Ethereum .Net cross platform integration library
enkodellc/blazorboilerplate
Blazor Boilerplate / Starter Template with MudBlazor
asynkron/protoactor-dotnet
Proto Actor - Ultra fast distributed actors for Go, C# and Java/Kotlin
oleg-shilo/cs-script
C# scripting platform
ErsatzTV/ErsatzTV
Stream custom live channels using your own media
Webreaper/Damselfly
Damselfly is a server-based Photograph Management app. The goal of Damselfly is to index an extremely large collection of images, and allow easy search and retrieval of those images, using metadata such as the IPTC keyword tags, as well as the folder and file names. Damselfly includes support for object/face detection.
abpframework/abp-samples
Sample solutions built with the ABP Framework
neozhu/CleanArchitectureWithBlazorServer
This is a repository for creating a Blazor Server dashboard application following the principles of Clean Architecture
DragoQCC/CrucibleC2
A C# Command & Control framework
TheAxelander/OpenBudgeteer
OpenBudgeteer is a budgeting app based on the Bucket Budgeting Principle
Azure-Samples/azure-search-openai-demo-csharp
A sample app for the Retrieval-Augmented Generation pattern running in Azure, using Azure Cognitive Search for retrieval and Azure OpenAI large language models to power ChatGPT-style and Q&A experiences.
supabase-community/supabase-csharp
A C# Client library for Supabase
RatScanner/RatScanner
Rat Scanner a helpful tool for Escape from Tarkov.
petabridge/akkadotnet-code-samples
Akka.NET professional reference code samples
fullstackhero/blazor-wasm-boilerplate
Clean Architecture Boilerplate Template for .NET 6.0 Blazor WebAssembly built for FSH WebAPI with the goodness of MudBlazor Components.
CodeBeamOrg/CodeBeam.MudBlazor.Extensions
Useful third party extension components for MudBlazor, from the contributors.
Version Downloads Last Updated
8.9.0 47,915 7/1/2025
8.8.0 87,151 6/17/2025
8.7.0 148,589 5/30/2025
8.6.0 327,286 4/29/2025
8.5.1 300,339 3/31/2025
8.5.0 18,068 3/30/2025
8.3.0 310,029 2/23/2025
8.2.0 261,545 2/1/2025
8.0.0 202,100 1/18/2025
8.0.0-rc.2 6,297 1/9/2025
8.0.0-preview.7 4,946 12/26/2024
8.0.0-preview.6 2,575 12/17/2024
8.0.0-preview.5 8,808 11/22/2024
8.0.0-preview.4 11,876 10/30/2024
8.0.0-preview.3 742 10/28/2024
8.0.0-preview.2 798 10/22/2024
8.0.0-preview.1 2,377 10/13/2024
7.16.0 142,881 1/17/2025
7.15.0 791,662 10/29/2024
7.14.0 132,862 10/22/2024
7.13.0 139,531 10/17/2024
7.12.1 35,963 10/14/2024
7.12.0 9,704 10/14/2024
7.11.0 24,094 10/12/2024
7.10.0 16,445 10/11/2024
7.9.0 23,586 10/10/2024
7.8.0 407,796 9/6/2024
7.7.0 64,016 9/2/2024
7.6.0 305,721 8/6/2024
7.5.0 68,389 7/31/2024
7.4.0 75,822 7/23/2024
7.3.0 108,288 7/17/2024
7.2.0 28,174 7/15/2024
7.1.1 26,653 7/11/2024
7.1.0 13,003 7/10/2024
7.0.0 121,280 6/29/2024
7.0.0-rc.2 4,016 6/21/2024
7.0.0-rc.1 18,922 6/10/2024
7.0.0-preview.4 4,277 5/27/2024
7.0.0-preview.3 4,891 5/14/2024
7.0.0-preview.2 818 5/9/2024
7.0.0-preview.1 2,533 5/1/2024
6.21.0 370,886 7/6/2024
6.20.0 599,851 6/3/2024
6.19.1 1,026,700 3/22/2024
6.19.0 7,024 3/22/2024
6.18.0 51,473 3/20/2024
6.17.0 232,917 3/4/2024
6.16.0 211,868 2/19/2024
6.15.0 336,265 1/30/2024
6.14.0 120,919 1/22/2024
6.12.0 352,405 1/2/2024
6.11.2 226,821 12/18/2023
6.11.1 361,361 11/21/2023
6.11.0 514,611 10/8/2023
6.10.0 215,363 9/14/2023
6.9.0 231,880 8/18/2023
6.8.0 180,514 8/2/2023
6.7.0 279,043 7/10/2023
6.6.0 87,262 6/29/2023
6.5.0 57,321 6/24/2023
6.4.1 138,458 6/8/2023
6.4.0 9,001 6/7/2023
6.3.1 91,417 5/27/2023
6.3.0 58,295 5/24/2023
6.2.5 64,161 5/17/2023
6.2.3 145,155 5/3/2023
6.2.2 222,220 4/13/2023
6.2.1 50,120 4/12/2023
6.2.1-dev3 2,331 4/4/2023
6.2.1-dev2 1,830 3/30/2023
6.2.0 327,757 3/15/2023
6.1.10-dev1 3,893 3/2/2023
6.1.9 427,460 2/15/2023
6.1.8 194,328 1/27/2023
6.1.7 256,716 1/2/2023
6.1.6 79,545 12/18/2022
6.1.5 72,168 12/11/2022
6.1.4 75,262 12/5/2022
6.1.3-dev.1 2,626 11/22/2022
6.1.2 226,745 11/14/2022
6.1.0 71,437 11/13/2022
6.0.19-dev3 1,726 11/11/2022
6.0.19-dev1 2,572 11/10/2022
6.0.18 64,620 11/9/2022
6.0.17 211,791 10/10/2022
6.0.17-dev.1 4,084 9/22/2022
6.0.16 162,750 9/21/2022
6.0.15 275,509 8/31/2022
6.0.14 317,232 7/28/2022
6.0.13 105,515 7/26/2022
6.0.12 122,602 7/18/2022
6.0.11 260,443 7/1/2022
6.0.11-dev.4 7,544 5/30/2022
6.0.11-dev.3 1,384 5/24/2022
6.0.11-dev.2 578 5/21/2022
6.0.11-dev.1 886 5/20/2022
6.0.10 806,874 5/3/2022
6.0.10-dev.5 981 4/24/2022
6.0.10-dev.4 735 4/21/2022
6.0.10-dev.3 2,052 4/19/2022
6.0.10-dev.2 1,961 4/6/2022
6.0.10-dev.1 415 4/5/2022
6.0.9 246,454 3/29/2022
6.0.8 14,089 3/27/2022
6.0.7 276,597 2/25/2022
6.0.6 471,972 2/3/2022
6.0.5 84,739 1/17/2022
6.0.4 35,116 1/3/2022
6.0.3 3,989 12/31/2021
6.0.2 247,459 11/9/2021
5.2.5 27,240 9/29/2022
5.2.4 61,209 1/7/2022
5.2.0 89,973 10/31/2021
5.1.5 89,404 9/27/2021
5.1.4 58,986 9/13/2021
5.1.3 27,521 9/6/2021
5.1.2 21,729 8/24/2021
5.1.1 11,370 8/20/2021
5.1.0 77,719 7/27/2021
5.0.15 55,738 6/28/2021
5.0.14 43,359 6/21/2021
5.0.13 14,434 6/15/2021
5.0.11 15,962 6/7/2021
5.0.10 20,824 5/24/2021
5.0.9 20,968 5/17/2021
5.0.8 21,181 4/25/2021
5.0.7 31,373 3/29/2021
5.0.6 16,423 3/16/2021
5.0.5 14,224 3/8/2021
5.0.3 11,303 3/1/2021
5.0.2 7,073 2/21/2021
5.0.1 10,512 2/10/2021
5.0.0 8,133 2/6/2021
2.0.7 51,887 3/29/2021
2.0.6 4,139 3/16/2021
2.0.5 2,788 3/8/2021
2.0.4 2,215 3/8/2021
2.0.3 2,222 3/1/2021
2.0.2 2,377 2/21/2021
2.0.0 7,737 2/5/2021
1.2.4 14,440 12/30/2020
1.2.1 4,261 12/17/2020
1.2.0 3,290 12/7/2020
1.1.5 4,342 11/29/2020
1.1.4 2,620 11/23/2020
1.1.3 9,364 11/16/2020
1.1.2 2,174 11/11/2020
1.1.1 2,232 11/5/2020
1.1.0 2,056 11/2/2020
1.0.9 2,221 10/26/2020
1.0.8 2,063 10/23/2020
1.0.7 1,963 10/18/2020
1.0.6 1,933 10/11/2020
1.0.5 2,034 10/8/2020
1.0.4 1,994 10/2/2020
1.0.3 2,122 9/20/2020
1.0.2 2,087 9/20/2020
1.0.1 1,989 9/11/2020
1.0.0 15,654 9/11/2020