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 preview stays free for everyone. Pro opens the code of every Pro component, screen, agent-app template, block and kit, plus the Pro CLI.
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.
oxyn add task-rowsUsage
The preview is free. Pro opens the code of every Pro component, screen and template.
Examples
Capsules
Pill rows with a ring.
- Loaded statementsdone
- Classifying merchantsrunning
- Write to ledgerqueued
Code Pro
The preview is free. Pro opens the code of every Pro component, screen and template.
List
Hairline list.
- Loaded statementsdone
- Classifying merchantsrunning
- Write to ledgerqueued
Code Pro
The preview is free. Pro opens the code of every Pro component, screen and template.
Closed
All rows closed.
Code Pro
The preview is free. Pro opens the code of every Pro component, screen and template.
API reference
TaskRows
| Prop | Type | Default | Description |
|---|---|---|---|
rowsrequired | Vec<TaskRow> | — | Rows. |
variant | String | "capsules" | `capsules` · `list`. |
on_toggle | EventHandler<usize> | — | Toggle a row open. |
on_retry | EventHandler<usize> | — | Retry a failed row. |
Read from the Rust signature and doc comments.
Keyboard interactions
| Key | Action |
|---|---|
| EnterorSpace | Open or close a row |
| Tab | Rows, 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
TaskRowsfromoxyn_dioxusand includeSTATUS_INDICATOR_CSSplus the token stylesheet once. - A GPUI version exists:
TaskRowsElinoxyn_gpui. - Props to set first:
rows. - Keep its states and timings as they ship; restyle it through the CSS variables rather than by hand.