MudBlazor.FontIcons.MaterialIcons 1.5.0

Prefix Reserved
dotnet add package MudBlazor.FontIcons.MaterialIcons --version 1.5.0
                    
NuGet\Install-Package MudBlazor.FontIcons.MaterialIcons -Version 1.5.0
                    
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.FontIcons.MaterialIcons" Version="1.5.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="MudBlazor.FontIcons.MaterialIcons" Version="1.5.0" />
                    
Directory.Packages.props
<PackageReference Include="MudBlazor.FontIcons.MaterialIcons" />
                    
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.FontIcons.MaterialIcons --version 1.5.0
                    
#r "nuget: MudBlazor.FontIcons.MaterialIcons, 1.5.0"
                    
#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.FontIcons.MaterialIcons@1.5.0
                    
#: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.FontIcons.MaterialIcons&version=1.5.0
                    
Install as a Cake Addin
#tool nuget:?package=MudBlazor.FontIcons.MaterialIcons&version=1.5.0
                    
Install as a Cake Tool

Material Icons for MudBlazor

NuGet version NuGet downloads

MudBlazor.FontIcons.MaterialIcons puts Google's classic Material Icons in your MudBlazor app: 2,100+ icons in Filled, Outlined, Rounded, Sharp, and Two-Tone styles, each a strongly typed C# constant with IntelliSense, served by self-hosted fonts.

Want Google's newer, still-growing icon set? See MudBlazor.FontIcons.MaterialSymbols.

Install

dotnet add package MudBlazor.FontIcons.MaterialIcons

Requires MudBlazor 7.0.0+ and .NET 8, 9, or 10.

Add the stylesheet

Add this next to your MudBlazor stylesheet (in App.razor, wwwroot/index.html, or your host page):

<link href="_content/MudBlazor.FontIcons.MaterialIcons/css/font.min.css" rel="stylesheet" />

The fonts ship in the package and are served by your app. No CDN, no internet required at runtime.

Use an icon

Pass a constant to MudIcon, or to any MudBlazor component with an icon parameter:

<MudIcon Icon="@MudBlazor.FontIcons.MaterialIcons.Outlined.Chat" />

<MudIconButton Icon="@MudBlazor.FontIcons.MaterialIcons.Filled.Settings" />

<MudButton StartIcon="@MudBlazor.FontIcons.MaterialIcons.TwoTone.Download">Download</MudButton>

Browse Material Icons on Google Fonts to find an icon, then PascalCase its name: shopping_cart becomes Filled.ShoppingCart. Names starting with a digit get an underscore: 10k becomes Filled._10K.

Available styles

C# class Style
MaterialIcons.Filled Filled, the classic default
MaterialIcons.Outlined Outlined
MaterialIcons.Rounded Rounded corners
MaterialIcons.Sharp Squared corners
MaterialIcons.TwoTone Two-tone

Shorten names with an alias

The full namespace is a mouthful. Alias it in _Imports.razor:

@using MaterialIcons = MudBlazor.FontIcons.MaterialIcons
<MudIcon Icon="@MaterialIcons.Outlined.Chat" />

Note: A Razor compiler limitation means aliases only work from _Imports.razor, not from individual .razor pages.

Optional: preload fonts

Fonts download when the first icon appears, so icons can briefly flash as text. To avoid that, preload the styles you use, before the stylesheet link:

<link rel="preload"
      href="_content/MudBlazor.FontIcons.MaterialIcons/font/MaterialIcons.woff2"
      as="font"
      type="font/woff2"
      crossorigin>
<link href="_content/MudBlazor.FontIcons.MaterialIcons/css/font.min.css" rel="stylesheet" />

The other styles follow the same pattern: MaterialIconsOutlined.woff2, MaterialIconsRound.woff2, MaterialIconsSharp.woff2, and MaterialIconsTwoTone.woff2. Preload only what you use; each preload is a download on every page load.

Optional: Google Fonts CDN

Prefer Google's CDN? Swap the package stylesheet for:

<link href="https://fonts.googleapis.com/css2?family=Material+Icons" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Material+Icons+Outlined" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Material+Icons+Round" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Material+Icons+Sharp" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Material+Icons+Two+Tone" rel="stylesheet">

The C# constants work the same either way.

Troubleshooting

Icons render as text, like "chat". The stylesheet isn't loading. Check the <link> tag and watch the browser's network tab for a 404 on font.min.css.

An alias won't compile. It has to live in _Imports.razor. See the note above.

Product Compatible and additional computed target framework versions.
.NET 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 is compatible.  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 is compatible.  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 (3)

Showing the top 3 NuGet packages that depend on MudBlazor.FontIcons.MaterialIcons:

Package Downloads
AMS-Utl

Package Description

AonBlzrDevOps

Package Description

Arkanis.Overlay.Domain

Contains the core domain models and business logic for the Arkanis Overlay.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.5.0 681 7/26/2026
1.4.0 6,698 2/27/2026
1.3.0 247,471 6/6/2025
1.2.0 63,343 5/29/2024
1.1.0 281 5/29/2024