Skip to content
Back

Task rowsPro

Live agent tasks as compact rows: a ring with the step for running rows, Completed and Failed pills with Retry, details that open per row, rows entering 80 ms apart. Capsules or list.

oxyn add task-rows
    • Loaded statementsdone
    • Classifying merchantsrunning
    • Write to ledgerqueued
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

  • Live agent task status as compact rows, capsules or a hairline list: a ring with the current step for running rows, a Completed pill (green) or Failed pill with Retry, an amount on the right, and details per row that open and close.
  • Rows enter 80 ms apart.

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

Task rows 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 task-rows

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

Capsules

Pill rows with a ring.

    • Loaded statementsdone
    • Classifying merchantsrunning
    • Write to ledgerqueued
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

List

Hairline list.

    • Loaded statementsdone
    • Classifying merchantsrunning
    • Write to ledgerqueued
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

Closed

All rows closed.

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

TaskRows

PropTypeDefaultDescription
rowsrequiredVec<TaskRow>—Rows.
variantString"capsules"`capsules` · `list`.
on_toggleEventHandler<usize>—Toggle a row open.
on_retryEventHandler<usize>—Retry a failed row.

Read from the Rust signature and doc comments.

Keyboard interactions

KeyAction
EnterorSpaceOpen or close a row
TabRows, Retry

Accessibility

  • Each row is a button with aria-expanded; the pill text carries the state.
From the spec
  • Rows are buttons with aria-expanded.

Motion & interaction

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

Responsive behaviour

  • Amount hides first when narrow (it truncates).
Edge cases (spec)
  • Amount truncates first.

Notes for AI

  • Import TaskRows from oxyn_dioxus and include STATUS_INDICATOR_CSS plus the token stylesheet once.
  • A GPUI version exists: TaskRowsEl in oxyn_gpui.
  • Props to set first: rows.
  • 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