InfiniLore.Lucide.Data 0.13.483-preview.11

Prefix Reserved
Suggested Alternatives

InfiniLore.Lucide

This is a prerelease version of InfiniLore.Lucide.Data.
There is a newer version of this package available.
See the version list below for details.
dotnet add package InfiniLore.Lucide.Data --version 0.13.483-preview.11
                    
NuGet\Install-Package InfiniLore.Lucide.Data -Version 0.13.483-preview.11
                    
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="InfiniLore.Lucide.Data" Version="0.13.483-preview.11" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="InfiniLore.Lucide.Data" Version="0.13.483-preview.11" />
                    
Directory.Packages.props
<PackageReference Include="InfiniLore.Lucide.Data" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add InfiniLore.Lucide.Data --version 0.13.483-preview.11
                    
#r "nuget: InfiniLore.Lucide.Data, 0.13.483-preview.11"
                    
#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.
#:package InfiniLore.Lucide.Data@0.13.483-preview.11
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=InfiniLore.Lucide.Data&version=0.13.483-preview.11&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=InfiniLore.Lucide.Data&version=0.13.483-preview.11&prerelease
                    
Install as a Cake Tool

InfiniLore.Lucide

InfiniLore.Lucide is a package that allows you to seamlessly integrate Lucide Icons into your Blazor applications. This library provides an easy-to-use component and tools to render SVG icons dynamically with customizable properties.


Features

  • Reusable Components: Incorporate Lucide's rich collection of SVG icons using Razor components.
  • Icon Customization: Adjust properties like fill, stroke, width, height, and more.
  • Performance-Oriented Rendering: Icons are served as SVG with minimal overhead.
  • Fully Typed API: Seamless integration with C# for type-safe development.
  • Support for .NET 9.0: Built with the latest .NET technology for modern application development.

Getting Started

To get started with InfiniLore.Lucide, follow the steps below:

1. Install the Package

Make sure you have .NET 9.0 installed. Then, install InfiniLore.Lucide into your Blazor project:

dotnet add package InfiniLore.Lucide

2. Usage

Add the Lucide Component

To include an icon in your Blazor application, use the LucideSvg component:


<LucideIcon Name="signature"/>


<LucideIcon Name="arrow-right"
           Width="48"
           Height="48"
           Fill="none"
           Stroke="black"
           StrokeWidth="2"
           StrokeLineCap="round"
           StrokeLineJoin="round" />
Parameters

Below are the parameters you can configure for the LucideSvg component:

Parameter Type Default Description
IconName string Required Name of the icon (case sensitive).
Width int 24 Width of the icon.
Height int 24 Height of the icon.
Fill string "none" Fill color of the icon.
Stroke string "currentColor" Stroke color of the icon.
StrokeWidth int 2 Stroke width of the icon.
StrokeLineCap string "round" Shape of the ends of lines (butt, round).
StrokeLineJoin string "round" Style of corners (miter, round, bevel).

3. Custom SVG Icons

The library can also accept raw SVG content for advanced use cases. You can programmatically get an SVG's content using the LucideService.GetIconContent(string iconName) method.


Integration Details

This library:

  • Internally utilizes the lucide-static package for icon definitions.
  • Includes ILucideIconData for icon data encapsulation, providing structured interfaces for SVG manipulation.
  • Supports additional data manipulation for expanding sources via the AdditionalSourcesCollection class.

Dependencies

  • Lucide-Static for icon SVG content.
  • CodeOfChaos.GeneratorTools for generator tooling in source generation scenarios.

Supported Platforms

  • .NET 9.0 Blazor Server and WebAssembly.

Development Notes

This project follows a modular structure for maintainability:

  • InfiniLore.Lucide: Blazor components and view logic.
  • InfiniLore.Lucide.Data: Handles icon definitions and metadata.
  • InfiniLore.Lucide.Generators: Implements tooling via Roslyn to read data from lucide.static package.

License

InfiniLore.Lucide is built on Lucide, which is distributed under the ICS license:

Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted, provided that the above
copyright notice and this permission notice appear in all copies.

THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.

For full license details, see Lucide License.


Contributions

