![]() |
VOOZH | about |
dotnet add package Material.Icons --version 3.0.2
NuGet\Install-Package Material.Icons -Version 3.0.2
<PackageReference Include="Material.Icons" Version="3.0.2" />
<PackageVersion Include="Material.Icons" Version="3.0.2" />Directory.Packages.props
<PackageReference Include="Material.Icons" />Project file
paket add Material.Icons --version 3.0.2
#r "nuget: Material.Icons, 3.0.2"
#:package Material.Icons@3.0.2
#addin nuget:?package=Material.Icons&version=3.0.2Install as a Cake Addin
#tool nuget:?package=Material.Icons&version=3.0.2Install as a Cake Tool
Parsed icons set from materialdesignicons.com and display control implementations for different GUI frameworks.
This project consists of 3 parts:
👁 alternate text is missing from this package README image
contains info about the icons
👁 alternate text is missing from this package README image
contains controls for AvaloniaUI
👁 alternate text is missing from this package README image
contains controls for WPF
👁 alternate text is missing from this package README image
contains controls for WinUI3
FAQ - frequently asked questions
dotnet add package Material.Icons.Avalonia
👁 avalonia-nugetApp.xaml (for 2.0.0 version and higher):
<Application xmlns:materialIcons="clr-namespace:Material.Icons.Avalonia;assembly=Material.Icons.Avalonia"
...>
<Application.Styles>
...
<materialIcons:MaterialIconStyles />
</Application.Styles>
</Application>
Add Material.Icons.Avalonia namespace to the root element of your file (your IDE can suggest it or do it automatically):
xmlns:materialIcons="clr-namespace:Material.Icons.Avalonia;assembly=Material.Icons.Avalonia"
Use MaterialIcon control:
<materialIcons:MaterialIcon Kind="Abacus" />
The Foreground property controls the color of the icon.
Also, there is MaterialIconExt which allows you to use is as the markup extension:
<Button Content="{materialIcons:MaterialIconExt Kind=Abacus}" />
Or with a text via MaterialIconTextExt:
<Button Content="{materialIcons:MaterialIconTextExt Kind=Play, Text=Play}" />
The MaterialIcon implements IImage interface, to allow to use as an Image source:
<Image>
<materialIcons:MaterialIcon Foreground="DeepPink" Kind="Abacus" />
</Image>
<Image Source="{materialIcons:MaterialIconExt Kind=Abacus, IconForeground=DeepPink}" />
Note that when using MaterialIcon as an Image source, the Width and Height properties must be defined under <Image>,
any size definition on MaterialIcon have no impact. Also, animation are not supported in this use case.
{x:Null}(Default) icons will not reserve space for it in layout.dotnet add package Material.Icons.Avalonia
👁 avalonia-nugettype App() =
inherit Application()
override this.Initialize() =
..
this.Styles.Add(MaterialIconStyles(null))
..
MaterialIcon
namespace Avalonia.FuncUI.DSL
[<AutoOpen>]
module MaterialIcon =
open Material.Icons
open Material.Icons.Avalonia
open Avalonia.FuncUI.Types
open Avalonia.FuncUI.Builder
let create (attrs: IAttr<MaterialIcon> list): IView<MaterialIcon> =
ViewBuilder.Create<MaterialIcon>(attrs)
type MaterialIcon with
static member kind<'t when 't :> MaterialIcon>(value: MaterialIconKind) : IAttr<'t> =
AttrBuilder<'t>.CreateProperty<MaterialIconKind>(MaterialIcon.KindProperty, value, ValueNone)
Button.create [
Button.content (
MaterialIcon.create [
MaterialIcon.kind MaterialIconKind.Export
]
)
]
Install Material.Icons.WPF nuget package:
dotnet add package Material.Icons.WPF
Add Material.Icons.WPF namespace to the root element of your file (your IDE can suggest it or do it automatically):
xmlns:materialIcons="clr-namespace:Material.Icons.WPF;assembly=Material.Icons.WPF"
Use MaterialIcon control:
<materialIcons:MaterialIcon Kind="Abacus" />
The Foreground property controls the color of the icon.
Also, there is MaterialIconExt which allows you to use is as the markup extension:
<Button Content="{materialIcons:MaterialIconExt Kind=Abacus}" />
Install Material.Icons.WinUI3 nuget package:
dotnet add package Material.Icons.WinUI3
Add Material.Icons.WinUI3 namespace to the root element of your file (your IDE can suggest it or do it automatically):
xmlns:materialIcons="using:Material.Icons.WinUI3"
Use MaterialIcon control:
<materialIcons:MaterialIcon Kind="Abacus" />
The Foreground property controls the color of the icon.
Also, there is MaterialIconExt which allows you to use is as the markup extension:
<Button Content="{materialIcons:MaterialIconExt Kind=Abacus}" />
Install Material.Icons nuget package:
dotnet add package Material.Icons
Icon types stored in Material.Icons.MaterialIconKind enum.
We can resolve an icon path by using Material.Icons.MaterialIconDataProvider.GetData().
Currently, there is no way to add your own icons, as icons are enum and cannot be modified.
But you can override some existing icons to use your own data:
public class CustomIconProvider : MaterialIconDataProvider
{
public override string ProvideData(MaterialIconKind kind)
{
return kind switch
{
MaterialIconKind.TrophyVariant => "some SVG code",
_ => base.ProvideData(kind)
};
}
}
// When your application starts (e.g. in the Main method) replace MaterialIconDataProvider with your own
public static int Main(string[] args)
{
MaterialIconDataProvider.Instance = new CustomIconProvider(); // Settings custom provider
// Application startup code
// return BuildAvaloniaApp().StartWithClassicDesktopLifetime(args);
}
MaterialIcon and it extensions supports pre-defined animations:
<MaterialIcons:MaterialIcon Kind="Refresh" Animation="Spin" />
<MaterialIcons:MaterialIcon Kind="Heart" Foreground="DeepPink" Animation="FadeInOut" />
Foreground property.MaterialIcon control - use Width or/and Height properties.MaterialIconExt - use Size property.Material.Icons package version in your project file.1.0.0 and 1.0.1 are compatible, but 1.0.0 and 1.1.0 might not be.| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 net5.0 was computed. net5.0-windows net5.0-windows was computed. net6.0 net6.0 was computed. net6.0-android net6.0-android was computed. net6.0-ios net6.0-ios was computed. net6.0-maccatalyst net6.0-maccatalyst was computed. net6.0-macos net6.0-macos was computed. net6.0-tvos net6.0-tvos was computed. net6.0-windows net6.0-windows was computed. net7.0 net7.0 was computed. net7.0-android net7.0-android was computed. net7.0-ios net7.0-ios was computed. net7.0-maccatalyst net7.0-maccatalyst was computed. net7.0-macos net7.0-macos was computed. net7.0-tvos net7.0-tvos was computed. net7.0-windows net7.0-windows was computed. net8.0 net8.0 was computed. net8.0-android net8.0-android was computed. net8.0-browser net8.0-browser was computed. net8.0-ios net8.0-ios was computed. net8.0-maccatalyst net8.0-maccatalyst was computed. net8.0-macos net8.0-macos was computed. net8.0-tvos net8.0-tvos was computed. net8.0-windows net8.0-windows was computed. net9.0 net9.0 was computed. net9.0-android net9.0-android was computed. net9.0-browser net9.0-browser was computed. net9.0-ios net9.0-ios was computed. net9.0-maccatalyst net9.0-maccatalyst was computed. net9.0-macos net9.0-macos was computed. net9.0-tvos net9.0-tvos was computed. net9.0-windows net9.0-windows was computed. net10.0 net10.0 was computed. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
| .NET Core | netcoreapp2.0 netcoreapp2.0 was computed. netcoreapp2.1 netcoreapp2.1 was computed. netcoreapp2.2 netcoreapp2.2 was computed. netcoreapp3.0 netcoreapp3.0 was computed. netcoreapp3.1 netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 netstandard2.0 is compatible. netstandard2.1 netstandard2.1 was computed. |
| .NET Framework | net461 net461 was computed. net462 net462 was computed. net463 net463 was computed. net47 net47 was computed. net471 net471 was computed. net472 net472 was computed. net48 net48 was computed. net481 net481 was computed. |
| MonoAndroid | monoandroid monoandroid was computed. |
| MonoMac | monomac monomac was computed. |
| MonoTouch | monotouch monotouch was computed. |
| Tizen | tizen40 tizen40 was computed. tizen60 tizen60 was computed. |
| Xamarin.iOS | xamarinios xamarinios was computed. |
| Xamarin.Mac | xamarinmac xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos xamarinwatchos was computed. |
Showing the top 5 NuGet packages that depend on Material.Icons:
| Package | Downloads |
|---|---|
|
Material.Icons.Avalonia
Avalonia control for display material icons from Material.Icons |
|
|
Material.Icons.WPF
WPF control for display material icons from Material.Icons |
|
|
Speckle.Material.Icons.Avalonia
Avalonia control for display material icons from Material.Icons |
|
|
Material.Icons.WinUI3
WinUI control for display material icons from Material.Icons |
|
|
Material.Icons.UNO
Icones Material Design para UNO e WinUI |
Showing the top 5 popular GitHub repositories that depend on Material.Icons:
| Repository | Stars |
|---|---|
|
PXDiv/Div-Acer-Manager-Max
Div Acer Manager Max is a Linux GUI for Acer laptops using Linuwu Sense drivers. It replicates NitroSense functionality with fan control, performance modes, battery limiter, and more. Built with Avalonia, it offers a clean, easy-to-use interface for managing system performance and cooling.
|
|
|
h4lfheart/FortnitePorting
The quickest and most efficient way to extract assets from Fortnite
|
|
| qiuqiuqiu131/SukiChat.Client | |
|
Natestah/BlitzSearch
Find-in-Files++ for Any IDE
|
|
|
dorisoy/Dorisoy.SMS
基于.net6.0的跨平台WPF学校信息管理系统,现代化UI界面、简单易用的功能让您完全控制管理学生、员工、用户、家长、班级、费用,收入信息、生物识别职工打卡,学生上学/离校信息推送等等, 项目使用MVVM 和Mediator设计模式。
|
| Version | Downloads | Last Updated |
|---|---|---|
| 3.0.3-nightly.0.2 | 2,238 | 4/13/2026 |
| 3.0.3-nightly.0.1 | 79 | 4/13/2026 |
| 3.0.2 | 32,178 | 4/13/2026 |
| 3.0.1 | 2,346 | 4/7/2026 |
| 3.0.0 | 26,540 | 2/19/2026 |
| 3.0.0-preview7.5 | 83 | 2/19/2026 |
| 3.0.0-preview7.4 | 73 | 2/19/2026 |
| 3.0.0-preview7 | 1,453 | 2/7/2026 |
| 3.0.0-preview6 | 1,413 | 1/17/2026 |
| 3.0.0-preview5 | 1,020 | 12/25/2025 |
| 3.0.0-avalonia12 | 802 | 2/19/2026 |
| 2.4.3 | 1,965 | 4/13/2026 |
## What's Changed
* Fix icons being bigger in 3.0.0 by @SKProCH in https://github.com/SKProCH/Material.Icons/pull/73
**Full Changelog**: https://github.com/SKProCH/Material.Icons/compare/v2.4.2...v3.0.2