Agent reasoning
Thinking stays folded until you open it, so nothing jumps while you read.
Use it when
- The agent’s working-out is worth checking, but not worth reading every time.
- The answer takes a few seconds, and people should see the agent is thinking.
Don’t use it when
- It would stand on its own. It draws no rail or label: put it inside an Agent block.
- The steps are for someone to carry out. Use Agent plan.
Before and after
H1 operating profit is ¥355m under budget. Exchange rates explain ¥317m of it.
Install
pnpm dlx shadcn@latest add https://tabularui.com/r/agent-reasoning.json https://tabularui.com/r/agent-block.jsonUsage
import { AgentBlock } from '@/components/tabular-ui/components/product/AgentBlock';import { AgentReasoning } from '@/components/tabular-ui/components/product/AgentReasoning'; <AgentBlock authorship="AI" meta="14:22"> <AgentReasoning status="done" durationSeconds={4} text={reasoning} /></AgentBlock>