OGE logoOGE

Timeline

oge-timeline draws a chronological sequence along an axis — an order history, an activity feed, release notes.

It renders an ordered list: the order is the meaning, and a list announces its size and each position. There is no APG timeline pattern and nothing in it is interactive by itself, so it adds no roles and no keyboard model — links inside an entry stay in the Tab order, and the marker and connector are aria-hidden.

ordered list alternating horizontal templates RTL

Vertical timeline

The default: content on the end side of a vertical axis. A Date time is formatted in the app locale (medium date + short time, or dateFormat) and written into <time datetime> from its local fields; a string time is shown verbatim.

items time ariaLabel
  1. Order placedPayment confirmed by card ending 4242.
  2. PackedTwo parcels, 3.4 kg.
  3. ShippedHanded to the carrier in Istanbul.
  4. Delivery expected

Alignment & alternating

start / end keep one side (logical, so RTL mirrors); alternate swaps per entry starting at the end side, alternate-reverse at the start side, and each entry's time — or its opposite text — moves to the other side of the axis.

align alternate opposite
  1. Order placedPayment confirmed by card ending 4242.
  2. PackedTwo parcels, 3.4 kg.
  3. ShippedHanded to the carrier in Istanbul.
  4. Delivery expected

Horizontal timeline

The entries share a row with the connector between the markers; alternating puts the opposite text above and the content below. When the row does not fit, the list scrolls inline instead of widening the page.

orientation: horizontal scrolls inline
  1. Jan 2026
    1.0Data grid
  2. Jun 2026
    1.1React layer
  3. Oct 2026
    1.2Feedback components
  4. Q1 2027
    1.3Planned

Markers, icons & severities

severity colours the marker with the suite vocabulary, variant: 'outlined' draws a ring for pending or future entries, and icon (SVG path data) draws a larger marker with the glyph inside. Markers are decoration — the text carries the meaning, so forced colours lose nothing.

severity variant icon
  1. Build passed
  2. Canary at 5 %
  3. Error rate above budget
  4. Rolled back
  5. Retry scheduled

Custom templates

Structural slot directives replace the content, the marker or the opposite text per entry, with the item, its index, its side and first/last flags in the context. Content is ordinary flow content: the link stays in the Tab order.

ogeTimelineContentTemplate ogeTimelineMarkerTemplate
  1. Create a workspaceName it and invite your team.Learn more
  2. Connect a data sourceREST, OData or a plain array.Learn more
  3. Publish a dashboardShare a read-only link.Learn more