A multi-framework wrapper of fluentui-system-icons.
Package | Platform |
---|---|
Ref | Package | Platform |
---|---|---|
avalonia-v0.10 | FluentIcons.Avalonia |
|
avalonia-v0.10 | FluentIcons.Avalonia.Fluent |
<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:
FlowDirection
instead.Light
variant.<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.
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.
⚠️ 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.
⚠️ 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).
To enable UseSegoeMetrics
globally, call UseSegoeMetric(this Application app)
.