Thinking panelPro
AI working panel with a live timer, searched sources and thinking steps that appear one by one.
oxyn add thinking-panelThe 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
- Show an agent working: a live timer, the sources it searched and its thinking steps as they happen.
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
Thinking panel 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 thinking-panelUsage
The preview is free. Pro opens the code of every Pro component, screen and template.
Examples
Default
The timer ticks, steps fade up along the dashed line, then "Worked for 7s" and a blue check.
Code Pro
The preview is free. Pro opens the code of every Pro component, screen and template.
Finished
Finished.
- Reading 7 sources about the retreat
- Comparing trains and flights
- Checking dates against the team calendar
- Drafting the retreat agenda
- Finished thinking
Code Pro
The preview is free. Pro opens the code of every Pro component, screen and template.
More sources
"+3 more" opened: every source and Show less.
- Reading 7 sources about the retreat
- Comparing trains and flights
- Checking dates against the team calendar
- Drafting the retreat agenda
- Finished thinking
Code Pro
The preview is free. Pro opens the code of every Pro component, screen and template.
Collapsed
Folded: just "Worked for 7s" and a chevron.
Code Pro
The preview is free. Pro opens the code of every Pro component, screen and template.
Classic
Classic style: a chevron on the left and flat grey chips.
- Reading 7 sources about the retreat
- Comparing trains and flights
- Checking dates against the team calendar
- Drafting the retreat agenda
- Finished thinking
Code Pro
The preview is free. Pro opens the code of every Pro component, screen and template.
Oxyn reasoning block
Extended: the reasoning block with summaries and levels.
Code Pro
The preview is free. Pro opens the code of every Pro component, screen and template.
API reference
ThinkingPanel
| Prop | Type | Default | Description |
|---|---|---|---|
steps | Vec<ThinkStep> | Default::default() | Steps in order (the demo when empty). |
done_label | String | "Finished thinking" | Label of the final row. |
step_ms | u64 | THINK_STEP_MS | Pause between two steps, ms. |
looped | bool | Default::default() | Start over a few seconds after finishing. |
finished | bool | Default::default() | Show it finished from the start. |
collapse_on_done | bool | Default::default() | Fold the steps away once finished. |
collapsed | bool | Default::default() | Start folded. |
show_all | bool | Default::default() | Start with every source shown. |
nowrequired | ClockMs | — | The clock. |
style | String | Default::default() | `clean`, `classic`, or empty to follow `data-cstyle`. |
Read from the Rust signature and doc comments.
Keyboard interactions
| Key | Action |
|---|---|
| EnterorSpace | On the header: fold or unfold the steps; on "+N more": show every source |
| Tab | Header, source chips, +N more |
Accessibility
- The header is one button with aria-expanded; the steps are an ordered list.
- Source chips are links with their address as a tooltip; "+N more" is aria-expanded.
- Reduced motion shows every step without animation.
Responsive behaviour
- Fills its container up to 420 px; chips wrap.
Edge cases (spec)
Up to 420 px; chips wrap.
Notes for AI
- Import
ThinkingPanelfromoxyn_dioxusand includeSTATUS_INDICATOR_CSSplus the token stylesheet once. - A GPUI version exists:
ThinkingPanelElinoxyn_gpui. - Props to set first:
now. - 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.