Skip to content
Playground

Activity Feed

A vertical timeline of comments, mentions, status changes, uploads, and other events.

Activity Feed is a timeline of what happened. One rail threads the events, and each event composes only the parts it needs: a marker, a header, a short note, a quoted card, files, or a trailing action.

  1. MC
    Mina Chocommented

    The empty states are clearer now. Can we ship the copy tweaks before Friday?

  2. Jonah Adeyemimentioned you in the migration notes

    Can you own the checklist for the billing cutover?

    Unread
  3. Mina Chomarked the review done
TSX
import { ActivityFeed } from "@zentara-co/zenos-ui";

ActivityFeed renders an ol. Each ActivityFeed.Item renders an li. There is no prop for hiding the time, body, or marker: leave the part out.

TSX
<ActivityFeed>  <ActivityFeed.Item>    <ActivityFeed.Marker>      <ActivityFeed.Icon variant="success">{/* icon */}</ActivityFeed.Icon>    </ActivityFeed.Marker>    <ActivityFeed.Content>      <ActivityFeed.Header>        <ActivityFeed.Actor>Mina Cho</ActivityFeed.Actor>        marked the review done        <ActivityFeed.Time dateTime="2026-06-15T09:40:00Z">6h ago</ActivityFeed.Time>      </ActivityFeed.Header>      <ActivityFeed.Body>{/* optional note */}</ActivityFeed.Body>    </ActivityFeed.Content>    <ActivityFeed.Actions>{/* optional controls */}</ActivityFeed.Actions>  </ActivityFeed.Item></ActivityFeed>

Use Activity Feed for an audit log, a record history, or a notification list. Use Empty State when the list has no events yet. Use Alert for a single status message that is not part of a history.

The marker names the kind of event. ActivityFeed.Icon is a soft tinted tile. ActivityFeed.Dot is the same 32px slot with a small dot for a minor edit. For a person, put Avatar in the marker at size={32}. The slot stays 32px at both densities so the rail stays aligned.

  1. JA
    Jonah Adeyemijoined the workspace
  2. Jonah Adeyemiuploaded the press kit
  3. Jonah Adeyemirenamed the project

Icon and dot variants are default, primary, success, warning, info, destructive, purple, teal, orange, and magenta. The tile and the dot are decorative. The actor and the action carry the meaning.

unread on an item strengthens the header and adds a brand dot at the end of the row. The dot has the visually hidden label “Unread”. The row itself stays untinted.

ActivityFeed.Body is a short muted line. ActivityFeed.Card is a nested surface for a comment, review, or note, with a smaller radius than Card.

Files and images belong in ActivityFeed.Attachments. Lay ActivityFeed.Image thumbnails out in a wrapping row, and compose a File Card for each file. Each image requires alt.

  1. Mina Choattached 3 files
    Turquoise lake surrounded by mountainsClose-up of a computer circuit board
    source-assets.zip
    18 MB · Archive
  2. JA
    Jonah Adeyemileft a review
    The motion is right, but the empty-state illustration feels heavy on the cream theme. Try it at a smaller size.

ActivityFeed.Actions sits beside the content, aligned to the marker, so it stays on the first line as the event grows. Compose Icon Button or Button there and give each control a specific accessible name.

To make the whole event a link or button, pass as on the item. The list item stays an li, and the link or button becomes the surface inside it:

TSX
<ActivityFeed.Item as="a" href="/reviews/1">  <ActivityFeed.Content>    <ActivityFeed.Header>Merged the pull request</ActivityFeed.Header>  </ActivityFeed.Content></ActivityFeed.Item>

as implies interactive, which adds a hover fill, a pressed fill, and a focus ring. Keep actions off a linked item so a control is not nested inside the link. ActivityFeed.Actor also accepts as when only the name should navigate.

ActivityFeed.Group gathers events under ActivityFeed.GroupLabel. The label sits in the text column, and the rail runs through it, so the timeline stays one line from the first event to the last. Each group is its own list, named by the label.

  1. Today
    1. MC
      Mina Chochecked in for the 10:30 visit
    2. Front deskmarked the invoice paid
  2. Yesterday
    1. JA
      Jonah Adeyemileft a note on the record

      Prefers morning slots. Bring the March x-ray.

The label renders a div by default. Pass as="h2" or another heading when the group name should appear in the page outline.

separator="rail" is the default timeline. separator="rule" replaces the rail with a hairline between events, for an audit log or notification inbox. separator="none" is a plain list for a single notice or a digest where a timeline would be too heavy.

density="comfortable" is the default. density="compact" tightens the gap between events and the type of the header. Density also inherits from DensityProvider. The marker size does not change.

Variants

defaultprimarysuccesswarninginfodestructivepurpletealorangemagenta
ActivityFeed.Root
ActivityFeed.Item
ActivityFeed.Marker
ActivityFeed.Icon
ActivityFeed.Dot
ActivityFeed.Content
ActivityFeed.Header
ActivityFeed.Actor
ActivityFeed.Time
ActivityFeed.Body
ActivityFeed.Card
ActivityFeed.Attachments
ActivityFeed.Image
ActivityFeed.Actions
ActivityFeed.Group
ActivityFeed.GroupLabel

API

PropTypeDefaultDescription
separator rail | rule | none rail Rail draws the timeline through the marker column. Rule replaces it with a hairline between events. None is a plain list.
density comfortable | compact comfortable Controls event spacing. The marker stays 32px. Inherits from DensityProvider when omitted.
Item.unread boolean false Strengthens the header and adds a brand dot with the visually hidden label Unread.
Item.interactive boolean false Adds hover, press, and focus treatment on the event surface.
Item.as ElementType div Renders the event surface inside the list item. Use a or button for a native link or control. Implies interactive.
Icon.variant / Dot.variant default | primary | success | warning | info | destructive | purple | teal | orange | magenta default Soft tint for a typed event or low-emphasis dot. Both markers are decorative.
Time.dateTime string — Machine-readable datetime for the time element.
Image.alt string — Required alternative text for an attachment thumbnail.
GroupLabel.as ElementType div Rendered element for the group name. Use a heading when it belongs in the page outline.
className string — Merged last on every part.
native props React.HTMLAttributes<HTMLOListElement> — Forwards native attributes, events, aria-*, data-*, className, style, and ref.

Unless narrowed above, each DOM-rendering part also accepts its underlying native or Base UI props, including className, style, aria-*, and data-*.

The feed is an ordered list. Group labels name their nested lists, so a screen reader can announce “Today, list” before the events in that day. Pass dateTime on ActivityFeed.Time so the visible relative time has a machine-readable value.

Icons and dots are aria-hidden. An avatar in the marker keeps its own accessible name. Attachment images require alternative text. The unread dot includes the hidden text “Unread”.

A linked or button event uses a native a or button inside the list item. Do not put another link or button inside that surface. Icon-only row actions need their own accessible names. The feed does not announce new events on its own; add a live region in the surrounding feature when an update should be spoken.