ui-kit0.0

Display

Timeline

What happened, newest first.

Deploy activity

Events in order along one connector line, split by day with TimelineGroup. Status tones colour the marker; the text stays neutral.

  1. Today

    1. Deployed to production

      a3f9c21 “Fix invoice rounding” went live in 48 s.

    2. Preview build failed

      Type error in billing/summary.tsx. Retried automatically.

    3. AR
      Amina Rahman requested a review

      Pull request #482 Review

  2. Yesterday

    1. Rollback to v2.14.3

      Error rate rose above 2% after v2.14.4, so the release was reverted.

    2. Deployed v2.14.4 to staging
    3. Environment variable updated

      STRIPE_WEBHOOK_SECRET was rotated by Tomás Herrera.

When to use

  • An activity feed, audit log or order history where the sequence matters.
  • Status that changes over time: build and deploy steps, shipment tracking.

Not for steps the person has to complete (use a stepper) or for unordered facts (use a description list).

Markers

A dot is the default. Pass an Icon as marker for a tinted circle, or an Avatar size="xs" with markerType="avatar" to show who did it.

  1. Delivered

    Left with the concierge at 14 Harbour Row.

  2. Out for delivery
  3. LK
    Packed by Lena Kowalski
  4. Order placed

    3 items, $128.40 charged to Visa ending 4242.

API

TimelineItem

PropTypeDefaultDescription
tone'default' | 'success' | 'warning' | 'destructive' | 'info''default'Marker colour.
markerReactNode—Replaces the dot: an Icon or a 24px Avatar.
markerType'icon' | 'avatar''icon'Icons are put in a tinted circle; avatars are kept as they are.

TimelineGroup

PropTypeDefaultDescription
labelReactNode—The day or section heading.
as'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'div''h3'Heading element.

Timeline is an <ol>. TimelineHeader lays the title and time on one line; TimelineTime is a <time> (pass dateTime); TimelineTitle and TimelineDescription are text. Every part forwards ref and className and is Server Component–safe.

Accessibility

  • A real ordered list: screen readers announce “list, 6 items”. Groups nest a labelled list inside one item.
  • Times use the <time> element with an ISO dateTime.
  • Status is never colour alone: put the outcome in the title (“Deploy failed”) as well as the tone.
  • Dot markers are decorative; icon markers should be decorative too, so name the state in text.

Motion

  • Each item rises in once on mount.
  • Reduced motion: items appear without movement.