https://github.com/davidxuang/fluenticons
A multi-framework control library of https://github.com/microsoft/fluentui-system-icons
https://github.com/davidxuang/fluenticons
avalonia dotnet fluent fluentui icons maui uno-platform uwp winui wpf
Last synced: about 1 month ago
JSON representation
A multi-framework control library of https://github.com/microsoft/fluentui-system-icons
- Host: GitHub
- URL: https://github.com/davidxuang/fluenticons
- Owner: davidxuang
- License: mit
- Created: 2022-04-06T11:40:58.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2025-04-01T00:32:00.000Z (about 2 months ago)
- Last Synced: 2025-04-01T13:13:27.816Z (about 2 months ago)
- Topics: avalonia, dotnet, fluent, fluentui, icons, maui, uno-platform, uwp, winui, wpf
- Language: C#
- Homepage:
- Size: 23.5 MB
- Stars: 122
- Watchers: 4
- Forks: 9
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# FluentIcons
A multi-framework control library of [fluentui-system-icons](https://github.com/microsoft/fluentui-system-icons).
## Packages
| Package | Platform |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [](https://www.nuget.org/packages/FluentIcons.Common) | _meta package_ |
| [](https://www.nuget.org/packages/FluentIcons.Uno) | _meta package_ |
| [](https://www.nuget.org/packages/FluentIcons.Avalonia) | [ Avalonia 11](https://www.nuget.org/packages/Avalonia/11.0.0) |
| [](https://www.nuget.org/packages/FluentIcons.Avalonia.Fluent) | [ FluentAvalonia 2](https://www.nuget.org/packages/FluentAvaloniaUI/2.0.0) (Avalonia 11) |
| [](https://www.nuget.org/packages/FluentIcons.Maui) | [ MAUI 8](https://www.nuget.org/packages/Microsoft.Maui.Sdk/8.0.3) |
| [](https://www.nuget.org/packages/FluentIcons.Uwp) |  UWP 10.0.10773
[ Uno.UI 5.4](https://www.nuget.org/packages/Uno.UI/5.4.22) |
| [](https://www.nuget.org/packages/FluentIcons.WinUI) | [ Windows App SDK 1.2](https://www.nuget.org/packages/Microsoft.WindowsAppSDK/1.2.221109.1)
[ Uno.WinUI 5.4](https://www.nuget.org/packages/Uno.WinUI/5.4.22) |
| [](https://www.nuget.org/packages/FluentIcons.Wpf) |  .NET Framework 4.6.2
 .NET 6 |### Legacy
| Ref | Package | Platform |
| ----------------------------------------------------------------------------------------- | ----------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [avalonia-v0.10](https://github.com/davidxuang/FluentIcons/tree/backports/avalonia-v0.10) | `FluentIcons.Avalonia` | [ Avalonia 0.10](https://www.nuget.org/packages/Avalonia/0.10.0) |
| [avalonia-v0.10](https://github.com/davidxuang/FluentIcons/tree/backports/avalonia-v0.10) | `FluentIcons.Avalonia.Fluent` | [ FluentAvalonia 1.3](https://www.nuget.org/packages/FluentAvaloniaUI/1.3.0) (Avalonia 0.10) |
| [uno-v5.0](https://github.com/davidxuang/FluentIcons/tree/backports/uno-v5.0) | `FluentIcons.Uwp` | [ Uno.UI 5.0](https://www.nuget.org/packages/Uno.UI/5.0.19) |
| [uno-v5.0](https://github.com/davidxuang/FluentIcons/tree/backports/uno-v5.0) | `FluentIcons.WinUI` | [ Uno.WinUI 5.0](https://www.nuget.org/packages/Uno.WinUI/5.0.19) |## Usage
```xml
```
This package features ``/`` element, and ``/`` on platforms with ``, which generally provide following properties:
- **Icon** *(Fluent...)* / **Symbol** *(Symbol...)* : [Icon](./FluentIcons.Common/Icon.cs) / [Symbol](./FluentIcons.Common/Symbol.cs)
- **IconVariant** : [IconVariant](./FluentIcons.Common/IconVariant.cs)
- _New in version 1.1.278: `Color` variant added along with [COLRv1](https://learn.microsoft.com/en-us/typography/opentype/spec/colr) migration._
- **IconSize** *(Fluent...)* : [IconSize](./FluentIcons.Common/IconSize.cs)
- **FlowDirection** : FlowDirection
- _Switch between LTR/RTL icon variant._
- **FontSize** : double
- **Foreground** : BrushThe *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](https://learn.microsoft.com/en-us/windows/apps/design/style/segoe-fluent-icons-font) from WinUI, which is powered by a derived version located at [Seagull Icons](./seagull-icons/README.md). These variants were controlled by the deprecated `UseSegoeMetrics` property in distributions prior to 1.1.278.
```xml
```
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.
### Avalonia
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)` must be called to register fonts properly. ⚠️
`` and `SymbolImageSourceExtension` are provided on MAUI as stand-ins.