Elements

Components

Timeline

A line of moments: Root is the ordered thread, Item one moment on it, Marker the point where the thread passes, Content what the moment holds. The hairline between markers is drawn by the stylesheet.

#Basic usage

timeline/basic Vue React
  1. Sketch — the first brush line settles on the paper.
  2. Ink — the strokes deepen and the hierarchy appears.
  3. Seal — the red stamp closes the finished work.
timeline/horizontal Vue React
  1. Ground
    The stone is squared
  2. Ink
    The pigment meets the water
  3. Stroke
    The hand commits
  4. Seal
    The name closes the work

#Props

#TimelineRoot

The thread's direction: a vertical line of moments, or one running left to right.

PropTypeDefaultDescription
orientationString as PropType<"vertical" | "horizontal">"vertical"—

#TimelineItem

A styled part — no props of its own; it takes the anatomy's shared styling.

#TimelineMarker

A styled part — no props of its own; it takes the anatomy's shared styling.

#TimelineContent

A styled part — no props of its own; it takes the anatomy's shared styling.