SimpleToolkit.SimpleShell 6.0.0

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

SimpleToolkit.SimpleShell

SimpleShell is a lightweight, decoupled implementation of .NET MAUI Shell. It provides the powerful URI-based navigation and stack management of Shell but without any forced UI.

You gain 100% control over your navigation UI (TabBars, Flyouts, TitleBars) while keeping the standard Shell.Current.GoToAsync() workflow.

🚀 Getting Started

  1. Initialize: Register the handler in your MauiProgram.cs:
// usePlatformTransitions: true (default) uses native page animations
builder.UseSimpleShell(usePlatformTransitions: true);
  1. Namespace: Add this to your XAML:
xmlns:simpleShell="clr-namespace:SimpleToolkit.SimpleShell;assembly=SimpleToolkit.SimpleShell"

🏗️ Core Concepts

SimpleShell is a simplified implementation of .NET MAUI Shell. All SimpleShell is is just a set of containers for your application content with the ability to put the hosting area for pages wherever you want. This gives you the flexibility to add custom tab bars, navigation bars, flyouts, etc. to your Shell application while using the URI-based navigation.

📖 Usage Example

Let's say we have four root pages — YellowPage, GreenPage, RedPage and BluePage — and one detail page — YellowDetailPage. Shell with a simple app bar and tab bar can be defined like this:

<simpleShell:SimpleShell
    x:Class="SimpleToolkit.SimpleShellSample.AppShell"
    xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
    xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
    xmlns:simpleShell="clr-namespace:SimpleToolkit.SimpleShell;assembly=SimpleToolkit.SimpleShell"
    xmlns:pages="clr-namespace:SimpleToolkit.SimpleShellSample.Views.Pages"
    x:Name="thisShell"

    Background="White">

    
    <Tab
        Title="Yellow-Green"
        Route="YellowGreenTab">
        <ShellContent
            Title="Yellow"
            ContentTemplate="{DataTemplate pages:YellowPage}"
            Route="YellowPage"/>

        <ShellContent
            Title="Green"
            ContentTemplate="{DataTemplate pages:GreenPage}"
            Route="GreenPage"/>
    </Tab>

    <ShellContent
        Title="Red"
        ContentTemplate="{DataTemplate pages:RedPage}"
        Route="RedPage"/>

    <ShellContent
        Title="Blue"
        ContentTemplate="{DataTemplate pages:BluePage}"
        Route="BluePage"/>

    <simpleShell:SimpleShell.RootPageContainer>
        <Grid
            RowDefinitions="*, 50">
            <simpleShell:SimpleNavigationHost/>
            <HorizontalStackLayout
                x:Name="tabBar"
                Grid.Row="1"
                Margin="20,5"
                HorizontalOptions="Center" Spacing="10"
                BindableLayout.ItemsSource="{Binding ShellContents, Source={x:Reference thisShell}}">
                <BindableLayout.ItemTemplate>
                    <DataTemplate
                        x:DataType="BaseShellItem">
                        <Button
                            Clicked="ShellItemButtonClicked"
                            Background="Black"
                            Text="{Binding Title}"/>
                    </DataTemplate>
                </BindableLayout.ItemTemplate>
            </HorizontalStackLayout>
        </Grid>
    </simpleShell:SimpleShell.RootPageContainer>

    <simpleShell:SimpleShell.Content>
        <Grid
            RowDefinitions="50, *">
            <Button
                x:Name="backButton"
                Clicked="BackButtonClicked"
                Text="Back"
                Margin="20,5"
                HorizontalOptions="Start"
                Background="Black"/>
            <Label
                Margin="20,5"
                HorizontalOptions="Center" VerticalOptions="Center"
                Text="{Binding CurrentShellContent.Title, Source={x:Reference thisShell}}"
                FontAttributes="Bold" FontSize="18"/>
            <simpleShell:SimpleNavigationHost
                Grid.Row="1"/>
        </Grid>
    </simpleShell:SimpleShell.Content>
</simpleShell:SimpleShell>

As you can see, the logical hierarchy is defined using ShellContent, Tab, TabBar and FlyoutItem elements as in the original .NET MAUI Shell. However, visual structure is defined manually using the Content or RootPageContainer property. The hosting area for pages is represented by the SimpleNavigationHost view.

The code behind of the XAML sample above:

public partial class AppShell : SimpleToolkit.SimpleShell.SimpleShell
{
    public AppShell()
    {
        InitializeComponent();

        Routing.RegisterRoute(nameof(YellowDetailPage), typeof(YellowDetailPage));
    }

    private async void ShellItemButtonClicked(object sender, EventArgs e)
    {
        var button = sender as Button;
        var shellItem = button.BindingContext as BaseShellItem;

        // Navigate to a new tab if it is not the current tab
        if (!CurrentState.Location.OriginalString.Contains(shellItem.Route))
            await GoToAsync($"///{shellItem.Route}");
    }

    private async void BackButtonClicked(object sender, EventArgs e)
    {
        await GoToAsync("..");
    }
}

Navigation between pages works almost the same as in .NET MAUI Shell, just use the common Shell.Current.GoToAsync(). Pages that are not part of the shell hierarchy can be registered using the Routing.RegisterRoute() method.

⚖️ When to use SimpleShell?

Choose SimpleShell if:

  • You need a completely custom design that native Shell doesn't allow.
  • You want a unified UI look across iOS, Android, and Windows.
  • You want to host the navigation area anywhere in your layout.

Stick to .NET MAUI Shell if:

  • You want a 100% "Native" look and feel.
  • Out-of-the-box accessibility is your top priority.
  • You don't want to build your own TabBar/Flyout logic.

📖 Full Documentation: Detailed Guide & API Reference

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-android36.0 is compatible.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-ios26.0 is compatible.  net10.0-maccatalyst was computed.  net10.0-maccatalyst26.0 is compatible.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed.  net10.0-windows10.0.19041 is compatible. 
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 (3)

Showing the top 3 popular GitHub repositories that depend on SimpleToolkit.SimpleShell:

Repository Stars
RadekVyM/MarvelousMAUI
.NET MAUI clone of the Wonderous app – a visual showcase of eight wonders of the world.
dorisoy/Dorisoy.SIOT
一款利用.NET 8.0和MAUI框架打造的跨平台牙科治疗机物联网移动端应用,实现了对水温Speedometer监测、高速手机转速RadialGauge显示、电动马达功率检测以及光纤灯光亮度调节等功能的数据采集与仪表盘实时展示,同时支持数据可视化检测和远程操控管理。
RadekVyM/Gadgets-Store-App
[UI challange] .NET MAUI prototype of an e-shop app inspired by the "Gadgets Store App" design by Sajon.
Version Downloads Last Updated
6.0.0 31 2/20/2026
5.0.1 4,979 4/13/2025
5.0.0 3,309 12/23/2024
4.1.3 11,211 6/12/2024
4.1.0 3,479 2/1/2024
4.0.0 4,603 11/17/2023
3.0.1 3,843 7/22/2023
3.0.0 2,383 7/1/2023
2.1.1 1,131 4/29/2023
2.1.0 2,820 3/4/2023
2.0.1 1,395 2/3/2023
2.0.0 1,486 11/11/2022
1.1.0 1,127 10/24/2022
1.0.0 1,265 9/19/2022
1.0.0-preview2 805 9/9/2022
1.0.0-preview1 937 9/7/2022