# Thinking Orbs: dotted loading orbs for AI apps

> Adds animated dotted loading orbs to show your AI is working.

- **What it does:** Adds ready-made animated dotted orbs to your React app that show your AI is thinking, searching or working. They come in nine animation styles and two sizes, and match light or dark themes automatically.
- **Agents:** Claude Code and Codex (through orbit-connect), Claude and ChatGPT (through the Orbit connector)
- **Install:** `npx -y --loglevel=error orbit-connect@0.3.33 install skl_5d17b71756b6462ef05c6d9d`
- **Creator:** @orbit.creates on Instagram
- **Safety:** Checked by Orbit: nothing risky found in what it runs or reads
- **Last updated:** 2026-11-14
- **Page:** https://orbitinbox.app/s/thinking-orbs-dotted-loading-orbs-for-ai-apps

## Skill

---
name: thinking-orbs-loader
description: Use when you say "add thinking orbs", "dotted thinking orb loader" or "my loader should show what the agent is doing"; it installs the thinking-orbs React package and drops the right animated orb state into your app at the tuned size and theme.
---

# Thinking Orbs: dotted loading orbs for AI apps

## What it does

Thinking Orbs is a React package of dotted thought-orb loading indicators for AI and agent UIs. It ships nine hand-tuned animated states, each a distinct animation:

- `working` - particles on tilted orbits
- `searching` - a scan meridian sweeps a dotted globe
- `solving` - bands scramble, then click back solved
- `listening` - a waveform rolls through the rings
- `connecting` - a constellation wires itself
- `weaving` - three strands plait around the sphere
- `composing` - an undulating multi-band sash
- `breathing` - a ring slowly morphing
- `shaping` - dotted outline: circle to triangle to square

Each state comes at two purpose-tuned size presets - separate designs, not a scale factor: `64` for chat-avatar scale and `20` for inline-text scale. Each preset carries its own dot count, dot size and speed tuning.

The orbs are strictly monochrome: light ink on dark backgrounds, dark ink on light. `theme="auto"` (the default) resolves in three layers and updates live - an ancestor `data-theme="dark|light"` attribute or `dark`/`light` class (the Tailwind / shadcn convention) watched with a `MutationObserver`, otherwise `prefers-color-scheme` subscribed for live OS theme switches, and it is SSR-safe because the canvas paints only on the client after the theme resolves. You can also pin `theme="dark"` or `theme="light"`.

Rendering is plain 2D canvas arcs only - no `ctx.filter`, no SVG filters, no WebGL - so it looks the same in Chrome, Safari and Firefox and stays cheap on low-end devices, with device-pixel-ratio capped at 2.

Accessibility and performance, out of the box: `role="img"` with a sensible per-state `aria-label`; `prefers-reduced-motion: reduce` renders a static representative frame with no animation and still follows the live theme; every instance pauses when scrolled offscreen (`IntersectionObserver`) or when the tab is hidden, and resumes in phase because all instances share one clock.

The repo also contains a React Native port under `ports/react-native/thinking-orbs-native` - see that folder's README in the repository for how it works.

## What you need

- A React project. The package lists React `>=18.0.0` as a peer dependency.
- Node and npm, to run `npm install`.
- No account, key or paid plan.

## Setup

Install the package:

```bash
npm install thinking-orbs
```

Use it in a component:

```tsx
import { ThinkingOrb } from 'thinking-orbs';

function Status() {
  return <ThinkingOrb state="searching" size={64} />;
}
```

Pick a size preset:

```tsx
<ThinkingOrb state="working" size={64} />
<ThinkingOrb state="working" size={20} />
```

Pick a theme:

```tsx
<ThinkingOrb theme="auto" />   {/* default - detects from the project */}
<ThinkingOrb theme="dark" />   {/* light dots for dark backgrounds */}
<ThinkingOrb theme="light" />  {/* dark dots for light backgrounds */}
```

Other props:

```tsx
<ThinkingOrb
  state="solving"
  size={20}
  speed={1.5}          // multiplier on the preset's baked speed
  paused={false}       // freeze on the current frame
  aria-label="Analysing repository…"  // overrides the per-state default
/>
```

All other `<canvas>` props (`className`, `style`, `data-*`, and so on) pass through.

You can see every state animating on the live demo at https://orbs.jakubantalik.com before you wire it up.

## How to use it with Claude

- "Install thinking-orbs in this project and show a `searching` orb at size 64 while my chat request is in flight."
- "Swap my spinner for a `ThinkingOrb` at size 20 next to the inline status text."
- "Map my agent's steps to orb states: tool search to `searching`, reasoning to `solving`, streaming the answer to `composing`."
- "My app uses a `dark` class on `<html>`; confirm `theme="auto"` will follow it and leave the default in place."
- "Slow the `breathing` orb down with the `speed` prop and give it a custom `aria-label` for my upload screen."
- "Add a `listening` orb to the voice input button and pause it with the `paused` prop when the mic is off."

## Credits

Made by Jakubantalik (thinking-orbs), packaged by Orbit. Source: https://github.com/Jakubantalik/thinking-orbs - license: MIT.

Shared by @orbit.creates, credited on Orbit.