Avalonia Pro Max/Icons Imagery logo

Avalonia Pro Max/Icons Imagery

Community
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.

Overview

Publisherlinuxdevel
RepositoryAvalonia-skills
Skill nameavalonia-pro-max/icons-imagery
Stars
50
Forks
4
Bundled files
Instructions only
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by linuxdevel on GitHub. Read the source before you install it.

Installation

Install the Avalonia Pro Max/Icons Imagery AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/linuxdevel/Avalonia-skills/tree/main/skills/avalonia/avalonia-pro-max/icons-imagery
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

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
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Avalonia Pro Max/Icons Imagery in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Avalonia Pro Max/Icons Imagery on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Avalonia Pro Max/Icons Imagery is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

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.

Frequently asked questions

What does the Avalonia Pro Max/Icons Imagery AI skill do?

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.

Why use Avalonia Pro Max/Icons Imagery on TypingMind?

Because you install it once and use it with any model. Avalonia Pro Max/Icons Imagery is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Avalonia Pro Max/Icons Imagery in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/linuxdevel/Avalonia-skills/tree/main/skills/avalonia/avalonia-pro-max/icons-imagery. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Avalonia Pro Max/Icons Imagery?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Avalonia Pro Max/Icons Imagery?

As many as you like. As long as a model supports skills, you can use Avalonia Pro Max/Icons Imagery with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Avalonia Pro Max/Icons Imagery AI skill free?

Yes. It is published on GitHub by linuxdevel under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