Skip to content
Sign upGet access
MicrointeractionsThinking handoffMenu

Thinking handoff (Pro)

ProIncluded in $99

Thinking hands over to the answer: the steps fold into a header and the answer writes in below.

ProWhile the model thinks, its steps tick past above a live timer. When the answer starts, the steps fold into the header, the label lifts and shrinks into it, and the answer writes in below.

While the model thinks, its latest steps tick past above a shimmering Thinking and a running timer. When the answer starts, the steps fold up into a quiet Thought for 6s header, the label lifts and shrinks into it, and the answer writes in below. The header stays as the way back into the reasoning.

Installation

$ pnpm dlx shadcn@latest add @chatcn-pro/thinking-handoff

Needs chatcn Pro

This command works with a Pro license, along with every Pro component.

Or start free: sign up and get three Pro components on us, with a new one every month.

Usage

tsx
import { ThinkingHandoff } from "@/components/ui/chatcn/pro/thinking-handoff"

<ThinkingHandoff thinking={!answerStarted} thoughts={steps}>
  {answer}
</ThinkingHandoff>

Props

PropTypeNotes
thinkingbooleanFlip it when the answer starts
thoughtsstring[]One line per step
childrenReactNodeThe answer

Accessibility

  • Thinking is a status; the header is a button with aria-expanded that opens the full steps.

Motion

  • The label is one FLIP, 460 ms; the steps fold 380 ms; the answer reveals with a clip-path. Reduced motion: it swaps.