Skip to content

aboimpinto/MaterialDesign.Avalonia

Repository files navigation

MaterialDesign.Avalonia

Convert the MaterialDesign WPF to Avalonia

Last release v1.34

  • Update to Avalonia 11

Usage

Add the nuget package to your project
Install-Package MaterialDesign.Avalonia.PackIcon

Include the Style in your code (App.axaml for example)
<StyleInclude Source="avares://MaterialDesign.Avalonia.PackIcon/Assets/Generic.xaml" />

In the Window/UserControl load the NameSpace
xmlns:material="clr-namespace:MaterialDesign.Avalonia.PackIcon;assembly=MaterialDesign.Avalonia.PackIcon"

Use the control where you want to show a Material Icon
<material:PackIcon Kind="Dashboard" />

Look here, https://fonts.google.com/icons for the list of icons available.
If an icon is not available, please report.

About

Convert the MaterialDesign WPF to Avalonia

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages