![]() |
VOOZH | about |
dotnet add package Material.Icons.Avalonia --version 3.0.2
NuGet\Install-Package Material.Icons.Avalonia -Version 3.0.2
<PackageReference Include="Material.Icons.Avalonia" Version="3.0.2" />
<PackageVersion Include="Material.Icons.Avalonia" Version="3.0.2" />Directory.Packages.props
<PackageReference Include="Material.Icons.Avalonia" />Project file
paket add Material.Icons.Avalonia --version 3.0.2
#r "nuget: Material.Icons.Avalonia, 3.0.2"
#:package Material.Icons.Avalonia@3.0.2
#addin nuget:?package=Material.Icons.Avalonia&version=3.0.2Install as a Cake Addin
#tool nuget:?package=Material.Icons.Avalonia&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 | net8.0 net8.0 is compatible. 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. |
Showing the top 5 NuGet packages that depend on Material.Icons.Avalonia:
| Package | Downloads |
|---|---|
|
Ahsoka.DeveloperTools.Core
Package Description |
|
|
ArtemisRGB.UI.Shared
Package Description |
|
|
Ahsoka.Extensions.AudioManager.UX
Package Description |
|
|
M56X.AvaloniaCore
Package Description |
|
|
MattEqualsCoder.AvaloniaControls
Package Description |
Showing the top 20 popular GitHub repositories that depend on Material.Icons.Avalonia:
| Repository | Stars |
|---|---|
|
Tyrrrz/YoutubeDownloader
Downloads videos and playlists from YouTube
|
|
|
Tyrrrz/DiscordChatExporter
Saves Discord chat logs to a file
|
|
|
Tyrrrz/YoutubeExplode
Abstraction layer over YouTube's internal API
|
|
|
Tyrrrz/LightBulb
Reduces eye strain by adjusting screen gamma based on the current time
|
|
|
kikipoulet/SukiUI
UI Theme for AvaloniaUI
|
|
|
Uotan-Dev/UotanToolboxNT
现代化 Android & OpenHarmony 工具箱 | A Modern Toolbox for Android & OpenHarmony Devices
|
|
|
sn4k3/NetSonar
Network pings and other utilities
|
|
|
sn4k3/UVtools
MSLA/DLP, file analysis, calibration, repair, conversion and manipulation
|
|
|
Artemis-RGB/Artemis
Provides advanced unified lighting across many different brands RGB peripherals
|
|
|
AvaloniaCommunity/Material.Avalonia
Material design in AvaloniaUI
|
|
|
Harlan-H/M3u8Downloader_H
m3u8下载器,功能强大,多线程,多任务,支持aes-128-cbc解密,自定义请求头,自定义插件
|
|
|
SwaggyMacro/LottieViewConvert
A powerful cross-platform desktop application for converting TGS (Telegram Stickers), Discord animmated stickers and Lottie animations to various formats including GIF, WebP, APNG, MP4, MKV, AVIF, and WebM. Support download telegram sticker from sticker link. 电报、Discord、Lottie动画转换工具,支持 Gif、WebP、APNG、MP4 等常见格式,支持直接下载电报、Discord贴纸包。
|
|
|
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.
|
|
|
center2055/OnionHop
Privacy-first Desktop app that routes your traffic through Tor - Anonymous browsing made simple
|
|
|
bcssov/IronyModManager
Mod Manager for Paradox Games. Official Discord: https://discord.gg/t9JmY8KFrV
|
|
|
h4lfheart/FortnitePorting
The quickest and most efficient way to extract assets from Fortnite
|
|
|
flarive/Neumorphism.Avalonia
Neumorphism UI theme for .net Avalonia UI apps
|
|
|
DeltaJordan/BotW-Save-Manager
BOTW Save Manager for Switch and Wii U
|
|
|
AvaloniaUtils/DialogHost.Avalonia
AvaloniaUI control that provides a simple way to display a dialog with information or prompt the user when information is needed
|
|
| EllyVR/VRCVideoCacher |
| Version | Downloads | Last Updated |
|---|---|---|
| 3.0.3-nightly.0.2 | 2,220 | 4/13/2026 |
| 3.0.3-nightly.0.1 | 64 | 4/13/2026 |
| 3.0.2 | 29,272 | 4/13/2026 |
| 3.0.1 | 3,040 | 4/7/2026 |
| 3.0.0 | 24,779 | 2/19/2026 |
| 3.0.0-preview7.5 | 86 | 2/19/2026 |
| 3.0.0-preview7.4 | 72 | 2/19/2026 |
| 3.0.0-preview7 | 1,348 | 2/7/2026 |
| 3.0.0-preview6 | 1,321 | 1/17/2026 |
| 3.0.0-preview5 | 936 | 12/25/2025 |
| 3.0.0-avalonia12 | 745 | 2/19/2026 |
| 2.4.3 | 1,923 | 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