Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/brecht-vde/lucide-blazor

[not maintained] Unofficial Blazor adaption for the Lucide icon pack
https://github.com/brecht-vde/lucide-blazor

Last synced: about 1 month ago
JSON representation

[not maintained] Unofficial Blazor adaption for the Lucide icon pack

Awesome Lists containing this project

README

        

# lucide-blazor

⚠⚠⚠ Please be aware this project was merely meant for myself to discover how source generators in C# work. This repository is not maintained.

[![build, test and release main branch](https://github.com/brecht-vde/lucide-blazor/actions/workflows/build-test-and-release-main.yml/badge.svg)](https://github.com/brecht-vde/lucide-blazor/actions/workflows/build-test-and-release-main.yml)
[![build and test pull requests](https://github.com/brecht-vde/lucide-blazor/actions/workflows/build-and-test-pull-requests.yml/badge.svg)](https://github.com/brecht-vde/lucide-blazor/actions/workflows/build-and-test-pull-requests.yml)
[![update lucide](https://github.com/brecht-vde/lucide-blazor/actions/workflows/update-lucide.yml/badge.svg)](https://github.com/brecht-vde/lucide-blazor/actions/workflows/update-lucide.yml)

This is an unofficial Blazor adaption for the Lucide icon pack. For a list of available icons check https://lucide.dev/ or find them in the Lucide repository.

## Installation

To add nuget sources for this package, follow [these steps](https://docs.github.com/en/packages/working-with-a-github-packages-registry/working-with-the-nuget-registry).

```bash
dotnet add package Lucide.Blazor
```

## Usage

Import the following in your razor files:

```razor
@using Lucide.Blazor.Components
```

### Basic

```razor

```
### Change color

```razor

```

### Change size

```razor

```

### Apply css classes

```razor

```

### More examples

Check the [example project](/examples/) for a running project.

## Licenses

Check the [license](/LICENSE) file for this repository.
Check the [license](https://github.com/lucide-icons/lucide/blob/main/LICENSE) file for Lucide icons.