Skip to content

Claude Thinking

The claude-like thinking line: a spinner and the time while it thinks, then ∴ Thought for 4s with a one-line gist in italics.

On this page

Examples

The shared grammar with the look fixed: the same as <CliThinking preset="claude-like" />, so it reads as the claude-like look on its own or inside a session. Every part in all eight looks is on Agent CLI.

Installation

npx knowns-ui@latest add agent-cli-claude
For Claude Code, Cursor or Codex: installs it and wires the props to your own data.

Props

elapsed
number
Ms thought so far, or in all.
done
boolean
Defaultfalse
Finished: the time and the gist instead of the spinner.
text
string
The gist, once done.

When to use

When to use

  • Showing how long a model thought before it acted.

When not to use

Using with AI

Use Copy page for AI above to give your assistant this page, Copy prompt under the install command to have it installed and wired to your data, or connect the Knowns UI MCP server and just ask:

  • Add the Knowns UI Claude Thinking to my app and wire it to my own data.
  • I need showing how long a model thought before it acted. Set that up with the Knowns UI Claude Thinking.
  • Which Claude Thinking props do I need for a minimal setup? Show me a short example.

With the server connected, your assistant calls get_component({ name: "claude-thinking" }) and search_docs({ query: "claude thinking" }).

Need help?

Stuck on Claude Thinking, or found something off? We read every message.