Reasoning summary

Pro

The reasoning trail folded to its working line: the activity mark and what the agent is doing in words with a timer, then Worked for 14s with any retry kept on the line, opening to the full trail.

Pro opens soon
npx shadcn@latest add @pixilui-pro/reasoning-summary

Preview

Folded while it works: the action and its mark change together, then it reads Worked for.

When to use

Use it when

  • A chat answer whose reasoning should stay out of the way: one line while it works, one click to the steps.
  • Past messages in a thread: status done with the steps, settled.

Use something else when

  • When the steps should show as they happen: use the reasoning trail open (head working).
  • No steps at all: use thinking state (free).

Installation

reasoning-summary.tsx23 linesPro
Pro opens soon

Join the waitlist and we'll email you when PixilUI launches. The preview, props and docs stay open until then.

Pro installs with the same CLI as the free items. One command adds reasoning-summary.tsx and the free thinking-mark.tsx, the free agent-status.tsx, the free thinking-state.tsx, the free chip.tsx and reasoning-trail.tsx it uses; your license key goes in once, as in Installation.

{
  "registries": {
    "@pixilui-pro": {
      "url": "https://pixilui.com/r/pro/{name}.json",
      "headers": { "Authorization": "Bearer ${PIXILUI_TOKEN}" }
    }
  }
}
Terminal
npx shadcn@latest add @pixilui-pro/reasoning-summary

Adds reasoning-summary.tsx with thinking-mark.tsx, agent-status.tsx, thinking-state.tsx, chip.tsx and reasoning-trail.tsx, and installs clsx and tailwind-merge. The CLI reads PIXILUI_TOKEN from .env.local; if this computer has not logged in yet, run npx pixilui@latest login once.

Usage

example.tsx
import { ReasoningSummary } from "@/components/pixilui/reasoning-summary";

<ReasoningSummary />

One line, as wide as its words; opened, the steps fill the column.

API reference

PropTypeDefault
markThinkingMarkState–The activity mark leading the line. Defaults to the live step's kind (think: thinking, query: fetching, read: reading).

Keyboard

Enter SpaceOn the line: opens or folds the steps.

Accessibility

  • The line is a button with aria-expanded; its words are role status, so each action is announced politely.
  • The mark is aria-hidden; the words carry the meaning. Retries and failures are words.

Motion

  • Each new action's words come in letter by letter out of a soft blur while the old ones lift away; the mark hands over from the centre at the same time.
  • The live words carry the text shimmer; the timer counts whole seconds. When the answer starts the mark draws its tick and the line reads Worked for.
  • Opening shows the trail's steps with the fold; reduced motion makes every change instant.
Reasoning trailFolds into one line when the answer starts; anything that went wrong stays on it.
Thinking stateSays what the agent is doing with a live timer, then folds to Worked for 14s.
Activity mark36 tiny animations act out the work, and a new state hands over cell by cell.

PixilUI Pro opens soon. The first 20 licenses are $99.