TablerIcons.Avalonia 3.13.0

dotnet add package TablerIcons.Avalonia --version 3.13.0                
NuGet\Install-Package TablerIcons.Avalonia -Version 3.13.0                
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="TablerIcons.Avalonia" Version="3.13.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add TablerIcons.Avalonia --version 3.13.0                
#r "nuget: TablerIcons.Avalonia, 3.13.0"                
#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 TablerIcons.Avalonia as a Cake Addin
#addin nuget:?package=TablerIcons.Avalonia&version=3.13.0

// Install TablerIcons.Avalonia as a Cake Tool
#tool nuget:?package=TablerIcons.Avalonia&version=3.13.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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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
3.13.0 133 8/26/2024
3.12.0 99 8/26/2024
2.45.0 191 1/6/2024

Packages version 3.13.0 of https://tabler-icons.io/