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.
- ⚙️ One-line setup: call
builder.UseLucideIcons()inMauiProgram - 🔤 Strongly-typed glyphs via `LucideIcons.*
- 🧰 Helper APIs:
LucideIcons.Create()forFontImageSource - 📱 Supported targets: Android, iOS, Mac Catalyst, Windows
dotnet add package Lucide.Mauivar builder = MauiApp.CreateBuilder()
.UseMauiApp<App>()
.UseLucideIcons();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"/>
using Lucide.Maui;
// Create a FontImageSource for any glyph
var source = LucideIconsConfig.Create(LucideIcons.AirVent, Colors.Orange, 32);| Platform | Minimum |
|---|---|
| Android | 21+ |
| iOS | 15+ |
| macOS | 12+ |
| Windows | 10 1809 |
- Library: MIT (or your license)
- Font: MIT License (confirm redistribution rights; see license)
- 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