Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Blazor Component Library based on Material Design principles with an emphasis on ease of use and extensibility

License

NotificationsYou must be signed in to change notification settings

jduppie/MudBlazor

 
 

Repository files navigation

MudBlazor

Material Design components for Blazor

GitHub Workflow StatusCodecovQuality Gate StatusGitHubGitHub Repo starsGitHub last commitContributorsDiscussionsDiscordTwitterNuGet versionNuGet downloads

MudBlazor is an ambitious Material Design component library for Blazor. Accelerate your web application development and build intuitive user interfaces, leveraging the full power of C# to adapt and extend this open-source framework.

🌐DocumentationInteractive Playground

💎 Why Choose MudBlazor?

🎨 Beautiful Material Design components.
💻 Fully written in C# with minimal JavaScript.
📖 Rich documentation with extensive examples.
📦 No third-party dependencies for maximum flexibility.
✅ Extensive test coverage for stability.

📊 Repo Stats

Repobeats analytics image

🚀 Getting Started

We have ready-to-go templates at theTemplates repository, or follow the quick install guide below:

Installation

Install Package:

dotnet add package MudBlazor

Add to_Imports.razor:

@usingMudBlazor

Add toMainLayout.razor orApp.razor:

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

Add to your 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 thebody:

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

Add to the relevant sections ofProgram.cs:

usingMudBlazor.Services;
builder.Services.AddMudServices();

Example Usage

<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 thecomplete installation guide on our website.

🤝 Contributing

Contributions from the community are what makes MudBlazor successful.

If you're comfortable with C#, Blazor, JavaScript, or CSS, we'd love your help!
Whether it's fixing bugs, adding features, or improving documentation, every contribution counts.

We aim to review and merge non-breaking pull requests quickly.
For larger features or changes, 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 a preview version to ensure your app works as expected.

⚙️ Version Support

MudBlazor.NETSupport
5.x.x.NET 5Ended (Jan 2022)
6.x.x.NET 6,.NET 7,.NET 8Ended (Jan 2025)
7.x.x.NET 7,.NET 8Limited Support
8.x.x.NET 8,.NET 9✔️ Full Support

Tip

Upgrading? Check ourMigration Guide for help with breaking changes.

Warning

  1. Static rendering is not supported -Learn more.
  2. Older browsers may not be supported. Use a modern, 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

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C#75.7%
  • HTML21.2%
  • SCSS2.1%
  • Other1.0%

[8]ページ先頭

©2009-2025 Movatter.jp