Skip to content
Back

Thinking panelPro

AI working panel with a live timer, searched sources and thinking steps that appear one by one.

oxyn add thinking-panel
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

  • 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.

Terminal
oxyn add thinking-panel

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

Default

The timer ticks, steps fade up along the dashed line, then "Worked for 7s" and a blue check.

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

Finished.

  1. Reading 7 sources about the retreat
  2. Comparing trains and flights
  3. Checking dates against the team calendar
  4. Drafting the retreat agenda
  5. Finished thinking
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

More sources

"+3 more" opened: every source and Show less.

  1. Reading 7 sources about the retreat
  2. Comparing trains and flights
  3. Checking dates against the team calendar
  4. Drafting the retreat agenda
  5. Finished thinking
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

Collapsed

Folded: just "Worked for 7s" and a chevron.

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

Classic

Classic style: a chevron on the left and flat grey chips.

  1. Reading 7 sources about the retreat
  2. Comparing trains and flights
  3. Checking dates against the team calendar
  4. Drafting the retreat agenda
  5. Finished thinking
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

Oxyn reasoning block

Extended: the reasoning block with summaries and levels.

Thinking
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

ThinkingPanel

PropTypeDefaultDescription
stepsVec<ThinkStep>Default::default()Steps in order (the demo when empty).
done_labelString"Finished thinking"Label of the final row.
step_msu64THINK_STEP_MSPause between two steps, ms.
loopedboolDefault::default()Start over a few seconds after finishing.
finishedboolDefault::default()Show it finished from the start.
collapse_on_doneboolDefault::default()Fold the steps away once finished.
collapsedboolDefault::default()Start folded.
show_allboolDefault::default()Start with every source shown.
nowrequiredClockMs—The clock.
styleStringDefault::default()`clean`, `classic`, or empty to follow `data-cstyle`.

Read from the Rust signature and doc comments.

Keyboard interactions

KeyAction
EnterorSpaceOn the header: fold or unfold the steps; on "+N more": show every source
TabHeader, 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 ThinkingPanel from oxyn_dioxus and include STATUS_INDICATOR_CSS plus the token stylesheet once.
  • A GPUI version exists: ThinkingPanelEl in oxyn_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.

Guides

Oxyn · 74 free components · 264 Pro components · 96 screens · 20 blocks · Dioxus and GPUI