dotnet add package Blazor.Heroicons --version 1.2.3
NuGet\Install-Package Blazor.Heroicons -Version 1.2.3
<PackageReference Include="Blazor.Heroicons" Version="1.2.3" />
paket add Blazor.Heroicons --version 1.2.3
#r "nuget: Blazor.Heroicons, 1.2.3"
// Install Blazor.Heroicons as a Cake Addin #addin nuget:?package=Blazor.Heroicons&version=1.2.3 // Install Blazor.Heroicons as a Cake Tool #tool nuget:?package=Blazor.Heroicons&version=1.2.3
A third-party Blazor component library for Heroicons.
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 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.
You can also reference an icon by name, using the
@using Blazor.Heroicons <Heroicon Name="@HeroiconName.Sparkles" Type="HeroiconType.Outline" class="h-6 w-6 text-yellow-600" />
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" />
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.|
- Microsoft.AspNetCore.Components.Web (>= 6.0.0)
This package is not used by any NuGet packages.
This package is not used by any popular GitHub repositories.