Collapsible reasoning trace accordion with staggered step entrance and trace-mode tabs.
"use client"; import { ThinkingTrace } from "@/components/compose/thinking"; export function TraceExample() { return ( <ThinkingTrace summary="Thought for 4 seconds" mode="steps" defaultOpen items={[ { text: "Reading design briefs" }, { text: "Comparing bevel specs", meta: "6 primitives" }, { text: "Writing the component report" }, ]} /> );}Add it with the ComposeUI CLI, or copy the source manually.
summarystringShimmer header label summarizing duration or phase count.
mode"steps" | "reasoning" | "search" | "coding"Controls which reasoning trace preset is active.
"steps"defaultOpenbooleanWhether the step list starts expanded on initial mount.
trueitems{ text: string; meta?: string }[]Ordered reasoning milestones revealed with staggered fade-up motion.
Concentric bevels are your fastest-growing pattern — interaction retention is up 23% this month and contrast beats flat borders by 8 points. composeui.dev Minimal translucent surfaces are trending in the same range.
Follow-ups
Updated December 2026