MeldUI

Timeline

A vertical or horizontal timeline for displaying chronological events.

Usage

Props

PropTypeDefaultDescription
orientation'vertical' | 'horizontal''vertical'The direction the timeline flows.
variant'default' | 'outline''default'Visual variant of the timeline dots and connectors.
activeIndexnumber-Index of the currently active item (zero-based). Items up to this index appear in an active state.
contentPosition'right' | 'left' | 'alternate''right'Which side of the line the content appears on.

Sub-components

Timeline

Root container. Provides orientation and variant context

TimelineItem

Wraps a single event (separator + content)

TimelineSeparator

Container for the dot and connector

TimelineDot

The circular indicator

PropTypeDefaultDescription
size'sm' | 'md' | 'lg'-Dot size

TimelineConnector

The line between dots

PropTypeDefaultDescription
thicknessnumber-Line thickness

TimelineContent

The text/body area for an event

TimelineTitle

Heading text for the event

TimelineDescription

Supporting description text

TimelineTime

Timestamp display

PropTypeDefaultDescription
dateTimestring-ISO 8601 date string