FluentUI System Icons wrapper for MAUI.
Install
| Product | Versions |
|---|---|
| .NET |
README
FluentIcons
A multi-framework wrapper of fluentui-system-icons.
Packages
| Package | Platform |
|---|---|
Legacy
| Ref | Package | Platform |
|---|---|---|
| avalonia-v0.10 | FluentIcons.Avalonia |
|
| avalonia-v0.10 | FluentIcons.Avalonia.Fluent |
Usage
<Window xmlns:ic="using:FluentIcons.WinUI">
<!-- or FluentIcons.Avalonia / FluentIcons.Avalonia.Fluent / FluentIcons.Maui / FluentIcons.WPF -->
<ic:SymbolIcon Symbol="ArrowLeft" IsFilled="True" />
</Window>
This package features <SymbolIcon> element, and <SymbolIconSource> on platforms with <IconSource>, which generally provide following properties:
- Symbol : Symbol
- Breaking change since 1.1.229: LTR/RTL specific values are removed, use
FlowDirectioninstead.
- Breaking change since 1.1.229: LTR/RTL specific values are removed, use
- IconVariant: IconVariant
- Breaking change since 1.1.247: IsFilled has been deprecated and is subject to be removed.
- UseSegoeMetrics: bool
- Match the metrics of Segoe Fluent Icons. see also: Seagull Icons
- Not applicable for icons of
Lightvariant.
- FlowDirection : FlowDirection
- Switch between LTR/RTL icon variant.
- FontSize : double
- Breaking change since 1.1.225: no longer inherit value from parent element to match WinUI behaviours.
- Foreground : Brush
<Window xmlns:ic="using:FluentIcons.WinUI">
<Expander Header="{ic:SymbolIcon Symbol=ArrowLeft}" />
</Window>
SymbolIconExtension and SymbolIconSourceExtension have been added since 1.1.242. These extensions will bind their FlowDirection to that of the parent control, except SymbolIconSourceExtension on (non-Uno) UWP where IXamlServiceProvider is not available.
Avalonia
To enable UseSegoeMetrics globally, call UseSegoeMetric(this AppBuilder builder). Markup extension classes are in a child namespace to stop style selectors from throwing for their naming conventions.
MAUI
⚠️ The extension method UseFluentIcons(this MauiAppBuilder builder, bool useSegoeMetrics) must be called to register fonts properly. ⚠️
<SymbolImageSource> and SymbolImageSourceExtension are provided on MAUI as stand-ins.
UWP / WinUI
⚠️ You must reference this package directly so that fonts can be included in the build output properly. ⚠️
To enable UseSegoeMetrics globally, call UseSegoeMetric(this Application app) or UseSegoeMetric(this IHostBuilder builder) (WinUI-only).
WPF
To enable UseSegoeMetrics globally, call UseSegoeMetric(this Application app).
Changes from Previous Version
Adoption Assessment
Assess this package against its supported frameworks, license, maintenance signals and dependency graph before making it a project standard.
Related Guides & Workflows
Learn how to evaluate, integrate, or audit this package in your .NET project.