80 Primitives
Home/Components/Thinking
AI & AgentsAI & Agents

Thinking

Expandable traces — steps, reasoning, search, coding.

Interactive Live Preview

Component Props & Interface

Type-safe React 19 props supported by Thinking.

Prop NameTypeDefaultDescription
classNamestringundefinedOptional custom CSS styling classes
variantstring'default'Visual variant theme
onAction() => voidundefinedInteraction trigger callback
⌨ Keyboard Navigation

Fully navigable via Tab and Space/Enter. Supports ARIA live region updates for AI streaming states.

📱 Touch & Mobile Gestures

Touch-optimized event handling with hardware acceleration on mobile iOS Safari and Chrome Android.

⚡ Reduced Motion

Respects prefers-reduced-motion with instant CSS state swaps and disabled infinite loops.