# Reasoning Chain Popover

> A deep-reasoning popover with a gradient border: a chain-of-thought stepper showing completed and active reasoning steps with a pulsing marker, plus a depth meter, revealed from a gradient trigger with click-outside and Escape to close.

- Category: Popover
- Frameworks: Vanilla, React + CSS, React + Tailwind
- Design system: Runway
- Dark mode: yes
- Access: premium (Atheros AI Pass)
- Tags: ai
- Page: https://builder.atheros.ai/components/reasoning-chain
- Preview: https://d17nmjscumqk5d.cloudfront.net/builder/templates/tpl_builder_reasoning_chain/preview-14aedffcfba5.webp

## Features

- Explicit hidden/inert state synchronization accompanies the Semantic reasoning-step list and depth `progressbar`.
- Shape mapping: `--cards-radius` | Gradient panel outer radius, with `--card-shadow` / `--elevation-popover` for elevation.
- Gradient trigger button that toggles an anchored reasoning popover
- Gradient-bordered panel wrapping a surface interior
- Chain-of-thought stepper with completed and active steps
- Pulsing active marker and animated thinking dots
- Depth meter with a gradient fill that grows in on open
- Click outside the popover or press Escape to dismiss it
- Responsive down to 240px
- Fully respects `prefers-reduced-motion`
- Static, populated first paint: the panel ships its real content in markup (no skeleton, no async fetch); init re-renders atomically from the in-file data model, so there is no empty frame or height jump on load

## Accessibility

- **Dialog role** — The popover uses `role="dialog"` with an `aria-label`
- **Trigger semantics** — The trigger has `aria-haspopup`, `aria-expanded` and `aria-controls`
- **Decorative visuals** — The arrow and step markers are `aria-hidden`
- **Focus indicators** — `:focus-visible` with `--ring` outline on all interactive elements
- **Reduced motion** — `prefers-reduced-motion: reduce` disables all animations

## Keyboard shortcuts

- `Escape` — Close the popover and restore focus to the trigger

## Common questions

**Which frameworks is Reasoning Chain Popover available in?**

Reasoning Chain Popover ships as Vanilla, React + CSS and React + Tailwind — HTML, CSS, JS and React source you can copy, download or clone into Atheros AI Builder.

**Is Reasoning Chain Popover free?**

Reasoning Chain Popover is a premium component. Anyone can preview it; the source, downloads and AI customisation are included with Atheros AI Pass.

**Does Reasoning Chain Popover support dark mode?**

Yes. Reasoning Chain Popover ships light and dark themes, both drawn from the Runway design system's tokens. Switch the preview to dark mode to compare them.

## Get the code

Preview Reasoning Chain Popover live, then sign in to copy or download the source, apply another design system, or ask the AI assistant to change it: https://builder.atheros.ai/components/reasoning-chain

Every component on https://builder.atheros.ai is also reachable from Claude Code, Cursor and Codex through the Atheros MCP server (paid plans). Component index: https://builder.atheros.ai/llms-components.txt
