Data display

Timeline

Events in order with a square marker and a hairline connector.

Examples

Timeline

  1. Published

    Northlight v2 went live.

  2. Review requested

    Mika asked for a second pair of eyes.

  3. Draft created

    Started from the blank template.

Anatomy

ol.timelineOrdered list of events, newest or oldest first as you choose.
> liOne event: a square marker in the tone, joined to the next by a hairline.
> timeThe time, small and muted, in a fixed first column.
> divThe event: a title (<b>) and an optional muted <p>.

API

AttributeValuesDescription
data-toneaccentsuccesswarningdangerinfoOn an li: colours its marker. Default accent.

Accessibility

  • Use an <ol> so the order is announced with the item count.
  • Give <time> a datetime attribute when the text is relative ("Yesterday").
  • Marker colour is not announced; the event title carries what happened.
Jump to
ProportionFoundations
MaterialFoundations
PresetsFoundations
ShellLayouts · Application
Container and stacksLayouts · Pages
SplitLayouts · Pages
Grid, bento, masonryLayouts · Pages
Switcher and rowLayouts · Pages
↑↓Move↵OpenescClose