Stat Card

A dashboard metric with a trend and a short description.

Installation

bash
shellui-native add stat-card

Platforms: MAUI · Avalonia. Also installs icon.

Usage

Basic

Rendered with ShellUI for Blazor

Total revenue

$45,231.89

+20.1%

from last month

Churn

2.4%

-0.6%

from last month

<ui:StatCard Title="Total revenue" Value="$45,231.89" Change="+20.1%" Trend="Up"
             Icon="DollarSign" Description="from last month" />
<ui:StatCard Title="Churn" Value="2.4%" Change="-0.6%" Trend="Down"
             Icon="Users" Description="from last month" />
Avalonia, running in your browser

API

Property Type Default Description
Title string — Heading text.
Value string — The headline figure.
Change string — Change against the previous period, shown next to the trend.
Trend StatTrend Neutral Direction of the change: Up, Down or Neutral. One of Neutral, Up, Down.
Description string — Supporting text under the title.
Icon IconName None Lucide icon from IconName; None for no icon.

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.