Skip to content

specklesystems/Speckle.Material.Icons.Avalonia

 
 

Repository files navigation

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.

About

Fork of Avalonia control for display material icons from Material.Icons: https://github.com/SKProCH/Material.Icons

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 100.0%