LucideAvalonia 1.6.2

dotnet add package LucideAvalonia --version 1.6.2
                    
NuGet\Install-Package LucideAvalonia -Version 1.6.2
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="LucideAvalonia" Version="1.6.2" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="LucideAvalonia" Version="1.6.2" />
                    
Directory.Packages.props
<PackageReference Include="LucideAvalonia" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add LucideAvalonia --version 1.6.2
                    
#r "nuget: LucideAvalonia, 1.6.2"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package LucideAvalonia@1.6.2
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=LucideAvalonia&version=1.6.2
                    
Install as a Cake Addin
#tool nuget:?package=LucideAvalonia&version=1.6.2
                    
Install as a Cake Tool

Lucide Icons for AvaloniaUI

NuGet Version GitHub License

Lucide Icons for AvaloniaUI

Over 1700 icons for AvaloniaUI

What is it?

Lucide Icons for AvaloniaUI is a library that allows you to integrate over 1700 modern and elegant icons into your AvaloniaUI projects. This library offers a wide range of icons to enhance the user interface of your applications. Icons are sourced from Lucide v0.577.0.

What is it for?

This library is ideal for:

  • Extensive Collection: Access to over 1700 high-quality icons.
  • Scalability: Icons are vector-based, ensuring they look sharp at any size.
  • Ease of Use: Simple integration with AvaloniaUI projects.
  • Open Source: Free to use and modify, fostering community collaboration and improvement.

Installation

This library is compatible only with AvaloniaUI version 11.1.0-beta1 or higher. It does not support earlier versions.

To install the library, you can use NuGet with the following command:

dotnet add package LucideAvalonia

Usage

To use the Lucide Icons in your AvaloniaUI project, add the following namespace declaration to the header of your AXAML file:

xmlns:lucideAvalonia="clr-namespace:LucideAvalonia;assembly=LucideAvalonia"

Integrating Lucide Icons into your AvaloniaUI project is straightforward. Below is an example demonstrating how to add a YouTube icon to your AXAML file:

<lucideAvalonia:Lucide Icon="Youtube" StrokeBrush="Red" StrokeThickness="1.5" Width="22" Height="22"/>

You can customize the appearance of the icons using various properties:

  • Icon: Specifies the name of the icon.
  • StrokeBrush: Defines the color of the icon stroke.
  • StrokeThickness: Sets the thickness of the icon stroke.
  • Width and Height: Adjust the size of the icon.

Updating Icons

To regenerate icons from a newer Lucide release, run the included Python script (requires Python 3.10+, no external dependencies):

python tools/generate_icons.py --version <lucide-version>

This downloads the Lucide SVGs and regenerates both LucideAvalonia/Enum/LucideIconNames.cs and LucideAvalonia/Lucide/ResourcesIcons.axaml.

Contribution

We welcome contributions from the community to help improve and expand this library. If you encounter any issues or have suggestions, please open an issue or submit a pull request on our GitHub repository.

Credit

This project is made possible thanks to the following:

  • AvaloniaUI: The versatile and powerful UI framework.
  • Lucide: The source of these beautifully designed icons.
Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on LucideAvalonia:

Package Downloads
BestChat.Platform.UI.Desktop

Package Description

GitHub repositories (1)

Showing the top 1 popular GitHub repositories that depend on LucideAvalonia:

Repository Stars
dragonfruitnetwork/onionfruit
OnionFruit™ - Connect to the Tor network with minimal effort
Version Downloads Last Updated
1.6.2 1,275 3/22/2026
1.6.1 2,546 9/14/2024
1.6.0 174 9/14/2024
1.5.0 310 7/15/2024
1.4.0 224 7/2/2024
1.3.0 209 6/22/2024
1.2.0 213 6/9/2024
1.1.0 194 6/9/2024
1.0.0 195 6/9/2024