-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b2c9d77
commit ce94e25
Showing
1 changed file
with
26 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,45 @@ | ||
# ✨ Lucide.Avalonia | ||
|
||
Implementation of the [Lucide](https://github.com/lucide-icons/lucide) icon library for [AvaloniaUI](https://github.com/AvaloniaUI/Avalonia). | ||
Implementation of the [Lucide icon library](https://github.com/lucide-icons/lucide) for [AvaloniaUI](https://github.com/AvaloniaUI/Avalonia). **Simple, fast, and hassle-free**. | ||
|
||
[![NuGet Version](https://img.shields.io/nuget/v/Lucide.Avalonia?logo=nuget)](https://www.nuget.org/packages/Lucide.Avalonia) | ||
[![GitHub License](https://img.shields.io/github/license/dme-compunet/Lucide.Avalonia)](https://github.com/dme-compunet/Lucide.Avalonia/blob/main/LICENSE) | ||
|
||
# Examples | ||
--- | ||
|
||
## ⚡ Advantages | ||
|
||
- **No xmlns declaration required** – it works out of the box. | ||
- **No styles include required** – just add and use. | ||
- **Fast and simple** – get started in seconds. | ||
|
||
--- | ||
|
||
## 🚀 Usage Examples | ||
|
||
### Using the `LucideIcon` Element | ||
|
||
```xml | ||
<LucideIcon Kind="Star"/> | ||
<LucideIcon Kind="Star" Size="30"/> | ||
<LucideIcon Kind="Star" Size="30" StrokeWidth="1.5"/> | ||
``` | ||
|
||
Markup Extension | ||
### Using a Markup Extension | ||
|
||
```xml | ||
<Button Content="{LucideIconContent Star}"/> | ||
<Button Content="{LucideIconContent Star, 30, 1.5}"/> | ||
<Button Content="{LucideIconContent Kind=Star, Size=30, StrokeWidth=1.5}"/> | ||
``` | ||
|
||
--- | ||
|
||
## 🔗 Additional Links | ||
|
||
- [Lucide Icons](https://lucide.dev/icons) | ||
- [NuGet Package](https://www.nuget.org/packages/Lucide.Avalonia) | ||
|
||
--- | ||
|
||
Quick to add, easy to use. That's it. 😎 |