TKCode.Arc 1.0.0

dotnet add package TKCode.Arc --version 1.0.0
                    
NuGet\Install-Package TKCode.Arc -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="TKCode.Arc" Version="1.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="TKCode.Arc" Version="1.0.0" />
                    
Directory.Packages.props
<PackageReference Include="TKCode.Arc" />
                    
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 TKCode.Arc --version 1.0.0
                    
#r "nuget: TKCode.Arc, 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 TKCode.Arc@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=TKCode.Arc&version=1.0.0
                    
Install as a Cake Addin
#tool nuget:?package=TKCode.Arc&version=1.0.0
                    
Install as a Cake Tool

TKCode.Arc

English | 简体中文

NuGet License: MIT

The visual language and spring motion of Arc, as native Avalonia controls.

TKCode.Arc is a UI kit for .NET applications on Avalonia 12. It ports Arc's 112 free components and adds what a full product needs around them: page-level blocks, a spreadsheet-style data grid, a workflow canvas, IDE-style docking, a terminal, a PDF viewer, and audio and video playback.

Live gallery and documentation · Changelog

Why Arc

  • Native controls. Every control derives from Avalonia base types and uses public Avalonia APIs only.
  • One token system. Colors, radii, shadows and fonts come from design tokens, so light and dark, the eight accent presets and whole-theme packages apply across every control.
  • Motion built in. A spring engine drives the components, with Full, Reduced and Off levels for the whole app.
  • Ready for NativeAOT. The libraries are built as trimming and AOT compatible.
  • Documented in three languages. Each of the 300+ component and block pages has live examples and a generated API table, in English, 简体中文 and 繁體中文.
  • Readable by AI assistants. The site publishes llms.txt, every page as Markdown and an agent skill.

What's inside

Components

Package Contents
TKCode.Arc The 112 components in 22 groups, organized like Arc's sidebar, plus layout panels and extras such as Markdown (with streaming), PropertyGrid, Cascader and TransferBox.
TKCode.Arc.Blocks Page-level compositions: AI chat, pricing and checkout, billing, dashboards, settings, team management and more.
TKCode.Arc.AdvancedCharts DataGrid (range selection, inline editing, fill handle, clipboard, grouping, export), Sunburst, SankeyFlow, FunnelChart, RadarChart, RealtimeStream and RaceBarChart.
TKCode.Arc.Special Animated AI explainers, pointer effects, loaders, surfaces and illustrations.
TKCode.Arc.Mobile Touch-first controls with 44px touch targets.

Application features

Package Contents
TKCode.Arc.Workflow A canvas for showing, editing and running graphs of steps, with pan, zoom, auto-arrange and undo.
TKCode.Arc.Dock IDE-style tab groups and resizable splits, with keyboard navigation and layouts saved as JSON.
TKCode.Arc.Terminal TerminalView over libghostty-vt, with the native libraries bundled.
TKCode.Arc.Pdf, .Pdf.Native, .Pdf.Browser PdfViewer with thumbnails, outline, search, text selection and links, using PDFium on desktop and pdf.js on WebAssembly. New in the next version.
TKCode.Arc.Audio, .Audio.Native, .Audio.Browser The IAudioPlayer abstraction, with miniaudio on desktop and HTML audio on WebAssembly.
TKCode.Arc.Video, .Video.Native, .Video.Browser VideoPlayer and VideoSurface over each platform's own player. In this repository, not published to NuGet yet.

Theming and assets

Package Contents
TKCode.Arc.Themes.Pixel A pixel-art theme, in token overrides only.
TKCode.Arc.Themes.Corners A global corner style: square or scaled corners for every control.
TKCode.Arc.Icons.Lucide The full Lucide set. A source generator compiles in only the icons a project uses.
TKCode.Arc.Fonts Geist and Geist Mono, plus optional pixel fonts for the pixel theme.

Foundation and tooling

Package Contents
TKCode.Arc.Foundation The token, theme, language and package registration runtime. Depends on Avalonia only.
TKCode.Arc.Core ArcDesign tokens and palette, the motion engine, shared primitives and built-in Lucide glyphs.
TKCode.Arc.Templates dotnet new templates: a starter app, a cross-platform app, six finished apps, a control library, and item templates for a page, window, dialog and control.

Status and compatibility

Arc follows Semantic Versioning: from 1.0.0 on, breaking API changes come only with a new major version. CHANGELOG.md lists each release and its migration notes.

.NET net8.0, net10.0 and net11.0. TKCode.Arc.Terminal targets net10.0 and net11.0.
Avalonia Avalonia 12, pinned to an exact version in build/Versions.props.
Desktop Windows, macOS and Linux.
Browser The gallery itself runs on WebAssembly, and audio, video and PDF have browser backends.
Mobile TKCode.Arc.Mobile is previewed in a desktop phone frame and is not yet verified on Android or iOS devices.

