Alert

A callout for a message that needs attention, with an icon per variant.

Installation

bash
shellui-native add alert

Platforms: MAUI · Avalonia. Also installs icon.

Usage

Variants

Rendered with ShellUI for Blazor
<ui:Alert Title="Heads up!" Message="You can add components to your app using the CLI." />
<ui:Alert Title="Session expired" Message="Please sign in again, Shewart." Variant="Destructive" />
<ui:Alert Title="Saved" Message="Your changes were saved." Variant="Success" />
<ui:Alert Title="Storage almost full" Message="You have used 92% of your quota." Variant="Warning" />
Avalonia, running in your browser

API

Property Type Default Description
Title string — Heading text.
Message string — Body text.
Variant AlertVariant Default Visual style. One of Default, Destructive, 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.