Skip to content
Back

Activity feed & timelinePro

Events grouped by day, newest first, on a quiet avatar line: a type filter, new updates held behind a button so nothing jumps, expandable details, unread dots and Mark all read. The timeline variant drops the controls.

oxyn add activity-feed

Activity

3 new

Today

  1. 5 files · +212 −18 · all checks passed

Yesterday

3 days ago

The code is part of Oxyn Pro

The preview stays free for everyone. Pro opens the code of every Pro component, screen, agent-app template, block and kit, plus the Pro CLI.

Get Pro

Rendered from Rust at build time · goes live when visible

When to use

  • What happened, newest first, grouped by day (Today, Yesterday, n days ago) on a quiet avatar line.
  • The feed adds a type filter, unread dots and a count, new events held behind a “n new updates” button so nothing jumps, expandable details (expanding marks read), Mark all read, and a range (today, week, month).
  • The timeline variant keeps only the line, markers and details.

When not to use

  • An agent asks before it acts: use Approval Card instead.
  • Several open requests in one card: use Approval pager instead.
  • An agent's question in its own card above the composer: use Decision Card instead.

Installation

Activity feed & timeline is part of Oxyn Pro; the preview is free. Pro items install with the oxyn CLI once your licence is signed in; until then Pro members copy the code from this page.

Terminal
oxyn add activity-feed

Usage

Dioxus · rust
The code is part of Oxyn Pro

The preview is free. Pro opens the code of every Pro component, screen and template.

Get Pro

Examples

Feed

Filter, unread dots, new updates.

Activity

3 new

Today

  1. 5 files · +212 −18 · all checks passed

Yesterday

3 days ago

Code Pro
The code is part of Oxyn Pro

The preview is free. Pro opens the code of every Pro component, screen and template.

Get Pro

Timeline

Quiet timeline.

Timeline

Today

  1. 5 files · +212 −18 · all checks passed

Yesterday

3 days ago

Code Pro
The code is part of Oxyn Pro

The preview is free. Pro opens the code of every Pro component, screen and template.

Get Pro

Today

Today only.

Activity

3 new

Today

  1. 5 files · +212 −18 · all checks passed
Code Pro
The code is part of Oxyn Pro

The preview is free. Pro opens the code of every Pro component, screen and template.

Get Pro

API reference

ActivityFeed

PropTypeDefaultDescription
feedrequiredFeed—Model.
variantString"feed"`feed` (filter, unread, mark read) · `timeline` (quiet line with markers).
titleString"Activity"Heading.
on_filterEventHandler<Option<EventKind>>—Filter changed.
on_toggleEventHandler<String>—Toggle an event.
on_show_newEventHandler<()>—Show new updates.
on_read_allEventHandler<()>—Mark all read.

Read from the Rust signature and doc comments.

Keyboard interactions

KeyAction
TabFilter, new updates, events
EnterorSpaceExpand an event (marks it read)

Accessibility

  • Day labels are headings; events are buttons with aria-expanded.
  • The filter is a radiogroup.
From the spec
  • Day headings; events are buttons with aria-expanded; filter is a radiogroup.

Motion & interaction

Timing
  • Reduced motion: no entrance rise, no shimmer (static muted text), rings and bars jump to their value.

Responsive behaviour

  • Targets truncate; times stay right.
Edge cases (spec)
  • Targets truncate; times stay right.

Notes for AI

  • Import ActivityFeed from oxyn_dioxus and include STATUS_INDICATOR_CSS plus the token stylesheet once.
  • A GPUI version exists: ActivityFeedEl in oxyn_gpui.
  • Props to set first: feed.
  • Keep its states and timings as they ship; restyle it through the CSS variables rather than by hand.

Guides

Oxyn · 74 free components · 264 Pro components · 96 screens · 20 blocks · Dioxus and GPUI