Timeline
Vertical timeline with diamond-shaped markers and status-based colors. Ideal for displaying sequences of events, mission logs, or process steps.
Basic Timeline
Preview
Mission Started
09:00Checkpoint Alpha
11:30Data Upload
14:00Extraction Point
15:00With Descriptions
Preview
System Initialized
Day 1All subsystems online. Diagnostics passed.
Calibration Phase
Day 2Sensor array calibration in progress.
Deployment
Day 3Awaiting authorization for deployment.
Timeline Props
| Prop | Type | Default | Description |
|---|---|---|---|
| items* | TimelineItemData[] | - | Array of timeline items to display. |
| className | string | - | Additional CSS classes. |
TimelineItemData Shape
| Prop | Type | Default | Description |
|---|---|---|---|
| title* | string | - | Title text for the timeline entry. |
| description | string | - | Optional description text below the title. |
| date | string | - | Date or time label displayed to the right of the title. |
| status | "completed" | "active" | "pending" | "pending" | Status determines the diamond marker color. Completed is green, active has a glow effect, and pending is muted. |
Accessibility
- Timeline items are rendered in DOM order matching their visual order
- Status is conveyed visually through color; consider adding
aria-labelattributes to the container for screen reader context - Diamond markers are decorative; titles and descriptions carry the semantic content
- Supports
refforwarding for DOM access