Plugin.Maui.ShellTabBarBadge
10.3.4
dotnet add package Plugin.Maui.ShellTabBarBadge --version 10.3.4
NuGet\Install-Package Plugin.Maui.ShellTabBarBadge -Version 10.3.4
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.ShellTabBarBadge" Version="10.3.4" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Plugin.Maui.ShellTabBarBadge" Version="10.3.4" />
<PackageReference Include="Plugin.Maui.ShellTabBarBadge" />
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.ShellTabBarBadge --version 10.3.4
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Plugin.Maui.ShellTabBarBadge, 10.3.4"
#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.ShellTabBarBadge@10.3.4
#: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.ShellTabBarBadge&version=10.3.4
#tool nuget:?package=Plugin.Maui.ShellTabBarBadge&version=10.3.4
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Plugin.Maui.ShellTabBarBadge
A .NET MAUI plugin that adds customizable badges to Shell TabBar items.
Installation
dotnet add package Plugin.Maui.ShellTabBarBadge
Quick Usage
In your MauiProgram.cs:
builder.UseTabBarBadge();
// Example usage
TabBarBadge.Set(0, "9"); // Shows number 9 on red pill-shaped badge on Tab 0
TabBarBadge.Set(1, style: BadgeStyle.Dot); // Shows a red Dot badge on Tab 1
TabBarBadge.Set(2, "🍕", color: Colors.Transparent); // Shows a pizza badge on Tab 2
TabBarBadge.Set(3, "New", color: Colors.Purple); // Shows the word New on purple pill-shaped badge on Tab 3
TabBarBadge.Set(0, style: BadgeStyle.Hidden); // Hides badge on Tab 0
More Information
👉 Full documentation, advanced usage, and examples are available on
GitHub:
https://github.com/darrabam/Plugin.Maui.ShellTabBarBadge
License
MIT
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0-android36.0 is compatible. net10.0-ios26.0 is compatible. net10.0-maccatalyst26.0 is compatible. 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.
-
net10.0-android36.0
- Microsoft.Maui.Controls (>= 10.0.10)
-
net10.0-ios26.0
- Microsoft.Maui.Controls (>= 10.0.10)
-
net10.0-maccatalyst26.0
- Microsoft.Maui.Controls (>= 10.0.10)
-
net10.0-windows10.0.19041
- Microsoft.Maui.Controls (>= 10.0.10)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Resolved a bug where badges appear on the wrong tab when the OS language is RTL on iOS and Mac Catalyst, and updated dependency to .NET MAUI 10.