IconFont.Maui.MaterialDesignIcons 1.0.1

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

NuGet

IconFont.Maui.MaterialDesignIcons

IconFont.Maui.MaterialDesignIcons ships four Google Material Design Icons OTF icon fonts for .NET MAUI:

Style File Class
Outlined MaterialIconsOutlined-Regular.otf MaterialDesignIconsOutlined
Round MaterialIconsRound-Regular.otf MaterialDesignIconsRound
Sharp MaterialIconsSharp-Regular.otf MaterialDesignIconsSharp
Two-Tone MaterialIconsTwoTone-Regular.otf MaterialDesignIconsTwoTone

It registers the fonts across supported targets when you call UseMaterialDesignIcons() (or individual helpers) and exposes strongly-typed glyph constants to simplify XAML and C# usage.

✨ Features

  • ⚙️ One-line setup: call builder.UseMaterialDesignIcons() to register all fonts, or per-font helpers like UseMaterialDesignIconsOutlined(), UseMaterialDesignIconsRound(), etc.
  • 🔤 Strongly-typed glyphs via flat classes: MaterialDesignIconsOutlined.Home, MaterialDesignIconsRound.Search, etc.
  • 📱 Supported targets: Android, iOS, Mac Catalyst, Windows

📦 Install

dotnet add package IconFont.Maui.MaterialDesignIcons

🚀 Getting Started

Register

var builder = MauiApp.CreateBuilder()
    .UseMauiApp<App>()
    .UseMaterialDesignIcons(); // registers all four font styles

Or register individual fonts:

builder.UseMaterialDesignIconsOutlined();  // Outlined only
builder.UseMaterialDesignIconsRound();     // Round only
builder.UseMaterialDesignIconsSharp();     // Sharp only
builder.UseMaterialDesignIconsTwoTone();   // Two-Tone only

XAML usage

xmlns:icons="clr-namespace:IconFont.Maui.MaterialDesignIcons;assembly=IconFont.Maui.MaterialDesignIcons"

<Label Glyph="{x:Static icons:MaterialDesignIconsOutlined.Home}"
       FontFamily="{x:Static icons:MaterialDesignIconsOutlined.FontFamily}"
       FontSize="32" />

C# usage

using IconFont.Maui.MaterialDesignIcons;

var label = new Label
{
    FontFamily = MaterialDesignIconsOutlined.FontFamily,
    Text = MaterialDesignIconsOutlined.Home,
    FontSize = 32
};

Tip: Glyph names follow the upstream font. If the font adds/changes glyphs, updating the OTF and rebuilding regenerates this API.

📋 Styles & Glyphs

The source generator emits flat top-level classes for XAML {x:Static} compatibility:

Class Example
MaterialDesignIconsOutlined MaterialDesignIconsOutlined.Home
MaterialDesignIconsRound MaterialDesignIconsRound.Home
MaterialDesignIconsSharp MaterialDesignIconsSharp.Home
MaterialDesignIconsTwoTone MaterialDesignIconsTwoTone.Home

❓ Why not Filled?

The classic Material Icons "Filled" style is only distributed as a TTF with post table version 3.0 (no glyph names). The source generator extracts glyph names from font metadata, so only the four OTF styles are supported. All four OTF styles contain the same icon set with the same codepoints.

🧩 Platforms

Platform Minimum
Android 21+
iOS 15+
macOS 12+
Windows 10 1809

📄 License

🙏 Attribution

  • Upstream font: Apache 2.0 © Google LLC
  • This project is not affiliated with or endorsed by Google.
Product Compatible and additional computed target framework versions.
.NET net10.0-android36.0 is compatible.  net10.0-ios26.0 is compatible.  net10.0-maccatalyst26.0 is compatible.  net10.0-windows10.0.19041 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.1 243 4/7/2026
1.0.0 150 2/19/2026