![]() |
VOOZH | about |
dotnet add package Huskui.Avalonia --version 1.3.0
NuGet\Install-Package Huskui.Avalonia -Version 1.3.0
<PackageReference Include="Huskui.Avalonia" Version="1.3.0" />
<PackageVersion Include="Huskui.Avalonia" Version="1.3.0" />Directory.Packages.props
<PackageReference Include="Huskui.Avalonia" />Project file
paket add Huskui.Avalonia --version 1.3.0
#r "nuget: Huskui.Avalonia, 1.3.0"
#:package Huskui.Avalonia@1.3.0
#addin nuget:?package=Huskui.Avalonia&version=1.3.0Install as a Cake Addin
#tool nuget:?package=Huskui.Avalonia&version=1.3.0Install as a Cake Tool
<div align="center">
A modern, elegant UI component library for Avalonia UI, designed for beautiful cross-platform desktop applications.
Inspired by ParkUI and built with the Radix Colors palette.
π NuGet
π NuGet Downloads
π Avalonia
π .NET
</div>
Huskui.Avalonianet8.0, net10.012.0.xHuskui.Avalonia includes the following components:
AppSurface for overlays, floating panels, and notificationsHuskui.Avalonia offers optional extension libraries that extend the core functionality:
| Package | Description |
|---|---|
| Syntax-highlighted code viewer powered by TextMate grammars | |
| Markdown-to-native-Avalonia rendering powered by Markdig | |
| MVVM lifecycle helpers β decouple your ViewModels from UI controls |
If you were using IPageModel and Page.Model for ViewModel lifecycle management, this API has been removed in 1.0.0. Please refer to the for the new IViewModel + ViewModelAttachableMixin approach.
Explore all components and their features in the interactive Gallery application included in this repository. The Gallery provides live examples, interactive controls, and comprehensive documentation for each component.
To run the Gallery:
dotnet run --project src/Huskui.Gallery
The Gallery application and this README documentation were created entirely by AI to showcase the Huskui.Avalonia library. However, the core Huskui.Avalonia control library itself was lovingly crafted by humans (you can tell because there are virtually no comments in the library code π ). The library is production-ready and battle-tested, so please feel confident using it in your projects!
This project changes frequently, and with limited maintainer bandwidth, we are currently unable to create and continuously maintain full documentation for every control.
If you need help understanding or using specific controls, AI-assisted development can help you get productive faster.
Download or clone the source code.
Use one of the following approaches:
Ask Claude:
Study this repository and explain the difference between Sidebar and Drawer controls, and how to use them.
If you are a Z.AI Coding Plan user, use the zread.ai official MCP to inspect the repository, read source files, and ask targeted questions about component usage and implementation details.
Helpful prompt ideas:
8.0 or 10.012.0.xdotnet add package Huskui.Avalonia
<Application xmlns="https://github.com/avaloniaui"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:husk="https://github.com/d3ara1n/Huskui.Avalonia"
x:Class="YourApp.App">
<Application.Styles>
<FluentTheme />
<husk:HuskuiTheme Accent="Lime" />
<StyleINclude Source="avares://Huskui.Avalonia/Themes/Addons.NoAutoScrollToSelectedItem.axaml" />
<StyleINclude Source="avares://Huskui.Avalonia/Themes/Addons.InlineUIContainerAlignment.axaml" />
</Application.Styles>
</Application>
<husk:AppWindow xmlns="https://github.com/avaloniaui"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:husk="https://github.com/d3ara1n/Huskui.Avalonia"
x:Class="YourApp.MainWindow"
Title="Your App">
<Grid RowDefinitions="Auto,*" Margin="24">
<husk:Card Grid.Row="0" Margin="0,0,0,12">
<husk:InfoBar Header="Welcome" Content="This is a sample application using Huskui.Avalonia" />
</husk:Card>
<StackPanel Grid.Row="1" Spacing="12">
<husk:IconLabel Icon="Home" Text="Home" />
<Button Content="Standard Button" />
<Button Classes="Primary" Content="Primary Button" />
<Button Classes="Success" Content="Success Button" />
<husk:Tag Content="Sample Tag" />
</StackPanel>
</Grid>
</husk:AppWindow>
Contributions are welcome! Please feel free to submit a Pull Request.
dotnet tool restoreXAML files are auto-formatted on save via XAML Styler.
Please ensure your XAML is formatted before submitting a PR.
This project is licensed under the .
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 net8.0 is compatible. net8.0-android net8.0-android was computed. net8.0-browser net8.0-browser was computed. net8.0-ios net8.0-ios was computed. net8.0-maccatalyst net8.0-maccatalyst was computed. net8.0-macos net8.0-macos was computed. net8.0-tvos net8.0-tvos was computed. net8.0-windows net8.0-windows was computed. net9.0 net9.0 was computed. net9.0-android net9.0-android was computed. net9.0-browser net9.0-browser was computed. net9.0-ios net9.0-ios was computed. net9.0-maccatalyst net9.0-maccatalyst was computed. net9.0-macos net9.0-macos was computed. net9.0-tvos net9.0-tvos was computed. net9.0-windows net9.0-windows was computed. net10.0 net10.0 is compatible. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
Showing the top 3 NuGet packages that depend on Huskui.Avalonia:
| Package | Downloads |
|---|---|
|
Huskui.Avalonia.Code
Syntax-highlighted code viewer extension for Huskui.Avalonia, powered by TextMate grammars. |
|
|
Huskui.Avalonia.Markdown
Markdown rendering extension for Huskui.Avalonia, converting Markdown text to native Avalonia controls using Markdig. |
|
|
Huskui.Avalonia.Mvvm
MVVM integration helpers for Huskui.Avalonia. |
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.3.0 | 162 | 6/15/2026 |
| 1.2.0 | 248 | 5/26/2026 |
| 1.1.3 | 237 | 5/21/2026 |
| 1.1.2 | 262 | 5/7/2026 |
| 1.1.1 | 159 | 5/5/2026 |
| 1.1.0 | 156 | 5/3/2026 |
| 1.0.1 | 290 | 4/22/2026 |
| 0.16.1 | 168 | 4/17/2026 |
| 0.16.0 | 127 | 4/16/2026 |
| 0.15.0 | 155 | 4/13/2026 |
| 0.14.2 | 139 | 4/9/2026 |
| 0.14.1 | 129 | 4/8/2026 |
| 0.14.0 | 139 | 4/2/2026 |
| 0.13.0 | 120 | 3/30/2026 |
| 0.12.1 | 122 | 3/29/2026 |
| 0.12.0 | 116 | 3/26/2026 |
| 0.11.0 | 121 | 3/21/2026 |
| 0.10.4 | 140 | 3/16/2026 |
# Changelog
All notable changes to this project will be documented in this file.
## [unreleased]
### π Bug Fixes
- *(Dialog)* δ½Ώε
Άη§»ι€ζΆδΉδΌθ§¦ε false η result
### π Refactor
- *(PaginationControl)* Make pagination more good
### βοΈ Miscellaneous Tasks
- Make props more props
<!-- generated by git-cliff -->