MudBlazor 7.0.0-preview.3
Prefix ReservedSee 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
<PackageReference Include="MudBlazor" Version="7.0.0-preview.3" />
<PackageVersion Include="MudBlazor" Version="7.0.0-preview.3" />
<PackageReference Include="MudBlazor" />
paket add MudBlazor --version 7.0.0-preview.3
#r "nuget: MudBlazor, 7.0.0-preview.3"
#:package MudBlazor@7.0.0-preview.3
#addin nuget:?package=MudBlazor&version=7.0.0-preview.3&prerelease
#tool nuget:?package=MudBlazor&version=7.0.0-preview.3&prerelease
<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
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
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 | Versions 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. |
-
net7.0
- Microsoft.AspNetCore.Components (>= 7.0.17)
- Microsoft.AspNetCore.Components.Web (>= 7.0.17)
- Microsoft.Extensions.Localization (>= 7.0.17)
-
net8.0
- Microsoft.AspNetCore.Components (>= 8.0.3)
- Microsoft.AspNetCore.Components.Web (>= 8.0.3)
- Microsoft.Extensions.Localization (>= 8.0.3)
NuGet packages (355)
Showing the top 5 NuGet packages that depend on MudBlazor:
| Package | Downloads |
|---|---|
|
CodeBeam.MudBlazor.Extensions
MudBlazor extension components from contributors. Includes 30+ components and utilities. |
|
|
MudBlazor.ThemeManager
ThemeManager component for MudBlazor to design, test or do live changes to Mudblazor themes. |
|
|
MudBlazor.Markdown
Markdown component for MudBlazor (https://mudblazor.com/) |
|
|
MudBlazor.Extensions
MudBlazor.Extensions is a small extension library for MudBlazor from https://mudblazor.com/ |
|
|
Heron.MudCalendar
A simple but powerful calendar component for MudBlazor. |
GitHub repositories (79)
Showing the top 20 popular GitHub repositories that depend on MudBlazor:
| Repository | Stars |
|---|---|
|
abpframework/abp
Open-source web application framework for ASP.NET Core! Offers an opinionated architecture to build enterprise software solutions with best practices on top of the .NET. Provides the fundamental infrastructure, cross-cutting-concern implementations, startup templates, application modules, UI themes, tooling and documentation.
|
|
|
RayWangQvQ/BiliBiliToolPro
B 站(bilibili)自动任务工具,支持docker、青龙、k8s等多种部署方式。全面拥抱AI。敏感肌也能用。
|
|
|
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.
|
|
|
mono/SkiaSharp
SkiaSharp is a cross-platform 2D graphics API for .NET platforms based on Google's Skia Graphics Library. It provides a comprehensive 2D API that can be used across mobile, server and desktop models to render images.
|
|
|
MattParkerDev/SharpIDE
A modern, cross platform IDE for .NET, built with .NET & Godot
|
|
|
dotnet/samples
Sample code referenced by the .NET documentation
|
|
|
fullstackhero/blazor-starter-kit
Clean Architecture Template for Blazor WebAssembly Built with MudBlazor Components.
|
|
|
ErsatzTV/legacy
Open-source platform that transforms your personal media library into live, custom TV channels.
|
|
|
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
|
|
|
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
|
|
|
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.
|
|
|
gustavnavar/Grid.Blazor
Grid component with CRUD for Blazor (client-side and server-side) and ASP.NET Core MVC
|
|
|
supabase-community/supabase-csharp
A C# Client library for Supabase
|
|
|
NikiforovAll/keycloak-authorization-services-dotnet
Authentication and Authorization with Keycloak and ASP.NET Core 🔐
|
|
|
RatScanner/RatScanner
Rat Scanner a helpful tool for Escape from Tarkov.
|
| Version | Downloads | Last Updated |
|---|---|---|
| 9.8.0 | 21,304 | 8/5/2026 |
| 9.7.0 | 286,692 | 7/9/2026 |
| 9.6.0 | 285,885 | 6/27/2026 |
| 9.5.0 | 661,142 | 5/26/2026 |
| 9.4.0 | 728,567 | 4/22/2026 |
| 9.3.0 | 344,271 | 4/8/2026 |
| 9.2.0 | 394,679 | 3/18/2026 |
| 9.1.0 | 480,047 | 3/3/2026 |
| 9.0.0 | 612,752 | 2/19/2026 |
| 9.0.0-rc.1 | 43,772 | 2/11/2026 |
| 9.0.0-preview.2 | 18,166 | 1/14/2026 |
| 9.0.0-preview.1 | 11,619 | 12/20/2025 |
| 8.15.0 | 2,422,445 | 11/23/2025 |
| 8.14.0 | 448,908 | 11/5/2025 |
| 8.13.0 | 772,487 | 10/1/2025 |
| 8.12.0 | 832,148 | 9/2/2025 |
| 8.11.0 | 827,804 | 8/4/2025 |
| 8.10.0 | 310,150 | 7/19/2025 |
| 8.9.0 | 402,997 | 7/1/2025 |
| 7.0.0-preview.3 | 6,101 | 5/14/2024 |