Progress
A bar showing how far along a task is.
Installation
bash
shellui-native add progress
Platforms: MAUI · Avalonia.
Usage
Basic
Success and Destructive tint the bar; the ShellUI preview only has the default colour.
40%
<ui:Progress Value="40" ShowLabel="True" />
<ui:Progress Value="75" Variant="Success" />
<ui:Progress Value="25" Variant="Destructive" /><ui:Progress Value="40" ShowLabel="True" />
<ui:Progress Value="75" Variant="Success" />
<ui:Progress Value="25" Variant="Destructive" />Not available on yet
API
| Property | Type | Default | Description |
|---|---|---|---|
Value |
double |
0 |
Progress, from 0 to Maximum. |
Maximum |
double |
100 |
Largest value. |
Variant |
ProgressVariant |
Default |
Visual style. One of Default, Success, Warning, Destructive. |
ShowLabel |
bool |
false |
Shows the percentage next to the bar. |