Skip to content
Back

Reasoning panelPro

A model's details with a notched reasoning slider (R steps it; Max fills the bar with red dots), a Fast mode switch (F) and a Favorite button.

oxyn add reasoning-panel
Atlas 6.1
Context length1.1M
ReasoningRHigh
Fast modeF
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

  • The details of one model next to a model list: its context length, how hard it reasons, whether Fast mode is on, and a way to keep it in favorites.
  • Every control has a single-letter key so a keyboard user never leaves the list.

When not to use

  • A card with the effort's name and what it does over a dense tick ruler: use Ruler card instead.
  • A chip with the current effort that opens a plain list of levels above it, the chosen one checked: use Effort list instead.
  • A “Select effort” pill that opens a popover with the level, the model it applies to, a dotted step slider and reset: use Effort pill instead.

Installation

Reasoning 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 reasoning-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

High

Mid-scale: a grey fill up to the thumb and notches marking the levels still ahead. Press R to step, F for Fast mode.

Atlas 6.1
Context length1.1M
ReasoningRHigh
Fast modeF
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

Max

At Max the bar fills with red dots, like a meter running hot, and the level name turns red.

Atlas 6.1
Context length1.1M
ReasoningRMax
Fast modeF
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

Fast

Fast mode on and the model in favorites.

Atlas 6.1
Context length1.1M
ReasoningRMedium
Fast modeF
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

Low

The first level: no fill, every notch ahead.

Atlas 6.1
Context length1.1M
ReasoningRLow
Fast modeF
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

ReasoningPanel

PropTypeDefaultDescription
modelOption<PanelModel>Default::default()The model (the demo's when `None`).
levelsOption<Vec<EffortLevel>>Default::default()The scale (Low … Max when `None`).
valueOption<usize>Default::default()Controlled level.
default_valueusize2Starting level when uncontrolled.
fastOption<bool>Default::default()Controlled Fast mode.
default_fastboolDefault::default()Starting Fast mode when uncontrolled.
favoriteOption<bool>Default::default()Controlled favourite.
default_favoriteboolDefault::default()Starting favourite when uncontrolled.
on_changeEventHandler<usize>—The level changed.
on_fast_changeEventHandler<bool>—Fast mode flipped.
on_favorite_changeEventHandler<bool>—Favorite flipped.

Read from the Rust signature and doc comments.

Keyboard interactions

KeyAction
RNext reasoning level, wrapping after Max (anywhere in the panel)
FFast mode on or off (anywhere in the panel)
←or→ · HomeorEndOn the slider: one level, or the ends
SpaceorEnterOn the switch or Favorite: flips it

Accessibility

  • The bar is a slider named Reasoning with the level's name as its value text and R as its key shortcut.
  • Fast mode is a switch (aria-checked); Favorite is a toggle button (aria-pressed).
  • Single-letter keys skip when Ctrl, Cmd or Alt is held, so browser shortcuts still work.

Responsive behaviour

  • 340 px panel, shrinking with its container; rows keep label left and value right.
Edge cases (spec)

340 px, shrinking with its container; rows keep label left, value right.

Notes for AI

  • Import ReasoningPanel from oxyn_dioxus and include STATUS_INDICATOR_CSS plus the token stylesheet once.
  • A GPUI version exists: ReasoningPanelEl in oxyn_gpui.
  • 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