Lucide.Maui
0.4.0
dotnet add package Lucide.Maui --version 0.4.0
NuGet\Install-Package Lucide.Maui -Version 0.4.0
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="Lucide.Maui" Version="0.4.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Lucide.Maui" Version="0.4.0" />
<PackageReference Include="Lucide.Maui" />
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 Lucide.Maui --version 0.4.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Lucide.Maui, 0.4.0"
#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 Lucide.Maui@0.4.0
#: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=Lucide.Maui&version=0.4.0
#tool nuget:?package=Lucide.Maui&version=0.4.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Lucide.Maui
Lucide.Maui ships the Lucide.ttf icon font for .NET MAUI. It registers the font across supported targets when you call UseLucideIcons() and exposes strongly-typed glyph constants via LucideIcons to simplify XAML and C# usage.
✨ Features
- ⚙️ One-line setup: call
builder.UseLucideIcons()inMauiProgram - 🔤 Strongly-typed glyphs via `LucideIcons.*
- 🧰 Helper APIs:
LucideIcons.Create()forFontImageSource - 📱 Supported targets: Android, iOS, Mac Catalyst, Windows
📦 Install
dotnet add package Lucide.Maui
🚀 Getting Started
Register
var builder = MauiApp.CreateBuilder()
.UseMauiApp<App>()
.UseLucideIcons();
XAML usage
xmlns:icons="clr-namespace:Lucide.Maui;assembly=Lucide.Maui"
<Image WidthRequest="24" HeightRequest="24">
<Image.Source>
<FontImageSource Glyph="{x:Static icons:LucideIcons.AirVent}"
FontFamily="{x:Static icons:LucideIconsConfig.FontFamily}"
Color="#2563EB"
Size="32" />
</Image.Source>
</Image>
or
xmlns:icons="clr-namespace:Lucide.Maui;assembly=Lucide.Maui"
xmlns:lucide="clr-namespace:Lucide.Maui.Components;assembly=Lucide.Maui"
<lucide:LucideIcon Icon="{x:Static icons:LucideIcons.AirVent}"
Color="#2563EB"
Size="32"/>
C# usage
using Lucide.Maui;
// Create a FontImageSource for any glyph
var source = LucideIconsConfig.Create(LucideIcons.AirVent, Colors.Orange, 32);
🧩 Platforms
| Platform | Minimum |
|---|---|
| Android | 21+ |
| iOS | 15+ |
| macOS | 12+ |
| Windows | 10 1809 |
📄 License
- Library: MIT (or your license)
- Font: MIT License (confirm redistribution rights; see license)
🙏 Attribution
- Lucide font: MIT License © respective owners
- This project is not affiliated with or endorsed by Lucide.
- This project was heavily influenced by https://github.com/jfversluis/IconFont.Maui.FluentIcons and their template repo https://github.com/jfversluis/IconFont.Maui.Template
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0-android36.0 is compatible. net10.0-ios26.0 is compatible. net10.0-maccatalyst26.0 is compatible. net10.0-windows10.0.19041 is compatible. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net10.0-android36.0
- Microsoft.Maui.Controls (>= 10.0.20)
-
net10.0-ios26.0
- Microsoft.Maui.Controls (>= 10.0.20)
-
net10.0-maccatalyst26.0
- Microsoft.Maui.Controls (>= 10.0.20)
-
net10.0-windows10.0.19041
- Microsoft.Maui.Controls (>= 10.0.20)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.