Lucide.Blazor.Extensions
1.0.1
dotnet add package Lucide.Blazor.Extensions --version 1.0.1
NuGet\Install-Package Lucide.Blazor.Extensions -Version 1.0.1
<PackageReference Include="Lucide.Blazor.Extensions" Version="1.0.1" />
paket add Lucide.Blazor.Extensions --version 1.0.1
#r "nuget: Lucide.Blazor.Extensions, 1.0.1"
// Install Lucide.Blazor.Extensions as a Cake Addin #addin nuget:?package=Lucide.Blazor.Extensions&version=1.0.1 // Install Lucide.Blazor.Extensions as a Cake Tool #tool nuget:?package=Lucide.Blazor.Extensions&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
- Lucide.Blazor.Generator (>= 1.0.1)
- Lucide.Blazor.Net (>= 1.0.1)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.