Badge

A small pill for a status, count or tag.

Installation

bash
shellui-native add badge

Platforms: MAUI · Avalonia.

Usage

Variants

Rendered with ShellUI for Blazor
Default
Secondary
Outline
Destructive
Success
Warning
Info
<ui:Badge Text="Default" />
<ui:Badge Text="Secondary" Variant="Secondary" />
<ui:Badge Text="Outline" Variant="Outline" />
<ui:Badge Text="Destructive" Variant="Destructive" />
<ui:Badge Text="Success" Variant="Success" />
<ui:Badge Text="Warning" Variant="Warning" />
<ui:Badge Text="Info" Variant="Info" />
Avalonia, running in your browser

API

Property Type Default Description
Text string — Badge text.
Variant BadgeVariant Default Visual style. One of Default, Secondary, Destructive, Outline, Success, Warning, Info.

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.