Logo: Avalonia Pro Max/Icons Imagery

Avalonia Pro Max/Icons Imagery

Communautéit
linuxdevel
avalonia-pro-max/icons-imagery

Use when picking an icon library, drawing custom icons, embedding SVG, or handling images and brand assets in an Avalonia app. Covers Lucide, Material.Icons, Projektanker.Icons, MahApps.IconPacks, FluentSystemIcons, Heroicons, Svg.Skia, PathIcon, and asset performance.

Iwwersiicht

Editeurlinuxdevel
RepositoryAvalonia-skills
Skill-Nummavalonia-pro-max/icons-imagery
Stären
50
Forks
4
Matgeliwwert Dateien
Nëmmen Instruktiounen
LizenzMIT
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • Alles an den Instruktiounen

    Alles, wat de Modell brauch, steet an den Instruktiounen — keng zousätzlech Dateien ze synchroniséieren.

  • Open Source

    linuxdevel huet de Skill op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Avalonia Pro Max/Icons Imagery an TypingMind, fir e mat all LLM ze benotzen, oder setzt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vu GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier, déi hei drënner steet, an a bestätegt d'Installatioun.
    https://github.com/linuxdevel/Avalonia-skills/tree/main/skills/avalonia/avalonia-pro-max/icons-imagery
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill derbäisetzen → Iwwer eng GitHub-URL. Pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an d'Skill-Verzeechnes vun deem KI-Agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/linuxdevel/Avalonia-skills.git /tmp/Avalonia-skills
mkdir -p .claude/skills
cp -r /tmp/Avalonia-skills/skills/avalonia/avalonia-pro-max/icons-imagery .claude/skills/linuxdevel-avalonia-pro-max-icons-imagery
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Avalonia Pro Max/Icons Imagery an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Avalonia Pro Max/Icons Imagery automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Avalonia Pro Max/Icons Imagery net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Schlësselen.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

Icons & Imagery

Icon Library Selection

LibraryNuGetStyleNotes
Lucide.AvaloniaLucide.AvaloniaModern stroke (Feather-derived)First pick for modern UIs. Single visual language.
Material.Icons.AvaloniaMaterial.Icons.AvaloniaMaterial Design (filled + outline)6,000+ icons. Pair with Material.Avalonia.
Projektanker.Icons.AvaloniaProjektanker.Icons.Avalonia + provider pkgMulti-provider (FontAwesome, MDI)Use when you need FontAwesome specifically.
MahApps.Metro.IconPacks.AvaloniaMahApps.Metro.IconPacks.Avalonia21,000+ across 9 packsLargest selection; heavier dependency.
FluentSystemIconsFluentIcons.AvaloniaMicrosoft FluentBest with FluentAvalonia / Windows-feel apps.
HeroIcons.Avaloniacommunity (russkyc/heroicons-avalonia)Tailwind HeroiconsGreat with shadcn-style designs.

Rule: Pick one icon family per app. Mixing stroke widths and corner styles is the fastest way to look amateur.


Lucide.Avalonia (recommended default)

Icon packages (Lucide.Avalonia, Material.Icons.Avalonia, Projektanker.Icons.Avalonia, Svg.Skia) version independently of Avalonia — before using them with Avalonia 12 check on nuget.org that the release depends on Avalonia 12.x (compatibility not verified in this skill).

sh
dotnet add package Lucide.Avalonia
xml
<Window xmlns="https://github.com/avaloniaui"
        xmlns:lucide="using:Lucide.Avalonia">
  <lucide:Lucide Icon="Home" Width="20" Height="20"
                 StrokeBrush="{DynamicResource TextPrimaryBrush}"
                 StrokeThickness="1.75"/>
</Window>

Set app-wide defaults via Style:

xml
<Style Selector="lucide|Lucide">
  <Setter Property="Width" Value="18"/>
  <Setter Property="Height" Value="18"/>
  <Setter Property="StrokeThickness" Value="1.75"/>
  <Setter Property="StrokeBrush" Value="{DynamicResource TextPrimaryBrush}"/>
</Style>

Material.Icons.Avalonia

xml
<Window xmlns:mi="using:Material.Icons.Avalonia">
  <mi:MaterialIcon Kind="Home" Width="20" Height="20"
                   Foreground="{DynamicResource TextPrimaryBrush}"/>
</Window>

Kind is an enum with all 6,000+ MDI icons. IDE auto-complete works.


Projektanker.Icons.Avalonia

sh
dotnet add package Projektanker.Icons.Avalonia
dotnet add package Projektanker.Icons.Avalonia.FontAwesome

Program.cs:

csharp
public static AppBuilder BuildAvaloniaApp() => AppBuilder.Configure<App>()
    .UsePlatformDetect()
    .WithIcons(c => c.Register<FontAwesomeIconProvider>());
xml
<i:Icon xmlns:i="using:Projektanker.Icons.Avalonia"
        Value="fa-solid fa-house" FontSize="20"/>

Built-in PathIcon (no external dependency)

xml
<PathIcon Width="16" Height="16"
          Foreground="{DynamicResource TextPrimaryBrush}"
          Data="M12 2L2 22h20L12 2z"/>

Store geometries in resources for reuse:

xml
<StreamGeometry x:Key="HomeIconGeometry">M3 12L12 4l9 8v8h-6v-6h-6v6H3z</StreamGeometry>

<PathIcon Data="{StaticResource HomeIconGeometry}"/>

This is fine for a handful of icons; for >10, use a library.


SVG Files (Svg.Skia)

sh
dotnet add package Svg.Skia
dotnet add package Svg.Controls.Skia.Avalonia
xml
<Window xmlns:svg="using:Avalonia.Svg.Skia">
  <svg:Svg Path="avares://MyApp/Assets/logo.svg" Width="120" Height="40"/>
