Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ahopper/Avalonia.IconPacks

Import of Visual Studio image library and MahApps.Metro.IconPacks for Avalonia
https://github.com/ahopper/Avalonia.IconPacks

avalonia avaloniaui icons

Last synced: 26 days ago
JSON representation

Import of Visual Studio image library and MahApps.Metro.IconPacks for Avalonia

Awesome Lists containing this project

README

        

# Avalonia.IconPacks

[![Actions Status](https://github.com/ahopper/Avalonia.IconPacks/workflows/.NET%20Core/badge.svg)](https://github.com/ahopper/Avalonia.IconPacks/actions)

Import of more than 37,000 vector icons from the Visual Studio image library 2017 and 2019, [VSCode Icons](https://github.com/microsoft/vscode-icons), [FluentUI Icons](https://github.com/jmacato/fluentui-system-icons/tree/master/AvaloniaImporter) and [MahApps.Metro.IconPacks](https://github.com/MahApps/MahApps.Metro.IconPacks) for use in [Avalonia](https://github.com/AvaloniaUI/Avalonia)

To use the icons either copy the files from the Icons directory to your project or run Avalonia.IconPacks to browse and generate a file of just the icons you want.

Pre built binaries for windows,linux and osx can be downloaded from the [Actions page](https://github.com/ahopper/Avalonia.IconPacks/actions)

You can use the icon code directly in xaml
```





```
or reference the icon included in a style
```

```
To do this you typically include the icon file in App.xaml
```



```
Icons can be saved as .ico or .icns by right clicking in the preview pane.

There is a useful tool [here](https://gist.github.com/dfkeenan/d5ce7ba64f796e41cd9202b416c994bd) to transform the colors of the vs studio icons to match different themes.
The Iconpacks program loads icons at startup from the icons directory so external icons can be added just by copying xaml files to that directory.

![Avalonia.IconPacks](iconpacks.png)

If you find this project useful please go and star the [MahApps.Metro.IconPacks](https://github.com/MahApps/MahApps.Metro.IconPacks) project as that is where all the hard work has been done.