Timeline
Events in order along a line (Mantine's Timeline): activity, history, a deploy's stages. Items up to active are reached (filled bullet, colored line); a bullet is a dot, an icon or an avatar.
A deploy, in progress
Activity, with avatars
The docs load in half the time now.
Right-aligned, colors, line variants
API
For AI agents: this API as Markdown, or every component in llms-full.txt.
<ray-timeline>
A list (role="list") of ray-timeline-item.
| Property | Attribute | Type | Default | Description |
|---|---|---|---|---|
active | active reflects | number | -1 | Index of the last reached item (-1: none). |
align | align reflects | start | end | left | right | start | Side of the line: start/end follow the writing direction; left/right are sides of the screen. |
bulletSize | bullet-size | string | Bullet size: px as a number or a CSS length (default 20px). | |
lineWidth | line-width | number | Line width in px (default 2). | |
color | color reflects | string | A palette color or any CSS color for what is reached (default: primary). | |
reverseActive | reverse-active reflects | boolean | Counts active from the end (the latest event at the top). |
| Slot | Description |
|---|---|
| (default) | ray-timeline-item elements. |
<ray-timeline-item>
| Property | Attribute | Type | Default | Description |
|---|---|---|---|---|
label | label | string | The title of the event. | |
time | time | string | When ("2 h ago", a date). | |
icon | icon | string | An icon of the registry in the bullet. | |
color | color reflects | string | Its own color (a failed step in red). | |
lineVariant | line-variant reflects | solid | dashed | dotted | solid | The line to the next item (dashed: not happened yet). |
| Slot | Description |
|---|---|
| (default) | Details under the title. |
bullet | A custom bullet (an avatar, an image). |
| Part | Description |
|---|---|
bullet | The bullet. |
line | The line to the next item. |
body | Title, details and time. |
title | The title. |
time | The time. |