A multi-framework control library of fluentui-system-icons.
Package | Platform |
---|---|
meta package | |
meta package | |
Ref | Package | Platform |
---|---|---|
avalonia-v0.10 | FluentIcons.Avalonia |
|
avalonia-v0.10 | FluentIcons.Avalonia.Fluent |
|
uno-v5.0 | FluentIcons.Uwp |
|
uno-v5.0 | FluentIcons.WinUI |
<Window xmlns:ic="using:FluentIcons.WinUI">
<!-- or FluentIcons.Avalonia / FluentIcons.Avalonia.Fluent / FluentIcons.Maui / FluentIcons.Wpf -->
<ic:FluentIcon Icon="ArrowLeft" IconVariant="Regular" IconSize="Size32" />
<ic:SymbolIcon Symbol="Calendar" IconVariant="Color" />
</Window>
This package features <FluentIcon>
/<SymbolIcon>
element, and <FluentIconSource>
/<SymbolIconSource>
on platforms with <IconSource>
, which generally provide following properties:
- Icon (Fluent...) / Symbol (Symbol...) : Icon / Symbol
- IconVariant : IconVariant
- New in version 1.1.278:
Color
variant added along with COLRv1 migration.
- New in version 1.1.278:
- IconSize (Fluent...) : IconSize
- FlowDirection : FlowDirection
- Switch between LTR/RTL icon variant.
- FontSize : double
- Foreground : Brush
The Fluent variant provides all sizes of icons untouched compared to upstream, while the Symbol variant mimics the APIs and appearances of SymbolIcon
and Segoe Fluent Icons from WinUI, which is powered by a derived version located at Seagull Icons. These variants were controlled by the deprecated UseSegoeMetrics
property in distributions prior to 1.1.278.
<Window xmlns:ic="using:FluentIcons.WinUI">
<Expander Header="{ic:SymbolIcon Symbol=ArrowLeft}" />
</Window>
Markup extension classes have been added since 1.1.242. These extensions will bind their FlowDirection
to that of the parent control, except FluentIconSourceExtension
/SymbolIconSourceExtension
on (non-Uno) UWP where IXamlServiceProvider
is not available.
Markup extension classes are in a child namespace to stop style selectors from throwing for their naming conventions.
UseFluentIcons(this MauiAppBuilder builder)
must be called to register fonts properly.
<SymbolImageSource>
and SymbolImageSourceExtension
are provided on MAUI as stand-ins.