VOOZH about

URL: https://www.nuget.org/packages/Material.Icons/

⇱ NuGet Gallery | Material.Icons 3.0.2




Material.Icons 3.0.2

There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package Material.Icons --version 3.0.2
 
 
NuGet\Install-Package Material.Icons -Version 3.0.2
 
 
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="Material.Icons" Version="3.0.2" />
 
 
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Material.Icons" Version="3.0.2" />
 
Directory.Packages.props
<PackageReference Include="Material.Icons" />
 
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 Material.Icons --version 3.0.2
 
 
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Material.Icons, 3.0.2"
 
 
#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 Material.Icons@3.0.2
 
 
#: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=Material.Icons&version=3.0.2
 
Install as a Cake Addin
#tool nuget:?package=Material.Icons&version=3.0.2
 
Install as a Cake Tool
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Material.Icons

Parsed icons set from materialdesignicons.com and display control implementations for different GUI frameworks.

  • All icons are always up-to-date because automatically updated every 6 hours.
  • Small package size because icons are graphically encoded via SVG Path.
  • Icon types are strongly typed enum, so your IDE will suggest available variants:
    👁 895428ad-6010-4ffd-bd88-61aecd50f5e1

Structure

This project consists of 3 parts:

Community maintained

Avalonia

Getting started
  1. Install Material.Icons.Avalonia nuget package:
    dotnet add package Material.Icons.Avalonia
    
    👁 avalonia-nuget
    👁 avalonia-nuget
  2. Include styles in App.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>
    
Using

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.

Classes
  • Fill: Fits to size within the parent control
  • collapse-null: {x:Null}(Default) icons will not reserve space for it in layout.

Avalonia FuncUI (F#)

Getting started
  1. Install Material.Icons.Avalonia nuget package:
    dotnet add package Material.Icons.Avalonia
    
    👁 avalonia-nuget
    👁 avalonia-nuget
  2. Import styles in Application (or if you use XAML check instructions for plain Avalonia)
    type App() =
     inherit Application()
    
     override this.Initialize() =
     ..
     this.Styles.Add(MaterialIconStyles(null))
     ..
    
  3. Create bindings for 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)
    
  4. Use
    Button.create [
     Button.content (
     MaterialIcon.create [
     MaterialIcon.kind MaterialIconKind.Export
     ]
     )
    ]
    

WPF

Getting started

Install Material.Icons.WPF nuget package:

dotnet add package Material.Icons.WPF

👁 wpf-nuget
👁 wpf-nuget

Using

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}" />

WinUI3

Getting started

Install Material.Icons.WinUI3 nuget package:

dotnet add package Material.Icons.WinUI3

👁 winui3-nuget
👁 winui3-nuget

Using

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}" />

Meta

Getting started

Install Material.Icons nuget package:

dotnet add package Material.Icons

👁 icons-nuget
👁 icons-nuget

Using

Icon types stored in Material.Icons.MaterialIconKind enum.
We can resolve an icon path by using Material.Icons.MaterialIconDataProvider.GetData().

Adding your own icons

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);
}

Animations

MaterialIcon and it extensions supports pre-defined animations:

  • None
  • Spin (Circular spinning)
  • SpinCcw (Circular spinning in CCW)
  • Pulse (Step circular spinning)
  • PulseCcw (Step circular spinning in CCW)
  • FadeOutIn (Fade out and in)
  • FadeInOut (Fade in and out)
<MaterialIcons:MaterialIcon Kind="Refresh" Animation="Spin" />
<MaterialIcons:MaterialIcon Kind="Heart" Foreground="DeepPink" Animation="FadeInOut" />

FAQ

How to change icon color?
  • Change Foreground property.
How to change size?
  • If you are using MaterialIcon control - use Width or/and Height properties.
  • If you are using MaterialIconExt - use Size property.
How to update icons?
  • You can manually set Material.Icons package version in your project file.
What about versioning policy?
  • We use semver.
    Any package with identical major and minor versions is compatible.
    For example, 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • .NETStandard 2.0

    • No dependencies.

NuGet packages (10)

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

GitHub repositories (5)

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
Loading failed

## 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