Irihi.Iconica.Core 1.0.0

Prefix Reserved
dotnet add package Irihi.Iconica.Core --version 1.0.0
                    
NuGet\Install-Package Irihi.Iconica.Core -Version 1.0.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="Irihi.Iconica.Core" Version="1.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Irihi.Iconica.Core" Version="1.0.0" />
                    
Directory.Packages.props
<PackageReference Include="Irihi.Iconica.Core" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Irihi.Iconica.Core --version 1.0.0
                    
#r "nuget: Irihi.Iconica.Core, 1.0.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.
#:package Irihi.Iconica.Core@1.0.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Irihi.Iconica.Core&version=1.0.0
                    
Install as a Cake Addin
#tool nuget:?package=Irihi.Iconica.Core&version=1.0.0
                    
Install as a Cake Tool

IRIHI Iconica

English | 简体中文

Avalonia icon libraries that ship popular open-source icon sets as native, runtime-customizable controls — no SVG files, no asset management, full type safety.

Package NuGet Icons Icon source
Irihi.Iconica.IconPark Apache-2.0 2,600+ ByteDance IconPark
Irihi.Iconica.TDesign Apache-2.0 2,300+ Tencent TDesign Icons

Why this library?

Instead of importing individual SVG files as static resources, every icon is generated as a strongly-typed Avalonia control that renders through DrawingContext. That gives you:

  • Runtime customization — change colors, stroke width, line caps and joins from XAML or code, even at runtime
  • Multiple display modes — IconPark supports Line, Fill, TwoTone and MultiColor; TDesign supports outline/filled variants
  • Type safety & IntelliSense — every icon is a C# class with a predictable name
  • No asset overhead — no SVG files to manage, no naming conflicts, everything is compiled into the library
  • Performance — pre-parsed geometry data for efficient rendering

Getting started

Install

dotnet add package Irihi.Iconica.IconPark   # IconPark icons
dotnet add package Irihi.Iconica.TDesign    # TDesign icons

Usage (XAML)

<Window xmlns="https://github.com/avaloniaui"
        xmlns:iconpark="https://irihi.tech/iconica/iconpark"
        xmlns:tdicon="https://irihi.tech/iconica/tdesign">
    <StackPanel>
        
        <iconpark:Bear Width="24" Height="24" />

        
        <iconpark:Bear Width="48" Height="48"
                       Mode="TwoTone"
                       OuterStroke="#333333"
                       OuterFill="#2F88FF"
                       InnerStroke="White"
                       InnerFill="#43CCF8"
                       StrokeWidth="4"
                       LineCap="Round" />

        
        <tdicon:AddCircle />
        <tdicon:AddCircleFilled />
        <tdicon:User Mode="FilledMultiple" />
    </StackPanel>
</Window>

For per-package details, see the package READMEs:

Repository layout

src/
├── Irihi.Iconica.Core/            # Shared core (icon base types)
├── Irihi.Iconica.IconPark/        # IconPark package
├── Irihi.Iconica.TDesign/         # TDesign package
├── IconGenerator.IconPark/        # Generates IconPark icon classes from SVG
└── IconGenerator.TDesign/         # Generates TDesign icon classes from SVG
demo/
├── Irihi.Iconica.Demo/            # Icon gallery demo
├── Irihi.Iconica.Demo.Desktop/    # Desktop demo host
└── Irihi.Iconica.Demo.Browser/    # Browser demo host
external/
├── iconpark/                      # IconPark source (git submodule)
└── tdesign-icons/                 # TDesign Icons source (git submodule)

Building from source

Prerequisites

  • .NET 8.0 SDK or later
  • Git

Steps

git clone https://github.com/irihitech/Irihi.Iconica.git
cd Irihi.Iconica

# Initialize the icon source submodules
git submodule update --init

# Build the solution
dotnet build Irihi.Iconica.slnx

To regenerate icon classes after updating a submodule:

dotnet run --project src/IconGenerator.IconPark
dotnet run --project src/IconGenerator.TDesign

Run the demo

dotnet run --project demo/Irihi.Iconica.Demo.Desktop

The demo provides a searchable gallery of all icons with live customization options.

License

This repository is licensed under the Apache License 2.0 — see LICENSE.

This product includes icons from:

Attribution notices are included in each package's NOTICE file. Generated code and libraries: Copyright © 2025 IRIHI Technology Co., Ltd.

Product Compatible and additional computed target framework versions.
.NET 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.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on Irihi.Iconica.Core:

Package Downloads
Irihi.Iconica.IconPark

Package Description

Irihi.Iconica.TDesign

Package Description

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.0 316 8/28/2026