Contributions are welcome! To get started:

  1. Fork the repository.
  2. Create a new branch for your feature or fix.
  3. Submit a pull request with a detailed description of your changes.

For further development or issues, feel free to raise a GitHub issue or suggest improvements.

Enjoy using InfiniLore.Lucide in your Blazor projects! 🚀

Product Compatible and additional computed target framework versions.
.NET net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net9.0

    • No dependencies.

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
0.28.515 236 6/15/2025 0.28.515 is deprecated because it is no longer maintained.
0.27.515 321 6/13/2025 0.27.515 is deprecated because it is no longer maintained.
0.26.515 311 6/13/2025 0.26.515 is deprecated because it is no longer maintained.
0.26.514 357 6/12/2025 0.26.514 is deprecated because it is no longer maintained.
0.26.513 354 6/4/2025 0.26.513 is deprecated because it is no longer maintained.
0.26.511 362 5/19/2025 0.26.511 is deprecated because it is no longer maintained.
0.26.509 228 5/9/2025 0.26.509 is deprecated because it is no longer maintained.
0.26.507 231 5/4/2025 0.26.507 is deprecated because it is no longer maintained.
0.26.506 221 5/2/2025 0.26.506 is deprecated because it is no longer maintained.
0.26.503 291 4/21/2025 0.26.503 is deprecated because it is no longer maintained.
0.24.501 252 4/18/2025 0.24.501 is deprecated because it is no longer maintained.
0.24.499 234 4/18/2025 0.24.499 is deprecated because it is no longer maintained.
0.24.494 240 4/18/2025 0.24.494 is deprecated because it is no longer maintained.
0.24.493 207 4/18/2025 0.24.493 is deprecated because it is no longer maintained.
0.23.493 212 4/18/2025 0.23.493 is deprecated because it is no longer maintained.
0.23.492 215 4/18/2025 0.23.492 is deprecated because it is no longer maintained.
0.23.488 279 4/17/2025 0.23.488 is deprecated because it is no longer maintained.
0.22.488 297 4/15/2025 0.22.488 is deprecated because it is no longer maintained.
0.22.487 202 4/5/2025 0.22.487 is deprecated because it is no longer maintained.
0.21.487 264 4/2/2025 0.21.487 is deprecated because it is no longer maintained.
0.21.483 241 3/22/2025 0.21.483 is deprecated because it is no longer maintained.
0.20.483 188 3/21/2025 0.20.483 is deprecated because it is no longer maintained.
0.13.483-preview.11 198 3/20/2025 0.13.483-preview.11 is deprecated because it is no longer maintained.
0.13.483-preview.10 197 3/20/2025 0.13.483-preview.10 is deprecated because it is no longer maintained.
0.13.483-preview.9 199 3/20/2025 0.13.483-preview.9 is deprecated because it is no longer maintained.
0.13.483-preview.7 199 3/20/2025 0.13.483-preview.7 is deprecated because it is no longer maintained.
0.13.483-preview.6 203 3/20/2025 0.13.483-preview.6 is deprecated because it is no longer maintained.
0.13.482-preview.5 129 3/15/2025 0.13.482-preview.5 is deprecated because it is no longer maintained.
0.13.477-preview.3 247 3/5/2025 0.13.477-preview.3 is deprecated because it is no longer maintained.
0.13.477-preview.2 248 3/5/2025 0.13.477-preview.2 is deprecated because it is no longer maintained.
0.13.477-preview.1 252 3/5/2025 0.13.477-preview.1 is deprecated because it is no longer maintained.
0.12.477 206 3/1/2025 0.12.477 is deprecated because it is no longer maintained.
0.11.477 184 3/1/2025 0.11.477 is deprecated because it is no longer maintained.
0.7.477 186 3/1/2025 0.7.477 is deprecated because it is no longer maintained.
0.6.477 186 3/1/2025 0.6.477 is deprecated because it is no longer maintained.
0.5.477 189 3/1/2025 0.5.477 is deprecated because it is no longer maintained.
0.4.477 189 3/1/2025 0.4.477 is deprecated because it is no longer maintained.
0.3.477 192 3/1/2025 0.3.477 is deprecated because it is no longer maintained.