Skip to content
Back

Experiment gridPro

A budgeted research run's experiments as shapes in bands of hours: kept, reverted and crashed read at a glance, new ones pop in, and the legend pins one outcome.

oxyn add experiment-grid
Autoresearch0m of 24h
Experiments0 runs · 0 kept
0h
4h
8h
12h
16h
20h
Hover a mark to read the experiment.
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 budgeted research run's experiments as shape marks in bands of hours (experiment_grid): kept (filled square), no gain (open square), crash fixed (triangle, danger tone), summary (diamond) and you (circle).
  • The header shows the budget used (budget_line: "2h 12m of 24h") with a pulsing hairline while running; the counts line reads "27 runs · 5 kept · 2 crashes fixed" (experiment_counts).
  • Marks pop in as the run clock reaches them; legend buttons count each outcome and pin one (others dim); hovering or focusing a mark writes its id and note under the grid.

When not to use

  • Prompt composer with model picker, voice input, app connections and approval request: use Chat Composer instead.
  • The model menu of an AI chat: use Model Picker instead.
  • The prompt box for an agent, in six layouts: use Composer instead.

Installation

Experiment grid 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 experiment-grid

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

Live

Experiments pop in as the run reaches them.

Autoresearch0m of 24h
Experiments0 runs · 0 kept
0h
4h
8h
12h
16h
20h
Hover a mark to read the experiment.
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

Finished

The budget spent.

Autoresearch24h of 24h
Experiments46 runs · 8 kept · 4 crashes fixed
0h
4h
8h
12h
16h
20h
Hover a mark to read the experiment.
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

Short

A 4-hour run in hour rows.

Autoresearch0m of 4h
Experiments0 runs · 0 kept
0h
1h
2h
3h
Hover a mark to read the experiment.
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

ExperimentGrid

PropTypeDefaultDescription
experimentsrequiredVec<Experiment>—Experiments, in time order.
budgetu321440Budget in minutes.
elapsedrequiredu64—Run time so far, seconds (marks after it are not shown yet).
bandu324Hours per row.
pausedboolDefault::default()Paused: the hairline stops pulsing.

Read from the Rust signature and doc comments.

Keyboard interactions

KeyAction
TabThrough the legend and each mark
EnterorSpaceOn a legend item: pin that outcome

Accessibility

  • Every mark is a button labelled with its id, outcome and note; the note line is role=status.
  • Outcomes differ by shape (and crashes by tone), so the grid reads in monochrome.
  • Budget use is a progressbar.
From the spec
  • Marks are buttons labelled id, outcome and note; the note line is role=status; budget use is a progressbar.

Motion & interaction

Timing
  • Marks pop 300 ms with overshoot; hairline pulses 1.8 s; notes swap 220 ms.
  • Reduced motion: no pop or pulse.

Responsive behaviour

  • Marks wrap within each band row.
Edge cases (spec)
  • Up to 440 px; marks wrap within a band.

Notes for AI

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