</Window>

Pros: pixel-perfect at any size, theme-aware fills if SVG uses currentColor. Cons: extra dependency, larger binary than PathIcon.

For a brand logo, SVG is usually the right call. For UI glyphs, prefer the icon library.


Icon Sizing Discipline

Define a token scale and stick to it:

xml
<sys:Double x:Key="IconSizeXs">12</sys:Double>
<sys:Double x:Key="IconSizeSm">14</sys:Double>
<sys:Double x:Key="IconSizeMd">16</sys:Double>   <!-- inline with body text -->
<sys:Double x:Key="IconSizeLg">20</sys:Double>   <!-- toolbar button -->
<sys:Double x:Key="IconSizeXl">24</sys:Double>   <!-- nav item -->
<sys:Double x:Key="IconSize2xl">32</sys:Double>  <!-- empty state hero -->

Width and Height together (square). Never set just one.

Stroke widths: 1.5 or 1.75 for stroke icons. Filled icons need no stroke setting.


Coloring Icons

Use Foreground (PathIcon, MaterialIcon) or StrokeBrush (Lucide) bound to semantic tokens — never hardcode:

xml
<lucide:Lucide Icon="Trash" StrokeBrush="{DynamicResource DangerBrush}"/>

For buttons that swap icon color on hover:

xml
<Style Selector="Button.icon:pointerover lucide|Lucide">
  <Setter Property="StrokeBrush" Value="{DynamicResource AccentBrush}"/>
</Style>

Images

Static asset

xml
<Image Source="avares://MyApp/Assets/avatar.png"
       Width="40" Height="40"
       Stretch="UniformToFill"/>

Bound URL

xml
<Image Source="{Binding AvatarUrl, Converter={StaticResource AsyncImageConverter}}"/>

For network images, use AsyncImageLoader (AsyncImageLoader.Avalonia) — handles cache + placeholder.

Rounded image (avatar)

xml
<Border CornerRadius="9999" ClipToBounds="True"
        Width="40" Height="40">
  <Image Source="{Binding AvatarUrl}" Stretch="UniformToFill"/>
</Border>

Bitmap performance

xml
<Image Source="..."
       RenderOptions.BitmapInterpolationMode="HighQuality"/>

For thumbnails, prefer LowQuality to save GPU. For hero photos, HighQuality.


Asset Pipeline

  1. Source assets (SVG, PNG, fonts) live under Assets/.
  2. Set Build Action = AvaloniaResource (not Content, not Resource).
  3. Reference via avares://AssemblyName/Assets/file.ext.

In csproj:

xml
<ItemGroup>
  <AvaloniaResource Include="Assets/**"/>
</ItemGroup>

Brand Assets

  • Use the official logo file from the brand kit; never recreate or recolor.
  • Maintain clear-space margin around the mark (typically equal to the cap-height of the wordmark).
  • Provide a light-mode and dark-mode variant if the logo has color or contrast issues.
  • Ship as SVG for crispness; supply a 2× / 3× PNG fallback for platforms where SVG isn't ideal.

Image Optimization

  • Compress PNGs (pngquant, zopflipng) before adding to repo.
  • Use WebP for photos >50 KB (Avalonia supports WebP via SkiaSharp).
  • Keep app icon set complete: provide ICO (Windows), ICNS (macOS), and PNGs at 16/32/48/64/128/256/512 px.
  • Lazy-load large galleries via virtualization rather than loading all at once.

Common Mistakes

  • Mixing two icon families in one app — different stroke widths and corner styles look broken.
  • Using emoji as icons (🏠 ⚙️ 🔔) — font/OS dependent, not themable.
  • Hardcoded icon size on every usage — drifts. Use the size token scale.
  • Setting only Width — non-square icons look squashed.
  • Hardcoded icon color — won't switch with theme variant.
  • PNG icons at 1× resolution — blurry on high-DPI; ship 2×/3× or use SVG/PathIcon.
  • Build Action Resource instead of AvaloniaResource — file isn't found at runtime.
  • No AutomationProperties.Name on icon-only buttons — see accessibility sub-skill.
  • Loading network images on UI thread — janky scroll. Use AsyncImageLoader.Avalonia.

Heefeg gestallte Froen

Wat mécht de KI-Skill Avalonia Pro Max/Icons Imagery?

Use when picking an icon library, drawing custom icons, embedding SVG, or handling images and brand assets in an Avalonia app. Covers Lucide, Material.Icons, Projektanker.Icons, MahApps.IconPacks, FluentSystemIcons, Heroicons, Svg.Skia, PathIcon, and asset performance.

Firwat Avalonia Pro Max/Icons Imagery op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Avalonia Pro Max/Icons Imagery besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt, amplaz en Abonnement pro Benotzerplaz ze bezuelen. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Avalonia Pro Max/Icons Imagery an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/linuxdevel/Avalonia-skills/tree/main/skills/avalonia/avalonia-pro-max/icons-imagery an. TypingMind liest d'Datei SKILL.md an installéiert de Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Avalonia Pro Max/Icons Imagery benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Avalonia Pro Max/Icons Imagery benotzen?

Esou vill wéi Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Avalonia Pro Max/Icons Imagery domat benotzen – zum Beispill mat GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Avalonia Pro Max/Icons Imagery gratis?

Jo. linuxdevel huet de Skill ënner der Lizenz MIT op GitHub publizéiert. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbare Pak vun Instruktiounen, deen engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt e maache soll a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a kee Lafzäitëmfeld a funktionéiere mat all Modell.

Alleguer weisen

Elo Ären eegene KI-Aarbechtsberäich ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