Skip to content

A set of over 4600 free MIT-licensed high-quality SVG icons for you to use in your web projects.

License

Notifications You must be signed in to change notification settings

Epacik/tabler-icons-avalonia

This branch is 20 commits ahead of, 44 commits behind tabler/tabler-icons:main.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Dec 24, 2024
9f24b3d · Dec 24, 2024
Nov 28, 2024
Dec 15, 2024
Feb 27, 2024
Dec 9, 2024
Dec 15, 2024
Dec 24, 2024
Feb 27, 2024
Dec 15, 2024
Feb 27, 2024
Jul 5, 2024
Dec 24, 2024
Mar 28, 2020
Dec 24, 2024
Dec 24, 2024
Dec 24, 2024
Dec 9, 2024
Dec 15, 2024
Dec 15, 2024
Jan 21, 2023
Mar 12, 2024

Repository files navigation

Tabler Icons Avalonia Components

Tabler Icons Component library for Avalonia UI.

Browse at tabler-icons.io →

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

About

A set of over 4600 free MIT-licensed high-quality SVG icons for you to use in your web projects.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 43.8%
  • C# 21.6%
  • TypeScript 13.9%
  • SCSS 5.7%
  • HTML 5.3%
  • Liquid 4.2%
  • Other 5.5%