Skip to content
Back

Activity homePro

A home under the composer: activity, recent chats, usage, files and this month, or a background agent's status with a quote and a year of activity.

oxyn add activity-home
Help me brainstorm ideas for…
+Request approvalAuto ⌄↑
Activity
872 chats · 214 files · 38 automationsLast 24 weeks
Recent chats6 more
Usage
1,284 / 2,000 credits
Resets Dec 1
Files made for you11 more
This month
Chats36+12
Files made14−3
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

  • A home under the composer slot. overview: Activity (the compact heat map with totals), Recent chats, Usage against the plan (rolling number, a bar that turns to the warning tone at 90 %, reset date), Files made for you and This month with rolling values and signed deltas. librarian: a background agent's card (Idle, Paused or Looking at everything, with Pause / Resume and Look at everything, which runs for 2.4 s and then adds to the looks count), a quote that refreshes in place, and the year heat map with navigation.
  • Cards stagger in once (60 ms apart).

When not to use

  • Mail folders with counts and labels beside a message list: use Inbox sidebar instead.
  • The app frame: use App shell instead.
  • An assistant docked beside a page: use AI side panel instead.

Installation

Activity home 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-home

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

Overview

Composer over Activity, Recent chats, Usage, Files and This month.

Help me brainstorm ideas for…
+Request approvalAuto ⌄↑
Activity
872 chats · 214 files · 38 automationsLast 24 weeks
Recent chats6 more
Usage
1,284 / 2,000 credits
Resets Dec 1
Files made for you11 more
This month
Chats36+12
Files made14−3
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

Near limit

Usage past 90 %: the bar turns to the warning tone.

Help me brainstorm ideas for…
+Request approvalAuto ⌄↑
Activity
872 chats · 214 files · 38 automationsLast 24 weeks
Recent chats6 more
Usage
1,880 / 2,000 credits
Resets Dec 1
Files made for you11 more
This month
Chats36+12
Files made14−3
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

Librarian

A background agent's home: status, quote and the year heat map.

Good night, Wayne

Sunday, November 15 at 10:40 PM

Librarian

Keeps your projects tidy as your threads go.

Idle

137 looks today · 174 skipped · 695k tokens

“Well begun is half done.”

Aristotle, philosopher (attributed)
Threadbear activity
79 threads started in 2026
2026
JanFebMarAprMayJunJulAugSepOctNovDecMonWedFri
Threads in a private folder aren't counted
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

ActivityHome

PropTypeDefaultDescription
variantString"overview"`overview` or `librarian`.
greetingStringDefault::default()Greeting line ("Good night, Wayne"); empty hides it.
dateStringDefault::default()Date line under the greeting.
credits(u32, u32)(1284, 2000)Credits used and the allowance.
countsVec<u32>Default::default()Activity counts per day (oldest first; the last day is today).
yeari322026Year for the Librarian heat map.
nowClockMsDefault::default()Clock (Librarian look timing).
childrenElementDefault::default()Composer or other content above the cards.
on_openEventHandler<String>—A recent chat or file was opened.

Read from the Rust signature and doc comments.

Keyboard interactions

KeyAction
TabThrough the cards' buttons and lists

Accessibility

  • Cards are sections with headings; usage is role=meter with the percent in its label.
  • The Librarian status is role=status.
  • Reduced motion shows the cards at once.
From the spec
  • Cards are sections; usage is role=meter with the percent in its label; the Librarian status is role=status.

Motion & interaction

Timing
  • Cards rise 320 ms, 60 ms apart; numbers roll 260 ms; the usage bar grows over 900 ms.
  • Reduced motion: everything lands at once.

Responsive behaviour

  • Six columns; four under 860 px and two under 620 px of its own width (container query on a full-width root).
Edge cases (spec)
  • Container query on a full-width root: six columns, four under 860 px, two under 620 px.

Notes for AI

  • Import ActivityHome from oxyn_dioxus and include STATUS_INDICATOR_CSS plus the token stylesheet once.
  • A GPUI version exists: ActivityHomeEl in oxyn_gpui.
  • It reads a clock (now) for live timers; pass one clock for the whole page rather than one per component.
  • 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