Thinking handoff (Pro)
ProIncluded in $99Thinking hands over to the answer: the steps fold into a header and the answer writes in below.
On this page
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
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
import { ThinkingHandoff } from "@/components/ui/chatcn/pro/thinking-handoff"
<ThinkingHandoff thinking={!answerStarted} thoughts={steps}>
{answer}
</ThinkingHandoff>Props
| Prop | Type | Notes |
|---|---|---|
thinking | boolean | Flip it when the answer starts |
thoughts | string[] | One line per step |
children | ReactNode | The answer |
Accessibility
- Thinking is a status; the header is a button with
aria-expandedthat 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.