Blazor.Heroicons
1.1.1
See the version list below for details.
dotnet add package Blazor.Heroicons --version 1.1.1
NuGet\Install-Package Blazor.Heroicons -Version 1.1.1
<PackageReference Include="Blazor.Heroicons" Version="1.1.1" />
paket add Blazor.Heroicons --version 1.1.1
#r "nuget: Blazor.Heroicons, 1.1.1"
// Install Blazor.Heroicons as a Cake Addin #addin nuget:?package=Blazor.Heroicons&version=1.1.1 // Install Blazor.Heroicons as a Cake Tool #tool nuget:?package=Blazor.Heroicons&version=1.1.1
Blazor.Heroicons
A third-party Blazor component library for Heroicons.
Basic Usage
First, install Blazor.Heroicons
from nuget:
dotnet add package Blazor.Heroicons
Now each icon can be used as a Blazor component:
@using Blazor.Heroicons.Solid
<div>
<BeakerIcon className="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 Blazor.Heroicons
<Heroicon Name="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 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 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 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. |
-
net6.0
- Microsoft.AspNetCore.Components.Web (>= 6.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.2.0 | 214 | 11/18/2024 |
2.1.5 | 2,324 | 7/10/2024 |
2.1.2.3 | 649 | 6/18/2024 |
2.1.2.2 | 2,370 | 3/23/2024 |
2.1.2.1 | 119 | 3/22/2024 |
2.1.2 | 2,132 | 12/19/2023 |
2.1.1 | 155 | 12/18/2023 |
2.0.1 | 715 | 11/23/2023 |
1.2.3 | 4,585 | 5/10/2023 |
1.2.2 | 179 | 5/7/2023 |
1.2.1 | 1,511 | 11/2/2022 |
1.2.0 | 349 | 10/31/2022 |
1.1.2 | 405 | 10/11/2022 |
1.1.1 | 422 | 10/7/2022 |
1.1.0 | 416 | 10/7/2022 |
1.0.3 | 419 | 10/6/2022 |
1.0.2 | 390 | 10/6/2022 |
1.0.0 | 429 | 10/2/2022 |