Repository

Path Contents
src/ The libraries above and their source generators.
gallery/ The gallery and documentation site, with desktop and browser hosts.
tests/ Unit, headless Avalonia and generator snapshot tests, with token and preset baselines.
templates/ The source of TKCode.Arc.Templates.
native/ Native shims and libraries for the terminal, audio and video.
tools/ Generators and scripts for icons, fonts, docs screenshots, native libraries and packaging.

Working on the library

Building needs the .NET 11 SDK (see global.json) and the .NET 10 runtime, which the tests and the gallery run on.

dotnet build TKCode.Arc.slnx
dotnet test tests/TKCode.Arc.Core.Tests
dotnet test tests/TKCode.Arc.Foundation.Tests
dotnet test tests/TKCode.Arc.Tests
dotnet run --project gallery/TKCode.Arc.Gallery.Desktop -f net10.0

PDFium and pdf.js are not committed: tools/pdf/sync-native.sh and tools/pdf/sync-pdfjs.sh download them and check their checksums. Without them the desktop gallery shows a simulated document in the PDF demos, and a browser build has no pdf.js to import.

Project rules and conventions are in AGENTS.md.

Community

Ask questions and talk about Avalonia in the QQ group Avalonia入门交流群 (group number 922379598). Scan the code or search for the number.

<img src="https://raw.githubusercontent.com/AIDotNet/TKCode.Arc/main/images/qq.jpg" alt="QQ group QR code" width="260">

Sponsors

TKCode.Arc is mainly sponsored by nextco.work, which provides affordable, easy-to-use access to Claude, OpenAI and DeepSeek models. Thank you for supporting the project.

License

MIT. Arc depends only on Avalonia (MIT) and MIT packages of its own, so closed-source applications can ship it in a single file or a NativeAOT build. THIRD-PARTY-NOTICES.md covers Arc (MIT), Lucide (ISC), fonts (OFL), StreamMark, TextMateSharp, Oniguruma and Markdig.

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.  net11.0 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (6)

Showing the top 5 NuGet packages that depend on TKCode.Arc:

Package Downloads
TKCode.Arc.Blocks

Page-level block compositions for TKCode.Arc, built from Arc components. Ports Arc's free blocks and adds original ones.

TKCode.Arc.Special

Special components for TKCode.Arc, the uiarc.dev "Special components" section: animated AI explainers (prompt cache, reasoning tree, speculative decoding, mixture of experts, agent loop) and pointer effects (dot grid, gravity well, ink fluid).

TKCode.Arc.Workflow

Workflow canvas for TKCode.Arc: show and edit graphs of steps and connections on a dotted canvas, watch a run step by step, pan and zoom, arrange automatically and undo.

TKCode.Arc.AdvancedCharts

Advanced charts for TKCode.Arc: Sunburst, SankeyFlow, FunnelChart, RadarChart, RealtimeStream, RaceBarChart, and DataGrid, a spreadsheet grid with range selection, inline editing, a fill handle, Excel and Sheets clipboard, undo, sorting, filtering, grouping, totals and export.

TKCode.Arc.Dock

IDE-style dock layout for TKCode.Arc: panes in tab groups, nested horizontal and vertical splits with resizable dividers, a document area, context-menu docking commands, keyboard navigation, and layouts saved to and restored from JSON.

GitHub repositories (1)

Showing the top 1 popular GitHub repositories that depend on TKCode.Arc:

Repository Stars
AIDotNet/Avalonia-Assistant
Windows 桌面 AI 助理。Agent 循环用 pi.net 的 Pi.CodingAgent, 界面用 TKCode.Arc,交互参考 WorkBuddy:左侧任务与空间, 中间对话,输入框里带模型、权限和工作区选择。
Version Downloads Last Updated
1.0.0 0 11/9/2026
0.4.0-preview.6 45 11/8/2026
0.4.0-preview.5 88 11/7/2026
0.4.0-preview.4 56 11/7/2026
0.4.0-preview.3 58 11/6/2026
0.4.0-preview.2 63 11/6/2026
0.4.0-preview.1 197 11/3/2026
0.3.2-preview.2 734 10/30/2026
0.3.2-preview.1 780 10/29/2026
0.3.1-preview.6 114 10/28/2026
0.3.1-preview.5 86 10/28/2026
0.3.1-preview.4 99 10/27/2026
0.3.1-preview.3 89 10/27/2026
0.3.1-preview.2 166 10/26/2026
0.3.0-preview.5 266 10/24/2026
0.3.0-preview.4 88 10/23/2026
0.3.0-preview.3 94 10/23/2026
0.3.0-preview.2 92 10/23/2026
0.3.0-preview.1 80 10/21/2026
0.2.0-preview.1 70 10/21/2026
Loading failed