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
<PackageReference Include="Irihi.Iconica.Core" Version="1.0.0" />
<PackageVersion Include="Irihi.Iconica.Core" Version="1.0.0" />
<PackageReference Include="Irihi.Iconica.Core" />
paket add Irihi.Iconica.Core --version 1.0.0
#r "nuget: Irihi.Iconica.Core, 1.0.0"
#:package Irihi.Iconica.Core@1.0.0
#addin nuget:?package=Irihi.Iconica.Core&version=1.0.0
#tool nuget:?package=Irihi.Iconica.Core&version=1.0.0
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,TwoToneandMultiColor; 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:
- IconPark (https://github.com/bytedance/iconpark), Copyright 2019-present Bytedance Inc., Apache License 2.0
- TDesign Icons (https://github.com/Tencent/tdesign-icons), Copyright (c) 2021-present TDesign, MIT License
Attribution notices are included in each package's NOTICE file. Generated code and libraries: Copyright © 2025 IRIHI Technology Co., Ltd.
| Product | Versions 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. |
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 |