Mirality.Blazor.Icons.Fluent 1.1.0

dotnet add package Mirality.Blazor.Icons.Fluent --version 1.1.0
                    
NuGet\Install-Package Mirality.Blazor.Icons.Fluent -Version 1.1.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Mirality.Blazor.Icons.Fluent" Version="1.1.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Mirality.Blazor.Icons.Fluent" Version="1.1.0" />
                    
Directory.Packages.props
<PackageReference Include="Mirality.Blazor.Icons.Fluent" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Mirality.Blazor.Icons.Fluent --version 1.1.0
                    
#r "nuget: Mirality.Blazor.Icons.Fluent, 1.1.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Mirality.Blazor.Icons.Fluent@1.1.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Mirality.Blazor.Icons.Fluent&version=1.1.0
                    
Install as a Cake Addin
#tool nuget:?package=Mirality.Blazor.Icons.Fluent&version=1.1.0
                    
Install as a Cake Tool

.NET 6,8,10 NuGet version (Mirality.Blazor.Icons.Fluent)

This is a Blazor component wrapper library for all of the icons in the Fluent UI System icon set created by Microsoft and released under the MIT license.

Inline components allow you to more easily recolor or otherwise style the icons, as they obey a directly applied class or inherited CSS properties, unlike external SVG image files. (There is a way to trick SVG use into allowing external styling, but that has some different caveats, including current browsers lacking full support for unmodified external SVGs.)

Installation

  1. Simply import this Nuget package as usual. (Note: it is not recommended to use this as a project reference -- due to the large number of individual files it tends to bring IDEs to an absolute crawl, and it takes a surprisingly long time to compile all the components.)

  2. Optionally, add the following line to your _Imports.razor:

     @using Mirality.Blazor.Icons.Fluent
    

Usage

To display an icon, include its component (with optional class), e.g.:

<IconFluentGridDotsRegular class="text-info" />

You can also set other attributes of the resulting <svg/> element, such as its style or overriding its height.

All component names have been PascalCased from the snake-cased original icon names (omitting the size number), and have the IconFluent prefix to allow importing multiple icon sets without collisions.

For more usage information, including customisation options, see the docs for the Mirality.Blazor.Icons base package.

Sizing

The size number from the original icon names has been removed (THIS IS A BREAKING CHANGE FROM 1.0!) and only a single icon from each size group has been kept -- usually the 24px variant where available, but otherwise the largest available size, under the assumption that SVG icons should downsize gracefully. Including the size variants just produced way too many components such that the compiler actually broke under the memory strain.

By default all icons will render with a height of 1em -- i.e. matching your current font height. As such, to resize them you can just change the font size. Alternatively, you can override the height to some other explicit size.

If you want to render the icon at its native size then you will need to set the font size or height accordingly; for example, to render a "24" icon at its native size, use height="24px". You can inspect the component source if you want to learn the native size, but for the most part this should not be important.

In addition to the main Microsoft Fluent UI site, you can view a gallery of the available icons at Iconify. This library was generated from the Iconify icon data. (Although it might become outdated at some point; submit an issue if it needs an update.)

Note that currently only the "primary" icons (non-deleted and non-aliases) have been imported.

Offline Usage

This library embeds all the icon data, so online access is not required to load any image, nor any external files -- just the library itself.

Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.1.0 138 2/26/2026
1.0.0 809 1/17/2023