ShellUI.Components
0.4.0
dotnet add package ShellUI.Components --version 0.4.0
NuGet\Install-Package ShellUI.Components -Version 0.4.0
<PackageReference Include="ShellUI.Components" Version="0.4.0" />
<PackageVersion Include="ShellUI.Components" Version="0.4.0" />
<PackageReference Include="ShellUI.Components" />
paket add ShellUI.Components --version 0.4.0
#r "nuget: ShellUI.Components, 0.4.0"
#:package ShellUI.Components@0.4.0
#addin nuget:?package=ShellUI.Components&version=0.4.0
#tool nuget:?package=ShellUI.Components&version=0.4.0
ShellUI Components
Blazor components styled with Tailwind CSS, in the spirit of shadcn/ui, as a Razor class library.
Prefer to own and edit the component source? Use the ShellUI CLI instead; it copies the components into your project.
Install
Works in .NET 8, 9 and 10 projects:
dotnet add package ShellUI.Components
Set up
Import the namespace in
Components/_Imports.razor:@using ShellUI.ComponentsMake the app interactive. Components with state or events (dialogs, dropdowns, tabs) need an interactive render mode, for example in
Components/App.razor:<HeadOutlet @rendermode="InteractiveServer" /> ... <Routes @rendermode="InteractiveServer" />Add the styles, in one of two ways:
Precompiled stylesheet. No Tailwind build needed. Add it to the
<head>inApp.razor:<link href="_content/ShellUI.Components/shellui-all.css" rel="stylesheet" />Your own Tailwind build. On build, the package writes the class names it uses to
wwwroot/shellui-classes.txt. Add it as a source in your input stylesheet, and copy the theme variables from the package'sshellui-theme.cssinto the same file:@import "tailwindcss"; @source "./shellui-classes.txt";ShellUI uses Tailwind CSS
4.3.2.
Use
<Button Variant="ButtonVariant.Outline">Cancel</Button>
<Button>Save</Button>
<Card>
<CardHeader>
<CardTitle>ShellUI</CardTitle>
</CardHeader>
<CardContent>
<p>Card content</p>
</CardContent>
</Card>
Themes
Themes come from tweakcn. With the CLI, write a theme as a stylesheet and load it after shellui-all.css:
shellui theme apply https://tweakcn.com/themes/THEME_ID --emit-override wwwroot/theme.css
<link href="theme.css" rel="stylesheet" />
Documentation
License
| 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 is compatible. 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. |
-
net10.0
- Blazor-ApexCharts (>= 6.0.2)
- Microsoft.AspNetCore.Components.Web (>= 10.0.0)
- QRCoder (>= 1.8.0)
- System.Linq.Dynamic.Core (>= 1.7.1)
-
net8.0
- Blazor-ApexCharts (>= 6.0.2)
- Microsoft.AspNetCore.Components.Web (>= 8.0.13)
- QRCoder (>= 1.8.0)
- System.Linq.Dynamic.Core (>= 1.7.1)
-
net9.0
- Blazor-ApexCharts (>= 6.0.2)
- Microsoft.AspNetCore.Components.Web (>= 9.0.2)
- QRCoder (>= 1.8.0)
- System.Linq.Dynamic.Core (>= 1.7.1)
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 |
|---|---|---|
| 0.4.0 | 92 | 10/30/2026 |
| 0.4.0-alpha.3 | 72 | 10/20/2026 |
| 0.4.0-alpha.2 | 74 | 10/13/2026 |
| 0.4.0-alpha.1 | 99 | 10/3/2026 |
| 0.3.6 | 105 | 10/22/2026 |
| 0.3.5 | 103 | 10/21/2026 |
| 0.3.4 | 101 | 10/13/2026 |
| 0.3.3 | 104 | 10/10/2026 |
| 0.3.2 | 103 | 10/2/2026 |
| 0.3.1 | 100 | 10/2/2026 |
| 0.3.0 | 98 | 9/29/2026 |
| 0.3.0-rc.3 | 72 | 9/27/2026 |
| 0.3.0-rc.2 | 69 | 9/26/2026 |
| 0.3.0-rc.1 | 112 | 6/18/2026 |
| 0.3.0-alpha.3 | 85 | 6/3/2026 |
| 0.3.0-alpha.2 | 113 | 2/21/2026 |
| 0.3.0-alpha.1 | 95 | 2/17/2026 |
| 0.2.1 | 153 | 2/22/2026 |
| 0.2.0 | 147 | 2/8/2026 |
| 0.1.1 | 147 | 1/17/2026 |