This page as markdown: /thinking-orb.md · Index for agents: /llms.txt · Everything in one file: /llms-full.txt

ThinkingOrb

Status: stable

Canvas dot-cloud 'agent is thinking' indicator. Three generated modes (orbit / globe / mesh) drawn from pure math — no icon dependency, no animation library. Ink follows currentColor; size steps are separately tuned.

Keywords: thinking, orb, agent, ai, chat, loading, streaming, indeterminate, canvas

Usage

Use ThinkingOrb while an AI agent is working and there is nothing specific to report yet — before the first token streams, or between tool calls. It is a richer, more characterful sibling of Spinner for the one place in a product where the wait is the experience.

Best practices

Props

Name Type Default Description
mode "orbit" | "globe" | "mesh" "orbit" Which cloud to draw. orbit = generic working, globe = searching/retrieving (a scan band sweeps pole to pole), mesh = relating things (nodes wire to near neighbours and signals run the edges).
size "sm" | "md" | "lg" "md" Rendered box on the spacing scale: sm 5 units (20px at the default spacing; inline in a composer or message row), md 8 (32px; beside a status line), lg 16 (64px; standalone). The box moves with density like the text beside it, and the canvas re-measures it. Each step has its own dot density, dot size and speed.
speed number 1 Multiplier on top of the per-size tuned speed. Below ~0.5 the orb reads as stalled.
paused boolean false Freeze on a representative still frame without unmounting.
label string "Thinking" Accessible label announced by screen readers while visible (sets aria-label on the role=status element). Must stay constant for as long as the orb is mounted — it names the wait, it does not report progress.
className string — Set the ink with a semantic text-* token (the dots are drawn from the element's computed color). The box is sized by the size prop, not by className.

Tokens used

foreground, muted-foreground, primary

Motion

Accessibility

Related

Examples

Default

import { ThinkingOrb } from "@sableui/react"

<ThinkingOrb />

Modes

import { ThinkingOrb } from "@sableui/react"

<ThinkingOrb mode="orbit" size="lg" />
<ThinkingOrb mode="globe" size="lg" />
<ThinkingOrb mode="mesh" size="lg" />

Inline with a status line (the label stays constant, the phase moves)

import { InlineStatus, ThinkingOrb } from "@sableui/react"

<InlineStatus icon={<ThinkingOrb mode="globe" size="sm" label="Searching" />}>Searching your workspace…</InlineStatus>

Tinted and paused

import { ThinkingOrb } from "@sableui/react"

<ThinkingOrb size="lg" className="text-primary" paused />