Brushtail.FontAwesome.Blazor
1.0.2
Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package Brushtail.FontAwesome.Blazor --version 1.0.2
NuGet\Install-Package Brushtail.FontAwesome.Blazor -Version 1.0.2
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="Brushtail.FontAwesome.Blazor" Version="1.0.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Brushtail.FontAwesome.Blazor --version 1.0.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Brushtail.FontAwesome.Blazor, 1.0.2"
#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.
// Install Brushtail.FontAwesome.Blazor as a Cake Addin
#addin nuget:?package=Brushtail.FontAwesome.Blazor&version=1.0.2
// Install Brushtail.FontAwesome.Blazor as a Cake Tool
#tool nuget:?package=Brushtail.FontAwesome.Blazor&version=1.0.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Font Awesome library for Blazor, Xamarin & Maui
Note:
This library supports Free & Paid Icons. We are not include the font file. You need to install & configuration according to the following. Then only you can see the font icon. If you have face any issues, report.
Blazor Setup:
- Install Brushtail.FontAweomse.Blazor
- In _layout.cshtml or _host.cshtml add link tag
<link rel="stylesheet" href="_content/Brushtail.FontAwesome.Blazor/font-awesome/css/all.min.css" />
- If you are pro user just link that css, then everything fine.
- In _import.cshtml file add using statement.
@using FontAwesome.Core
@using Brushtail.FontAwesome.Blazor
- Using FontAwesome Componet in Razor file using following example:
<FontAwesomeIcon Icon="@Icon.House" />
<FontAwesomeIcon Icon="@Icon.Google" IconType="IconType.Brands" />
Xamarin & Maui Setup
- Install Bruhstail.FontAwesome.Mobile
- If you are free user skip the 3 & 4.
- If you are a paid user, download and copy the font awesome icon into Assetes/Fonts folder. In Xamarin, make font as 'Embedded resource'. In Maui make font files as 'MauiFont'.
- In AssemlyInfo.cs add following lines. Font name must match following:
[assembly: ExportFont("Font Awesome 6 Duotone-Solid-900.otf")]
[assembly: ExportFont("Font Awesome 6 Light-300.otf")]
[assembly: ExportFont("Font Awesome 6 Thin-100.otf")]
- In MainPage.xaml add namespace to access the icon.
xmlns:core="clr-namespace:FontAwesome.Core;assembly=FontAwesome.Core"
xmlns:mobile="clr-namespace:FontAwesome.Mobile;assembly=FontAwesome.Mobile"
- In MainPage.xaml add Icon using following code.
<mobile:FontAwesomeIcon Icon="{x:Static core:Icon.House}" />
Thanks. Please consider sponsor me for more awesome library & components works. Sponsor
Product | Versions 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 is compatible. 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 was computed. 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. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net6.0
- Microsoft.AspNetCore.Components.Web (>= 6.0.8)
- Microsoft.Extensions.FileProviders.Embedded (>= 6.0.8)
-
net7.0
- Microsoft.AspNetCore.Components.Web (>= 7.0.0-preview.7.22376.6)
- Microsoft.Extensions.FileProviders.Embedded (>= 7.0.0-preview.7.22376.6)
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.0.19 | 985 | 12/11/2023 |
1.0.18 | 236 | 11/15/2023 |
1.0.16 | 450 | 10/18/2023 |
1.0.15 | 120 | 9/30/2023 |
1.0.14 | 79 | 9/29/2023 |
1.0.13 | 149 | 8/5/2023 |
1.0.12 | 133 | 6/14/2023 |
1.0.11 | 93 | 6/6/2023 |
1.0.10 | 488 | 12/19/2022 |
1.0.9 | 370 | 11/24/2022 |
1.0.8 | 152 | 9/19/2022 |
1.0.7 | 180 | 9/19/2022 |
1.0.6 | 143 | 9/19/2022 |
1.0.5 | 123 | 9/11/2022 |
1.0.4 | 114 | 9/11/2022 |
1.0.3 | 117 | 9/11/2022 |
1.0.2 | 124 | 9/10/2022 |