ShadowUI 0.3.0-alpha

This is a prerelease version of ShadowUI.
There is a newer version of this package available.
See the version list below for details.
dotnet add package ShadowUI --version 0.3.0-alpha
                    
NuGet\Install-Package ShadowUI -Version 0.3.0-alpha
                    
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="ShadowUI" Version="0.3.0-alpha" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="ShadowUI" Version="0.3.0-alpha" />
                    
Directory.Packages.props
<PackageReference Include="ShadowUI" />
                    
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 ShadowUI --version 0.3.0-alpha
                    
#r "nuget: ShadowUI, 0.3.0-alpha"
                    
#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 ShadowUI@0.3.0-alpha
                    
#: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=ShadowUI&version=0.3.0-alpha&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=ShadowUI&version=0.3.0-alpha&prerelease
                    
Install as a Cake Tool

ShadowUI

A port of shadcn/ui for Avalonia UI 12 / .NET 10. 50+ components · Light/Dark theme · 5 color palettes · Native AOT compatible.

Screenshots

<p align="center"> <img src="docs/screenshots/buttons-input.png" width="680" alt="ShadowUI Gallery" /> </p>

Requirements

  • .NET 10
  • Avalonia 12.0.4+

Installation

NuGet Package Manager

Install-Package ShadowUI

.NET CLI

dotnet add package ShadowUI

PackageReference

<PackageReference Include="ShadowUI" Version="0.1.1-alpha" />

Getting Started

1. Add the theme to your App.axaml:

<Application xmlns="https://github.com/avaloniaui"
             xmlns:shadui="using:ShadowUI"
             RequestedThemeVariant="Dark">
  <Application.Styles>
    <FluentTheme />
    <shadui:ShadowUITheme BaseColor="Zinc" />
  </Application.Styles>
</Application>

2. Add the namespace to your views:

<Window xmlns:shadui="using:ShadowUI" ...>

3. Use components:

<shadui:Card>
  <StackPanel Spacing="8">
    <shadui:CardTitle Content="Welcome" />
    <shadui:CardDescription Content="Get started with ShadowUI." />
    <Button Content="Save" />
    <Button Classes="secondary" Content="Cancel" />
  </StackPanel>
</shadui:Card>

Switch theme at runtime:

Application.Current!.RequestedThemeVariant = ThemeVariant.Dark;

Switch color palette at runtime:

// get the theme instance
var theme = Application.Current!.Styles.OfType<ShadowUITheme>().First();
theme.BaseColor = BaseColor.Slate;

Color palettes (BaseColor): Zinc (default), Slate, Stone, Gray, Neutral.

Components

Base

Button (6 variants + icon), Badge (+ success/warning/info), Card, Separator, Label, TextBox / Textarea, CheckBox, Switch, RadioButton, Toggle, ToggleGroup, Slider, ProgressBar, Avatar, Skeleton, Kbd, Tooltip, AspectRatio, Spinner, ColorPicker

Tabs (underline / legacy / large), ComboBox (Select), Popover (Flyout), Menu / DropdownMenu / ContextMenu, NavigationMenu, Menubar, HoverCard, Sidebar (icon-collapsed mode, expandable groups), TitleBar (custom window title bar), Dialog, AlertDialog, Toast / Notifications (6 positions, 5 types), CommandPalette (⌘K, fuzzy search, keyboard nav), Sheet / Drawer, ScrollBar

Forms & Input

SearchableComboBox, OtpInput, InputGroup, ButtonGroup, Field, ColorPicker

Data & Tables

ShadowDataTable (sort, filter, pagination), ShadowPagination, Resizable, Table (base styles)

Content

Accordion, Alert (5 variants), AlertDialog, Breadcrumb, Collapsible, EmptyState, ShadowItem

Date & Time

ShadowCalendar (Single / Range), DatePicker

Visual & Charts

Carousel (prev/next + dot navigation), BarChart, LineChart

Design Tokens

Key DynamicResource brushes for custom markup:

Key Purpose
ShadowBackgroundBrush / ShadowForegroundBrush background / text
ShadowPrimaryBrush / ShadowPrimaryForegroundBrush primary accent
ShadowMutedBrush, ShadowAccentBrush secondary surfaces
ShadowDestructiveBrush, ShadowSuccessBrush, ShadowWarningBrush, ShadowInfoBrush semantic status
ShadowBorderBrush, ShadowInputBrush borders / inputs
ShadowSidebarBrush, ShadowSidebarForegroundBrush sidebar surfaces
ShadowRadiusSm / ShadowRadiusMd / ShadowRadiusLg / ShadowRadiusXl corner radii
ShadowShadowXs / ShadowShadowSm / ShadowShadowMd box shadows

Documentation

Full component reference with code examples — docs/components.md.

Run the interactive component gallery:

dotnet run --project samples/ShadowUI.Gallery/ShadowUI.Gallery.csproj

Native AOT

dotnet publish tests/ShadowUI.AotSmokeTest/ShadowUI.AotSmokeTest.csproj -r win-x64 -c Release

On Windows, Native AOT requires MSVC (C++ build tools). Run from Developer Command Prompt or add …\Microsoft Visual Studio\Installer to your PATH.

Build & Test

dotnet build ShadowUI.slnx -c Debug
dotnet test tests/ShadowUI.UnitTests/ShadowUI.UnitTests.csproj
Product Compatible and additional computed target framework versions.
.NET 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

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.6 100 6/13/2026
1.0.5 100 6/12/2026
1.0.4 91 6/11/2026
1.0.3 93 6/11/2026
1.0.2 92 6/10/2026
1.0.0 106 6/10/2026
0.4.0-alpha 97 6/8/2026
0.3.0-alpha 102 6/8/2026