Timeline
A vertical list of events joined by a line.
Installation
bash
shellui-native add timeline
Platforms: MAUI · Avalonia. Also installs icon.
Usage
Basic
-
Released 0.1.0-alpha.1
ShellUI.Native.CLI is on NuGet. -
Avalonia P4 merged
Spinner, tooltip, toast, alert dialog and hover card. -
Docs site started
<ui:Timeline>
<ui:TimelineItem Title="Released 0.1.0-alpha.1" Time="Oct 7" Icon="Check" IsActive="True"
Text="ShellUI.Native.CLI is on NuGet." />
<ui:TimelineItem Title="Avalonia P4 merged" Time="Oct 9" Icon="Code"
Text="Spinner, tooltip, toast, alert dialog and hover card." />
<ui:TimelineItem Title="Docs site started" Time="Oct 10" />
</ui:Timeline><ui:Timeline>
<ui:TimelineItem Title="Released 0.1.0-alpha.1" Time="Oct 7" Icon="Check" IsActive="True"
Text="ShellUI.Native.CLI is on NuGet." />
<ui:TimelineItem Title="Avalonia P4 merged" Time="Oct 9" Icon="Code"
Text="Spinner, tooltip, toast, alert dialog and hover card." />
<ui:TimelineItem Title="Docs site started" Time="Oct 10" />
</ui:Timeline>Not available on yet
MAUI and Avalonia
A TimelineItem can hold one child view instead of Text. MAUI sets it as Body; on Avalonia it is the item's child, also reachable as Body.
API
Timeline
XAML children go to Items.
No properties of its own.
TimelineItem
XAML children go to Body.
| Property | Type | Default | Description |
|---|---|---|---|
Title |
string |
— | Heading text. |
Time |
string |
— | Timestamp text shown with the item. |
Text |
string |
— | Text shown by the component. |
IsActive |
bool |
false |
Highlights the item as the current one. |
Icon |
IconName |
None |
Lucide icon from IconName; None for no icon. |
Body |
View (MAUI) · Control? (Avalonia) |
null |
Content under the description. |