Irihi.Iconica.Core
1.1.0
Prefix Reserved
dotnet add package Irihi.Iconica.Core --version 1.1.0
NuGet\Install-Package Irihi.Iconica.Core -Version 1.1.0
<PackageReference Include="Irihi.Iconica.Core" Version="1.1.0" />
<PackageVersion Include="Irihi.Iconica.Core" Version="1.1.0" />
<PackageReference Include="Irihi.Iconica.Core" />
paket add Irihi.Iconica.Core --version 1.1.0
#r "nuget: Irihi.Iconica.Core, 1.1.0"
#:package Irihi.Iconica.Core@1.1.0
#addin nuget:?package=Irihi.Iconica.Core&version=1.1.0
#tool nuget:?package=Irihi.Iconica.Core&version=1.1.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.Semi | MIT | 500+ | Semi Design Icons |
| Irihi.Iconica.Semi.Lab | MIT | 84 | Semi Design Icons Lab |
| Irihi.Iconica.TDesign | MIT | 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; Semi main icons follow the text foreground withSecondary/Gradientaccent slots - 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.Semi # Semi Design icons (theme-aware)
dotnet add package Irihi.Iconica.Semi.Lab # Semi Design lab icons (colorful, fixed palette)
dotnet add package Irihi.Iconica.TDesign # TDesign icons
Usage (XAML)
<Window xmlns="https://github.com/avaloniaui"
xmlns:iconpark="https://irihi.tech/iconica/iconpark"
xmlns:semiicon="https://irihi.tech/iconica/semi"
xmlns:semilabicon="https://irihi.tech/iconica/semi/lab"
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" />
<semiicon:Bell />
<semiicon:AiBellLevel2 Secondary="#A647FF" />
<semiicon:AiBellLevel3 />
<semilabicon:Anchor />
<tdicon:AddCircle />
<tdicon:AddCircleFilled />
<tdicon:User Mode="FilledMultiple" />
</StackPanel>
</Window>
For per-package details, see the package READMEs:
- Irihi.Iconica.IconPark/README.md
- Irihi.Iconica.Semi/README.md
- Irihi.Iconica.Semi.Lab/README.md
- Irihi.Iconica.TDesign/README.md
Repository layout
src/
├── Irihi.Iconica.Core/ # Shared core (icon base types)
├── Irihi.Iconica.IconPark/ # IconPark package
├── Irihi.Iconica.Semi/ # Semi package (main icons)
├── Irihi.Iconica.Semi.Lab/ # Semi lab package (colorful icons)
├── Irihi.Iconica.TDesign/ # TDesign package
├── IconGenerator.IconPark/ # Generates IconPark icon classes from SVG
├── IconGenerator.Semi/ # Generates Semi 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)
├── semi-design/ # Semi Design 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 -f net10.0
dotnet run --project src/IconGenerator.Semi -f net10.0
dotnet run --project src/IconGenerator.TDesign -f net10.0
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 MIT License — see LICENSE.
The Irihi.Iconica.IconPark package is the exception: it stays under the
Apache License 2.0 to match its upstream license — see
src/Irihi.Iconica.IconPark/LICENSE.
This product includes icons from:
- IconPark (https://github.com/bytedance/iconpark), Copyright 2019-present Bytedance Inc., Apache License 2.0
- Semi Design (https://github.com/DouyinFE/semi-design), Copyright (c) 2020-present ByteDance Inc., MIT License
- 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 (4)
Showing the top 4 NuGet packages that depend on Irihi.Iconica.Core:
| Package | Downloads |
|---|---|
|
Irihi.Iconica.IconPark
Package Description |
|
|
Irihi.Iconica.TDesign
Package Description |
|
|
Irihi.Iconica.Semi
Package Description |
|
|
Irihi.Iconica.Semi.Lab
Package Description |
GitHub repositories
This package is not used by any popular GitHub repositories.