Timeline

A vertical list of events joined by a connector line, each with a node on the rail — an icon, avatar or dot — and content beside it. The building block for activity feeds, audit logs and status histories; the connector stops automatically at the final node.

$bunx shadcn@latest add @nx-ui/timeline
Registry item
Installs withutils

With icon nodes

Each event carries a coloured featured-icon node. The rail line runs from below one node down to the next, and is suppressed on the last item.

  • Batch #0412 approved
    Ada Okonkwo · 2 hours ago
  • Round RD-2231 dispatched
    System · 3 hours ago
  • Intake rejected at Wyke Common
    Marcus Bell · yesterday

With avatars and an attached card

Actor avatars lead each row, and an event can carry an attached card — a comment body, a diff, or a quoted note.

  • AO
    Ada Okonkwo left a note
    1 hour ago
    Moisture is trending high on the last two intakes — worth a spot check before Friday's run.
  • Contamination report filed
    Verdant Labs · yesterday

Plain dot nodes

Without a custom node, TimelineNode renders a neutral dot — enough to anchor a lightweight status history.

  • Order placed
    09:14
  • Collection scheduled
    11:02
  • Delivered to site
    16:47

API reference

Exported parts and their props, extracted from the component source.