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                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Lucide.Blazor.Extensions" Version="1.0.1" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Lucide.Blazor.Extensions --version 1.0.1                
#r "nuget: Lucide.Blazor.Extensions, 1.0.1"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// 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

MIT License

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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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
1.0.1 31 12/26/2024
1.0.0 38 12/24/2024