Blazix.Icons.FontAwesome
0.7.0
dotnet add package Blazix.Icons.FontAwesome --version 0.7.0
NuGet\Install-Package Blazix.Icons.FontAwesome -Version 0.7.0
<PackageReference Include="Blazix.Icons.FontAwesome" Version="0.7.0" />
<PackageVersion Include="Blazix.Icons.FontAwesome" Version="0.7.0" />
<PackageReference Include="Blazix.Icons.FontAwesome" />
paket add Blazix.Icons.FontAwesome --version 0.7.0
#r "nuget: Blazix.Icons.FontAwesome, 0.7.0"
#:package Blazix.Icons.FontAwesome@0.7.0
#addin nuget:?package=Blazix.Icons.FontAwesome&version=0.7.0
#tool nuget:?package=Blazix.Icons.FontAwesome&version=0.7.0
Blazix.Icons.FontAwesome
Font Awesome Free for Blazor, from @fortawesome/fontawesome-free 7.3.1: the free solid, regular and brands icons: FontAwesomeIcons.Solid.House, FontAwesomeIcons.Regular.Copy, FontAwesomeIcons.Brands.Github, from the square 640 grid (svgs-full). Each icon is rendered as inline SVG by the Icon component in Blazix.Icons.
dotnet add package Blazix.Icons.FontAwesome
@using Blazix.Icons
@using Blazix.Icons.FontAwesome
<Icon Data="FontAwesomeIcons.Solid.ChevronDown" class="size-4" />
<Icon Data="FontAwesomeIcons.Solid.ChevronDown" Label="Open menu" />
- Without
Labelan icon is decoration, hidden from assistive tech (aria-hidden="true"): use it next to text that says the same thing. - With
Labelit's an image with that name (role="img",aria-label): use it for an icon that's the only content of a button or link. - It takes the text color (
currentColor), and any attribute you pass (class,style,width) goes on the<svg>. - Each icon is a property with no backing field, so trimming (Blazor WebAssembly) keeps only the icons your app uses.
These are for your own markup. dnx Blazix.Cli add copies components that draw these icons too, and installs this package for the set in blazix.json's iconLibrary.
Attribution
Font Awesome Free's icons are licensed under CC BY 4.0, which requires attribution: Font Awesome Free by Fonticons, Inc. (https://fontawesome.com), licensed under CC BY 4.0 (https://fontawesome.com/license/free). The package carries that license as ICONS-LICENSE.txt. Font Awesome is a trademark of Fonticons, Inc.; this package isn't made or endorsed by them.
License
Blazix's code is MIT. The icons are CC BY 4.0: see ICONS-LICENSE.txt in the package.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | 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. |
-
net10.0
- Blazix.Icons (>= 0.7.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.