Lucide.Blazor.Generator
1.0.1
dotnet add package Lucide.Blazor.Generator --version 1.0.1
NuGet\Install-Package Lucide.Blazor.Generator -Version 1.0.1
<PackageReference Include="Lucide.Blazor.Generator" Version="1.0.1" />
paket add Lucide.Blazor.Generator --version 1.0.1
#r "nuget: Lucide.Blazor.Generator, 1.0.1"
// Install Lucide.Blazor.Generator as a Cake Addin #addin nuget:?package=Lucide.Blazor.Generator&version=1.0.1 // Install Lucide.Blazor.Generator as a Cake Tool #tool nuget:?package=Lucide.Blazor.Generator&version=1.0.1
Lucide.Blazor
Lucide.Blazor es una biblioteca que integra la poderosa colección de íconos de Lucide, diseñada originalmente para React, en aplicaciones Blazor. Esta implementación permite a los desarrolladores Blazor utilizar íconos SVG modernos, ligeros y completamente personalizables con características como tamaños ajustables, colores dinámicos, clases CSS y más. Perfecto para aplicaciones Blazor Server y Blazor WebAssembly.
Con Lucide.Blazor, puedes enriquecer tu interfaz de usuario con íconos atractivos, al tiempo que aprovechas la flexibilidad y simplicidad de Blazor.
Inicializacion de servicio
var builder = WebAssemblyHostBuilder.CreateDefault(args);
builder.RootComponents.Add<App>("#app");
builder.RootComponents.Add<HeadOutlet>("head::after");
builder.Services
.AddScoped(sp => new HttpClient { BaseAddress = new Uri(builder.HostEnvironment.BaseAddress) })
.AddLucideIcons("https://unpkg.com/lucide-static@latest/icons");
var host = builder.Build();
await host.RunAsync();
Uso componente Blazor
@page "/"
<Icons Name="x" Width="10" Height="10" />
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | 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. |
-
net8.0
- Microsoft.CodeAnalysis (>= 4.12.0)
NuGet packages (2)
Showing the top 2 NuGet packages that depend on Lucide.Blazor.Generator:
Package | Downloads |
---|---|
Lucide.Blazor.Net
Package Description |
|
Lucide.Blazor.Extensions
Package Description |
GitHub repositories
This package is not used by any popular GitHub repositories.