Home

Awesome

Material.Icons.Avalonia moved back to original Material.Icons repository

Material.Icons.Avalonia

Avalonia control for display material icons from Material.Icons.
Icons list can be found on the materialdesignicons.com or in the demo application.

Getting started

Install Material.Icons.Avalonia nuget package:

dotnet add package Material.Icons.Avalonia

Include styles in App.xaml

<Application ...>
  <Application.Styles>
    ...
    <StyleInclude Source="avares://Material.Icons.Avalonia/App.xaml"></StyleInclude>
  </Application.Styles>
</Application>

Using

Use MaterialIcon control:

xmlns:material="using:Material.Icons.Avalonia"
<material:MaterialIcon Kind="Abacus"></material:MaterialIcon>

The Foreground property controls the color of the icon.