oks-ui

Layout & Display

Timeline

Vertical activity feed with dot or icon markers on a connector rail.

Example

  1. Deploy succeeded2m ago
    v2.1.0 shipped to production.
  2. PR merged1h ago
    “Add Table component” by @omkar
  3. Build failed3h ago
    Type error in Chart.tsx
  4. Branch created4h ago

Props

Timeline children

TimelineItem[]

Default:

Renders as an <ol>. Give the Timeline an aria-label.

TimelineItem.title

ReactNode

Default:

Shown at the top of the content.

TimelineItem.time

ReactNode

Default:

Right-aligned timestamp.

TimelineItem.icon

ReactNode

Default:

Rendered in the marker (replaces the dot).

TimelineItem.children

ReactNode

Default:

Body text.