A set of icons wrapping Microsoft’s official Fluent UI Icon library.
$ dotnet add package Microsoft.Fast.Components.FluentUI.Icons:star: We appreciate your star, it helps!
The Microsoft.Fast.Components.FluentUI package provides a set of Blazor components which you can use to build applications that have the look and feel or modern Microsoft applications.
This library is a set of icons wrapping Microsoft�s official Fluent UI Icon library.
To get started using the Fluent UI Icons for Blazor, you will first need to install the official Nuget package in the project you would like to use the library and components. You can use the following command:
dotnet add package Microsoft.Fast.Components.FluentUI.Icons
To use the icons, you will need to add the following using statement to your _Imports.razor file:
@using Microsoft.Fast.Components.FluentUI
Then you can use the icons in your Blazor components like this:
Note: Names are structured as follows:
Icons.[IconVariant].[IconSize].[IconName].
<FluentIcon Icon="@(Icons.Regular.Size24.Save)" />
You can use your custom images by setting the Value property calling the Icon.FromImageUrl method:
<FluentIcon Value="@(Icon.FromImageUrl("/Blazor.png"))" Width="32px" />
The Microsoft Fluent UI Blazor components documentation and demo site
Looking to get answers to questions or engage with us in real-time? Our community is active on Gitter and Discord. Submit requests and issues on GitHub, or join us by contributing on some good first issues via GitHub.
We look forward to building an amazing open source community with you!