Append.Blazor.Heroicons
2.1.2
dotnet add package Append.Blazor.Heroicons --version 2.1.2
NuGet\Install-Package Append.Blazor.Heroicons -Version 2.1.2
<PackageReference Include="Append.Blazor.Heroicons" Version="2.1.2" />
paket add Append.Blazor.Heroicons --version 2.1.2
#r "nuget: Append.Blazor.Heroicons, 2.1.2"
// Install Append.Blazor.Heroicons as a Cake Addin #addin nuget:?package=Append.Blazor.Heroicons&version=2.1.2 // Install Append.Blazor.Heroicons as a Cake Tool #tool nuget:?package=Append.Blazor.Heroicons&version=2.1.2
Append.Blazor.Heroicons
A third-party Blazor component library for Heroicons.
Basic Usage
First, install Append.Blazor.Heroicons
from nuget:
dotnet add package Append.Blazor.Heroicons
Now each icon can be used as a Blazor component:
@using Append.Blazor.Heroicons.Solid
<div>
<BeakerIcon class="h-6 w-6 text-blue-500" />
<p>...</p>
</div>
The icons are preconfigured to be stylable by setting the color
CSS property, either manually or using utility classes like text-gray-500
in a framework like Tailwind CSS.
<Heroicon />
You can also reference an icon by name, using the Heroicon
component:
@using Append.Blazor.Heroicons
<Heroicon Name="@HeroiconName.Sparkles" Type="HeroiconType.Outline" class="h-6 w-6 text-yellow-600" />
Browse the full list of icons on Heroicons →
<RandomHeroicon />
If you want to get crazy, use the RandomHeroicon
component to render a random icon:
@using Append.Blazor.Heroicons
<RandomHeroicon Type="HeroiconType.Mini" class="h-6 w-6 text-green-700" />
Links
License
This library is MIT licensed.
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 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. |
-
net6.0
- Microsoft.AspNetCore.Components.Web (>= 6.0.0)
-
net7.0
- Microsoft.AspNetCore.Components.Web (>= 7.0.0)
-
net8.0
- Microsoft.AspNetCore.Components.Web (>= 8.0.0)
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 |
---|---|---|
2.1.2 | 258 | 2/23/2024 |