MudShell 0.5.0
See the version list below for details.
dotnet add package MudShell --version 0.5.0
NuGet\Install-Package MudShell -Version 0.5.0
<PackageReference Include="MudShell" Version="0.5.0" />
<PackageVersion Include="MudShell" Version="0.5.0" />
<PackageReference Include="MudShell" />
paket add MudShell --version 0.5.0
#r "nuget: MudShell, 0.5.0"
#:package MudShell@0.5.0
#addin nuget:?package=MudShell&version=0.5.0
#tool nuget:?package=MudShell&version=0.5.0
MudShell
A Razor Class Library of opinionated Blazor components built on top of MudBlazor 9, designed for dark-mode AI-shell style applications.
Features
- ๐จ Pre-configured dark/light
MudThemeโ just callCreateDarkTheme() - ๐
MdsAppShellโ full-page shell with collapsible sidebar, background image/palette modes - ๐ฒ Unified hierarchical navigation with
MbxNavTree(MdsSidebarNav,MdsContextNavPanel,MbxMobileDrilldownNav) - ๐ฅ๏ธ Desktop-first shell with collapsible sidebar navigation
- ๐ฌ
MdsChatBarโ glassmorphism input bar - ๐ค Chat set โ
MdsChatComposer,MdsChatTranscript,MdsChatMessage,MdsChatStream,MdsChatLanding - ๐
MdsDocumentCard,MdsFilterTabBar,MdsPageHeader - ๐งฉ Main-content primitives (
MdsMainToolbar,MdsMainSection,MdsMainPart,MdsMainEmptyState) - ๐ Fill-layout blocks โ
MdsFillLayout,MdsFillRegion,MdsSplitPane,MdsTabbedFill(full-screen pages, only leaf regions scroll) - ๐ Data blocks โ
MdsStatTile/MdsStatStrip,MdsDistributionBar,MdsSparkline,MdsRunStrip; nav badges onMbxNavNode.Badge - All components use scoped CSS โ zero global style pollution
Quick start
1. Add the project reference
<ItemGroup>
<ProjectReference Include="..\MudShell\MudShell.csproj" />
</ItemGroup>
2. Register services
// Program.cs
builder.Services.AddMudShell();
3. Add global imports
@* _Imports.razor *@
@using MudShell
@using MudShell.Components.AppShell
@using MudShell.Components.Sidebar
@using MudShell.Components.BottomNav
@using MudShell.Components.ChatBar
@using MudShell.Components.DocumentCard
@using MudShell.Components.FilterTabBar
@using MudShell.Components.MainContent
@using MudShell.Components.PageHeader
4. Add MudBlazor providers to your root component
MdsAppShell is a pure layout shell โ it does not register MudBlazor providers internally.
You must declare them once in your app's root component (e.g. Routes.razor) to avoid a
duplicate section-ID crash at runtime:
@* Routes.razor *@
<MudThemeProvider Theme="@myTheme" />
<MudPopoverProvider />
<MudSnackbarProvider />
<MudDialogProvider />
<Router AppAssembly="typeof(App).Assembly">
...
</Router>
5. Use MdsAppShell in your layout
@* MainLayout.razor *@
@inherits LayoutComponentBase
<MdsAppShell BackgroundMode="MdsAppShell.MbxBackgroundMode.Palette">
<SidebarContent>
</SidebarContent>
<ContextPanelContent>
</ContextPanelContent>
<ChildContent>
@Body
</ChildContent>
</MdsAppShell>
Hierarchical single-source navigation
<MdsAppShell @ref="_shell"
ContextPanelExpanded="@_contextExpanded"
ContextPanelExpandedChanged="@(v => _contextExpanded = v)"
ContextPanelWidth="320"
ContextPanelCollapsedWidth="72">
<SidebarContent>
<MdsSidebarNav Tree="@AppNav.Tree" />
</SidebarContent>
<ContextPanelContent>
<MdsContextNavPanel Tree="@AppNav.Tree" IsExpanded="@_contextExpanded" />
</ContextPanelContent>
<ChildContent>@Body</ChildContent>
</MdsAppShell>
You can collapse/expand the level-2 panel at runtime with:
_shell.ToggleContextPanel();
Recommended page layout pattern (sample app)
For pages with actions and filters, use this structure:
- Top action bar with
MdsMainToolbar(primary actions on the left, UI config on the right withMudSpacer). - Filter row below with a horizontal
MudStackofMudChipfilters. - Keep the filter row directly on the page background (no bordered
MudPaperwrapper).
This pattern is used in the sample pages (for example MeteoPage and EuropeCitiesDashboard) for consistent UX.
For a full page blueprint and MudBlazor migration guidance, see the dedicated docs below.
Documentation
- Getting started
- MudBlazor integration
- Page blueprint
- Model
- Theming
- Responsive
- Architecture
- Components: AppShell ยท Sidebar ยท BottomNav ยท ChatBar ยท Chat ยท DocumentCard ยท FilterTabBar ยท PageHeader
| Product | Versions 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. |
-
net10.0
- MudBlazor (>= 9.11.0)
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.5.1 | 367 | 10/13/2026 |
| 0.5.0 | 112 | 10/13/2026 |
| 0.4.1 | 770 | 10/10/2026 |
| 0.4.0 | 386 | 10/2/2026 |
| 0.3.2 | 259 | 9/26/2026 |
| 0.3.1 | 252 | 9/20/2026 |
| 0.3.0 | 407 | 9/12/2026 |
| 0.2.16 | 308 | 9/10/2026 |
| 0.2.15 | 169 | 9/7/2026 |
| 0.2.14 | 271 | 9/1/2026 |
| 0.2.12 | 312 | 8/17/2026 |
| 0.2.11 | 113 | 8/17/2026 |
| 0.2.10 | 120 | 8/17/2026 |
| 0.2.9 | 231 | 8/17/2026 |
| 0.2.8 | 176 | 8/16/2026 |
| 0.2.7 | 137 | 8/15/2026 |
| 0.2.6 | 220 | 8/9/2026 |
| 0.2.5 | 331 | 8/1/2026 |
| 0.2.4 | 126 | 8/1/2026 |
| 0.2.3 | 133 | 8/1/2026 |