TablerIcons.Avalonia
3.12.0
See the version list below for details.
dotnet add package TablerIcons.Avalonia --version 3.12.0
NuGet\Install-Package TablerIcons.Avalonia -Version 3.12.0
<PackageReference Include="TablerIcons.Avalonia" Version="3.12.0" />
paket add TablerIcons.Avalonia --version 3.12.0
#r "nuget: TablerIcons.Avalonia, 3.12.0"
// Install TablerIcons.Avalonia as a Cake Addin #addin nuget:?package=TablerIcons.Avalonia&version=3.12.0 // Install TablerIcons.Avalonia as a Cake Tool #tool nuget:?package=TablerIcons.Avalonia&version=3.12.0
Tabler Icons Avalonia Components
Tabler Icons Component library for Avalonia UI.
<p align="center"> <a href="https://tabler-icons.io/"><strong>Browse at tabler-icons.io →</strong></a> </p>
Installation
You can install the package from nuget.
dotnet add package TablerIcons.Avalonia
Usage
You can either use a TablerIcon control, or a TablerIcon Markup Extension. TablerIcon control supports binding to it's properties. Names of the icons are the same as React names displayed on the official Tabler Icons website.
<UserControl xmlns="https://github.com/avaloniaui"
...
xmlns:ti="using:TablerIcons">
<StackPanel>
<ti:TablerIcon Icon="{Binding IconHeart}" Width="{Binding IconSize}" Height="{Binding IconSize}" StrokeWidth="{Binding StrokeWidth}"/>
<ti:TablerIcon Icon="IconHeart" Width="24" Height="24" StrokeWidth="1"/>
<ti:TablerIcon Icon="IconHeart" Brush="Crimson" Width="24" Height="24" StrokeWidth="1"/>
<ContentControl Content="{ti:TablerIcon IconHeart, Width=24, Height=24, StrokeWidth=1}"/>
<ContentControl Content="{ti:TablerIcon IconHeart, Brush=Crimson, Width=24, Height=24, StrokeWidth=1}"/>
</StackPanel>
</UserControl>
Properties were renamed to align more to what naming convention found in Avalonia UI controls.
size - Width and Height
color - Brush (supports SolidColorBrush and default Gradient brushes from Avalonia)
stroke - StrokeWidth
License
Tabler Icons is licensed under the MIT License.
Tabler Icons Avalonia Components is licensed under the MIT License as well
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 is compatible. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. 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. |
.NET Framework | net48 is compatible. net481 was computed. |
-
.NETFramework 4.8
- Avalonia.Skia (>= 11.0.6)
-
net6.0
- Avalonia.Skia (>= 11.0.6)
-
net7.0
- Avalonia.Skia (>= 11.0.6)
-
net8.0
- Avalonia.Skia (>= 11.0.6)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Packages version 3.12.0 of https://tabler-icons.io/