MudBlazor 7.0.0
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 | :heavy_check_mark: |
7.x.x | .NET 7, .NET 8 | :heavy_check_mark: |
:information_source: Currently only interactive rendering modes are supported - Learn more.
:warning: 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";
}
}
Showing the top 20 packages that depend on MudBlazor.
Packages | Downloads |
---|---|
MudBlazor.ThemeManager
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 them to adapt, fix or extend the framework and the multitude of examples in the documentation makes learning MudBlazor very easy.
|
4 |
MudBlazor.ThemeManager
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 them to adapt, fix or extend the framework and the multitude of examples in the documentation makes learning MudBlazor very easy.
|
7 |
MudBlazor.ThemeManager
Package Description
|
4 |
MudBlazor.ThemeManager
ThemeManager component for MudBlazor to design, test or do live changes to Mudblazor themes.
|
3 |
MudBlazor.ThemeManager
ThemeManager component for MudBlazor to design, test or do live changes to Mudblazor themes.
|
4 |
MudBlazor.ThemeManager
ThemeManager component for MudBlazor to design, test or do live changes to Mudblazor themes.
|
5 |
MudBlazor.ThemeManager
ThemeManager component for MudBlazor to design, test or do live changes to Mudblazor themes.
|
6 |
.NET 7.0
- Microsoft.AspNetCore.Components (>= 7.0.20)
- Microsoft.AspNetCore.Components.Web (>= 7.0.20)
- Microsoft.Extensions.Localization (>= 7.0.20)
.NET 8.0
- Microsoft.AspNetCore.Components (>= 8.0.6)
- Microsoft.AspNetCore.Components.Web (>= 8.0.6)
- Microsoft.Extensions.Localization (>= 8.0.6)
Version | Downloads | Last updated |
---|---|---|
8.0.0-preview.4 | 0 | 30.10.2024 |
8.0.0-preview.3 | 0 | 28.10.2024 |
8.0.0-preview.2 | 0 | 22.10.2024 |
8.0.0-preview.1 | 0 | 13.10.2024 |
7.15.0 | 0 | 29.10.2024 |
7.14.0 | 0 | 22.10.2024 |
7.13.0 | 0 | 17.10.2024 |
7.12.1 | 0 | 14.10.2024 |
7.12.0 | 0 | 14.10.2024 |
7.11.0 | 0 | 12.10.2024 |
7.10.0 | 0 | 11.10.2024 |
7.9.0 | 0 | 10.10.2024 |
7.8.0 | 6 | 22.09.2024 |
7.7.0 | 4 | 22.09.2024 |
7.6.0 | 4 | 22.09.2024 |
7.5.0 | 6 | 22.09.2024 |
7.4.0 | 3 | 22.09.2024 |
7.3.0 | 4 | 20.07.2024 |
7.2.0 | 6 | 22.09.2024 |
7.1.1 | 4 | 22.09.2024 |
7.1.0 | 2 | 22.09.2024 |
7.0.0 | 2 | 22.09.2024 |
7.0.0-rc.2 | 6 | 22.09.2024 |
7.0.0-rc.1 | 6 | 22.09.2024 |
7.0.0-preview.4 | 6 | 22.09.2024 |
7.0.0-preview.3 | 3 | 22.09.2024 |
7.0.0-preview.2 | 3 | 22.09.2024 |
7.0.0-preview.1 | 4 | 22.09.2024 |
6.21.0 | 6 | 22.09.2024 |
6.20.0 | 4 | 22.09.2024 |
6.19.1 | 5 | 15.04.2024 |
6.19.0 | 3 | 22.09.2024 |
6.18.0 | 4 | 22.09.2024 |
6.17.0 | 3 | 22.09.2024 |
6.16.0 | 6 | 22.09.2024 |
6.15.0 | 4 | 22.09.2024 |
6.14.0 | 6 | 22.09.2024 |
6.12.0 | 6 | 22.09.2024 |
6.11.2 | 3 | 22.09.2024 |
6.11.1 | 4 | 22.09.2024 |
6.11.0 | 3 | 22.09.2024 |
6.10.0 | 3 | 22.09.2024 |
6.9.0 | 6 | 22.09.2024 |
6.8.0 | 6 | 22.09.2024 |
6.7.0 | 6 | 22.09.2024 |
6.6.0 | 4 | 22.09.2024 |
6.5.0 | 4 | 22.09.2024 |
6.4.1 | 3 | 22.09.2024 |
6.4.0 | 4 | 22.09.2024 |
6.3.1 | 6 | 22.09.2024 |
6.3.0 | 6 | 22.09.2024 |
6.2.5 | 3 | 22.09.2024 |
6.2.3 | 6 | 22.09.2024 |
6.2.2 | 4 | 22.09.2024 |
6.2.1 | 4 | 22.09.2024 |
6.2.1-dev3 | 3 | 22.09.2024 |
6.2.1-dev2 | 4 | 22.09.2024 |
6.2.0 | 3 | 22.09.2024 |
6.1.10-dev1 | 4 | 22.09.2024 |
6.1.9 | 6 | 22.09.2024 |
6.1.8 | 4 | 22.09.2024 |
6.1.7 | 3 | 22.09.2024 |
6.1.6 | 6 | 22.09.2024 |
6.1.5 | 4 | 22.09.2024 |
6.1.4 | 6 | 22.09.2024 |
6.1.3-dev.1 | 3 | 22.09.2024 |
6.1.2 | 3 | 22.09.2024 |
6.1.0 | 4 | 22.09.2024 |
6.0.19-dev3 | 6 | 22.09.2024 |
6.0.19-dev1 | 6 | 22.09.2024 |
6.0.18 | 4 | 22.09.2024 |
6.0.17 | 4 | 22.09.2024 |
6.0.17-dev.1 | 3 | 22.09.2024 |
6.0.16 | 3 | 22.09.2024 |
6.0.15 | 3 | 22.09.2024 |
6.0.14 | 4 | 22.09.2024 |
6.0.13 | 4 | 22.09.2024 |
6.0.12 | 6 | 22.09.2024 |
6.0.11 | 3 | 22.09.2024 |
6.0.11-dev.4 | 3 | 22.09.2024 |
6.0.11-dev.3 | 3 | 22.09.2024 |
6.0.11-dev.2 | 6 | 22.09.2024 |
6.0.11-dev.1 | 6 | 22.09.2024 |
6.0.10 | 4 | 22.09.2024 |
6.0.10-dev.5 | 4 | 22.09.2024 |
6.0.10-dev.4 | 3 | 22.09.2024 |
6.0.10-dev.3 | 6 | 22.09.2024 |
6.0.10-dev.2 | 6 | 22.09.2024 |
6.0.10-dev.1 | 3 | 22.09.2024 |
6.0.9 | 6 | 22.09.2024 |
6.0.8 | 4 | 22.09.2024 |
6.0.7 | 6 | 22.09.2024 |
6.0.6 | 6 | 22.09.2024 |
6.0.5 | 6 | 22.09.2024 |
6.0.4 | 3 | 22.09.2024 |
6.0.3 | 2 | 22.09.2024 |
6.0.2 | 6 | 22.09.2024 |
5.2.5 | 6 | 22.09.2024 |
5.2.4 | 6 | 22.09.2024 |
5.2.0 | 3 | 22.09.2024 |
5.1.5 | 6 | 22.09.2024 |
5.1.4 | 3 | 22.09.2024 |
5.1.3 | 6 | 22.09.2024 |
5.1.2 | 6 | 22.09.2024 |
5.1.1 | 6 | 22.09.2024 |
5.1.0 | 4 | 22.09.2024 |
5.0.15 | 6 | 22.09.2024 |
5.0.14 | 3 | 22.09.2024 |
5.0.13 | 6 | 22.09.2024 |
5.0.11 | 6 | 22.09.2024 |
5.0.10 | 2 | 22.09.2024 |
5.0.9 | 3 | 22.09.2024 |
5.0.8 | 6 | 22.09.2024 |
5.0.7 | 3 | 22.09.2024 |
5.0.6 | 4 | 22.09.2024 |
5.0.5 | 6 | 22.09.2024 |
5.0.3 | 6 | 22.09.2024 |
5.0.2 | 6 | 22.09.2024 |
5.0.1 | 6 | 22.09.2024 |
5.0.0 | 6 | 22.09.2024 |
2.0.7 | 6 | 22.09.2024 |
2.0.6 | 3 | 22.09.2024 |
2.0.5 | 6 | 22.09.2024 |
2.0.4 | 6 | 22.09.2024 |
2.0.3 | 3 | 22.09.2024 |
2.0.2 | 6 | 22.09.2024 |
2.0.0 | 6 | 22.09.2024 |
1.2.4 | 3 | 22.09.2024 |
1.2.1 | 6 | 22.09.2024 |
1.2.0 | 4 | 22.09.2024 |
1.1.5 | 4 | 22.09.2024 |
1.1.4 | 6 | 22.09.2024 |
1.1.3 | 6 | 22.09.2024 |
1.1.2 | 4 | 22.09.2024 |
1.1.1 | 6 | 22.09.2024 |
1.1.0 | 6 | 22.09.2024 |
1.0.9 | 6 | 22.09.2024 |
1.0.8 | 3 | 22.09.2024 |
1.0.7 | 3 | 22.09.2024 |
1.0.6 | 6 | 22.09.2024 |
1.0.5 | 3 | 22.09.2024 |
1.0.4 | 5 | 22.09.2024 |
1.0.3 | 3 | 22.09.2024 |
1.0.2 | 3 | 22.09.2024 |
1.0.1 | 3 | 22.09.2024 |
1.0.0 | 6 | 22.09.2024 |