Skip to content

Latest commit

 

History

History
143 lines (101 loc) · 4.44 KB

File metadata and controls

143 lines (101 loc) · 4.44 KB

IconPacks.NET

Awesome icon packs for .NET

Category Package
Feather Nuget (with prereleases)
fluentui-system-icons Nuget (with prereleases)
FontAwesome free Nuget (with prereleases)
Heroicons Nuget (with prereleases)
Ionicons Nuget (with prereleases)
lucide-icons Nuget (with prereleases)
Material-design-icons(google) Nuget (with prereleases)
MaterialDesign(community) Nuget (with prereleases)
RemixIcon Nuget (with prereleases)
Tabler-icons Nuget (with prereleases)

IconPacks showcase

The showcase app for all available icon packs is available here.

showcase

Usage

Using IconPacks.Feather as an example.

WPF

  1. Install Package
dotnet add package IconPacks.Feather
dotnet add package IconPacks.Generator
  1. Add a new class to your project.
namespace WpfApp.FeatherIcons;

[IconPacks.Generator.WpfGeometryConverter(typeof(IconPacks.Feather.Regular))]
public static partial class Regular { }
  1. Now you can use it in XAML.
<Window
 ...
 xmlns:feather="clr-namespace:WpfApp.FeatherIcons"
 ...
>
 <Grid>
   <Path
     Width="96"
     Height="96"
     Data="{x:Static feather:Regular.Activity}"
     Fill="Red"
     Stretch="Uniform" />
 </Grid>
</Window>

Avalonia

  1. Install Package
dotnet add package IconPacks.Feather
dotnet add package IconPacks.Generator
  1. Add a new class to your project.
namespace AvaloniaApp.FeatherIcons;

[IconPacks.Generator.AvaloniaGeometryConverter(typeof(IconPacks.Feather.Regular))]
public static partial class Regular { }
  1. Now you can use it in XAML.
<Window
 ...
 xmlns:feather="using:AvaloniaApp.FeatherIcons"
 ...
>
 <Grid>
   <Path
    Width="96"
    Height="96"
    Data="{x:Static feather:Regular.Activity}"
    Fill="Red"
    Stretch="Uniform" />
 </Grid>
</Window>

MAUI

  1. Install Package
dotnet add package IconPacks.Feather
  1. Now you can use it in XAML.
<ContentPage
 ...
 xmlns:feather="clr-namespace:IconPacks.Feather;assembly=IconPacks.Feather"
 ...
>
 <Grid>
   <Path
    Width="96"
    Height="96"
    Data="{x:Static feather:Regular.Activity}"
    Fill="Red"
    Stretch="Uniform" />
 </Grid>
</ContentPage>

License

Each icon library has its own license. Please refer to its project directory for details.