Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork1.6k
Blazor Component Library based on Material Design principles with an emphasis on ease of use and extensibility
License
MudBlazor/MudBlazor
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
Build stunning, interactive web applications with MudBlazor — the open-source Material Design library for Blazor.
🌐Documentation ⚡Interactive Playground
📖 Comprehensive documentation and examples
🎨 Beautiful Material Design components
💻 Write in C# with minimal JavaScript
✅ Extensive test coverage
Use one of ourtemplates, or follow the quick install guide below:
Install Package:
dotnet add package MudBlazor
Add to_Imports.razor:
@usingMudBlazorAdd toMainLayout.razor orApp.razor:
<MudThemeProvider/><MudPopoverProvider/><MudDialogProvider/><MudSnackbarProvider/>
Add to HTMLhead section (index.html/_Layout.cshtml/_Host.cshtml/App.razor):
<linkhref="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700&display=swap"rel="stylesheet" /><linkhref="_content/MudBlazor/MudBlazor.min.css"rel="stylesheet" />
Add to the default Blazor script at the end of the HTMLbody section:
<scriptsrc="_content/MudBlazor/MudBlazor.min.js"></script>
Add toProgram.cs:
usingMudBlazor.Services;
builder.Services.AddMudServices();
<MudTextTypo="Typo.h6"> MudBlazor is@Text</MudText><MudButtonVariant="Variant.Filled"Color="Color.Primary"OnClick="ButtonOnClick">@ButtonText</MudButton>@code{stringText{get;set;}="????";stringButtonText{get;set;}="Click Me";intClickCount{get;set;}voidButtonOnClick(){ClickCount+=1;Text=$"Awesome x {ClickCount}";ButtonText="Click Me Again";}}
For more details, see thefull installation guide.
Contributions from the community are what make MudBlazor successful.
💬 Feel free to chat with uson Discord to get feedback before diving in.
📚 Check out ourcontribution guidelines to get started and learn more about how the project works.
🧪 If a PR fixes something you reported,locally test it to ensure your app works as expected.
| MudBlazor | .NET | Support |
|---|---|---|
| 5.x.x | .NET 5 | Ended Jan 2022 |
| 6.x.x | .NET 6,.NET 7,.NET 8 | Ended Jan 2025 |
| 7.x.x | .NET 7,.NET 8 | Limited Support |
| 8.x.x | .NET 8,.NET 9 | ✅ Full Support |
Note
- Upgrading? Check ourMigration Guide for help with breaking changes.
- Static rendering is not supported.Learn more
- Use an up-to-date browser.Blazor supported platforms
About
Blazor Component Library based on Material Design principles with an emphasis on ease of use and extensibility
Topics
Resources
License
Code of conduct
Contributing
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Sponsor this project
Uh oh!
There was an error while loading.Please reload this page.
