Plugin.Maui.Onboarding 0.1.0

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

Plugin.Maui.Onboarding

An app-tour / walkthrough control for .NET MAUI: a dark scrim with a spotlight hole cut into it, moving from control to control with a tooltip card explaining each one — the classic "coach mark" first-run tour.

Demo

How it's meant to be used

Mark the controls you want to spotlight with OnboardingTargetBehavior:

<Button Text="Add entry">
    <Button.Behaviors>
        <onboarding:OnboardingTargetBehavior Key="AddEntryButton" />
    </Button.Behaviors>
</Button>

Build a tour naming those keys in order, and start it:

OnboardingTour tour = OnboardingTourBuilder.Create("FirstRunTour")
    .AddStep(new OnboardingStep
    {
        TargetKey = "AddEntryButton",
        Title = "Add an entry",
        Description = "Tap here to log time for the day.",
        Shape = OnboardingSpotlightShape.Circle
    })
    .Build();

var coordinator = new OnboardingCoordinator();
await coordinator.StartTourIfNotCompletedAsync(tour);

OnboardingCoordinator is the one type consumers drive directly — it resolves each step's target bounds, pushes a transparent modal page over the current Shell content, animates the spotlight between steps, and marks the tour completed (via Preferences) once the user finishes or skips it, so StartTourIfNotCompletedAsync won't show it again. Call ReplayTourAsync to force it to run again regardless of completion state.

Customizing colors

The scrim and tooltip card both render with sensible defaults (#B3000000 scrim, #E6000000 tooltip background, transparent tooltip border) out of the box. Override any of them via OnboardingCoordinator, at any time, including mid-tour:

var coordinator = new OnboardingCoordinator
{
    ScrimColor = Colors.Black.WithAlpha(0.8f),
    TooltipBackgroundColor = Color.FromArgb("#1A1A2E"),
    TooltipBorderColor = Color.FromArgb("#3A3A5E")
};

Leaving any of them unset (null, the default) keeps the built-in default — for ScrimColor specifically, that also means it still falls back to any onboarding_scrim_light/onboarding_scrim_dark app resources, the way it did before this API existed.

Prerequisites

  • A Shell-based app (OnboardingCoordinator pushes its overlay via Shell.Current.Navigation).

Project structure

src/Plugin.Maui.Onboarding/
  OnboardingCoordinator.cs        the entry point — starts/advances/skips a tour
  OnboardingTour.cs, OnboardingTourBuilder.cs, OnboardingStep.cs
  OnboardingTargetBehavior.cs     attach to any VisualElement to make it spotlightable
  OnboardingSpotlightShape.cs, OnboardingTooltipPlacement.cs, OnboardingArrowDirection.cs
  Internals/                      target registry/locator, geometry math, the scrim drawable
  Views/                          the overlay page/view and tooltip card (XAML)
example/Plugin.Maui.Onboarding.Example/   a MAUI app scaffold for trying the library

License

MIT — see LICENSE.

Product Compatible and additional computed target framework versions.
.NET net10.0-android36.0 is compatible.  net10.0-ios26.0 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

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.3.1 194 9/28/2026
0.3.0 144 9/19/2026
0.2.0 156 8/29/2026
0.1.0 146 8/28/2026