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                
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.Generator" 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.Generator --version 1.0.1                
#r "nuget: Lucide.Blazor.Generator, 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.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

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 (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.

Version Downloads Last updated
1.0.1 33 12/26/2024
1.0.0 33 12/26/2024