A multi-framework wrapper of fluentui-system-icons.
Package | Platform |
---|---|
Avalonia 11 | |
FluentAvalonia 2 (Avalonia 11) | |
MAUI 8 | |
UWP 10.0.10773 Uno.UI 5 |
|
Windows App SDK 1.2 Uno.WinUI 5 |
|
.NET Framework 4.6.2 .NET 6 |
Ref | Package | Platform |
---|---|---|
avalonia-v0.10 | FluentIcons.Avalonia |
Avalonia 0.10 |
avalonia-v0.10 | FluentIcons.Avalonia.Fluent |
FluentAvalonia 1.3 (Avalonia 0.10) |
<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
FlowDirection
instead.
- Breaking change since 1.1.229: LTR/RTL specific values are removed, use
- IsFilled : bool
- UseSegoeMetrics: bool
- New feature since 1.1.229: match the metrics of Segoe Fluent Icons. see also: Seagull Icons
- FlowDirection : FlowDirection
- New feature since 1.1.229: 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:SymbolIconExtension Symbol=ArrowLeft}" />
</Window>
SymbolIconExtension
and SymbolIconSourceExtension
have been added since 1.1.242. These extensions will auto-detect FlowDirection
from parent control, except on (non-Uno) UWP where IXamlServiceProvider
is not available.
To enable UseSegoeMetrics
globally, call UseSegoeMetric(this AppBuilder builder)
on Avalonia and UseSegoeMetric(this Application app)
on WPF.
UseFluentIcons(this MauiAppBuilder builder, bool useSegoeMetrics)
must be called to register fonts properly.
<SymbolImageSource>
and SymbolImageSourceExtension
are provided on MAUI as stand-ins.
To enable UseSegoeMetrics
globally, call UseSegoeMetric(this Application app)
or UseSegoeMetric(this IHostBuilder builder)
(WinUI-only).