Skip to content

Timeline

Displays an ordered sequence of timestamped events on a vertical time axis.

  1. Order placed

    We received order #SIL-1048 and sent a confirmation email.

  2. Package shipped

    The carrier picked up the package in Oakland, California.

  3. Delivered

    The package was left at the front door.

<Timeline items={shippingItems} timestampFormat="auto" />
  1. Record created
    Morgan created this customer record.
  2. Owner changed
    The owner changed from Morgan to Taylor.
  3. Note added
    Taylor added a follow-up note.
<Timeline items={auditItems} timestampFormat="auto" />
  1. Appointment #1
    Completed
    Annual physical with Dr. Rivera.
  2. Appointment #2
    Confirmed
    Lab review with Dr. Chen.
  3. Appointment #3: Post-operative follow-up
    Pending
    Confirmation is still required.
<Timeline items={appointmentItems} timestampFormat="auto" />

Displays an ordered sequence of timestamped events on a vertical time axis.

PropTypeDefaultDescription
classNamestringAdditional CSS class names applied to the ordered list.
data-testidstringTest ID applied to the ordered list.
items*TimelineItemConfig[]Timeline entries, rendered in the supplied order.
refRef<HTMLOListElement>Ref forwarded to the ordered list.
styleCSSPropertiesInline styles applied to the ordered list.
timestampFormat"auto" | "time" | "date" | "dateTime" | "relative" | "isoDate" | "isoTime" | "isoDateTime"'auto'How to format every entry's timestamp.