Timeline

A vertical sequence of events with indicators, connectors and per-item colors.

Order placedConfirmed at 2:30 PM
In transitLeft the warehouse this morning
DeliveryExpected Thursday

Import#

import { Timeline } from "astralis-ui";
// Timeline.Item, .Indicator, .Content, .Title, .Description

Usage#

Indicators take anything — numbers, icons, or nothing (a plain dot) — and colorScheme on an individual indicator overrides the root's, which is how the completed step above turns green.

Variants and sizes#

solid
1
First
2
Second
subtle
1
First
2
Second
outline
1
First
2
Second

Props#

PropTypeDefaultDescription
variant"solid" | "subtle" | "outline""solid"Indicator fill style.
size"sm" | "md" | "lg""md"Indicator diameter and text scale.
colorScheme"brand" | "gray" | "red" | "green" | "blue" | "purple""brand"Default indicator hue; overridable per Indicator.

Connector lines render automatically between items and are hidden after the last one. Empty indicators are aria-hidden decorative dots.