◉ Pulse
Jakubantalik avatar
#3 today ▲ 2

Jakubantalik/thinking-orbs

TypeScript AI

Dotted thought-orb loading indicators for AI & agent UIs — six tuned states, two sizes, auto dark/light

Created Jul 21, 2026
Stars
203
Today
+130
Forks
14
Quality
95/100
Momentum
33

README

Fetched from GitHub on Nov 7, 2026, 2:09 AM UTC · README.md

View original on GitHub

Third-party content — Open Source Pulse is not the owner of this repository.

This README belongs to Jakubantalik/thinking-orbs and its contributors. We fetch it directly from the project’s public GitHub repository and display it for reference only. All text, code, images and trademarks remain the property of their respective authors. See the repository for its license terms. Copyright / takedown policy.

thinking-orbs

Dotted thought-orb loading indicators for AI & agent UIs. Nine hand-tuned animated states, each shipped at two purpose-tuned sizes, rendered on a plain 2D canvas — no WebGL, no filters, works identically in Chrome, Safari and Firefox.

Live demo · Repository · Report an issue

Install

npm install thinking-orbs

Quick start

import { ThinkingOrb } from 'thinking-orbs';

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

States

Nine verbs an agent can be doing, each a distinct animation:

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

Sizes

Two tuned presets — separate designs, not a scale factor. 64 for chat-avatar scale, 20 for inline-text scale. Each carries its own dot count, dot size and speed tuning:

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

Theme

Strictly monochrome — light ink for dark backgrounds, dark ink for light backgrounds — with the mode picked automatically from the host project:

<ThinkingOrb theme="auto" />   {/* default — detects from the project */}
<ThinkingOrb theme="dark" />   {/* pin: light dots for dark backgrounds */}
<ThinkingOrb theme="light" />  {/* pin: dark dots for light backgrounds */}

auto resolves in three layers and updates live when any of them change:

  1. an ancestor data-theme="dark|light" attribute or dark/light class (the Tailwind / shadcn convention), watched via MutationObserver;
  2. otherwise prefers-color-scheme, subscribed for live OS theme switches;
  3. SSR-safe — the canvas paints only on the client, after the theme has resolved.

Other props

<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-*, …) pass through.

Accessibility & performance

  • role="img" with a sensible per-state aria-label out of the box.
  • prefers-reduced-motion: reduce renders a static representative frame — no animation — and still follows the live theme.
  • Every instance pauses automatically when scrolled offscreen (IntersectionObserver) or when the tab is hidden, and resumes in phase — all instances share one clock.
  • Plain 2D canvas arcs only: no ctx.filter, no SVG filters, no WebGL — the same pixels everywhere, cheap on low-end devices. Device-pixel-ratio capped at 2.

License

MIT © Jakub Antalik

Rendered by GitHub from the repository’s README. Scroll to read the full file.
First trending

Jul 21, 2026

first spotted on the list

Best rank

#3

top 3 on trending

Appearances

2

times on the trending list

Quality score

95

out of 100

Momentum

33

trend strength indicator

Star velocity

1.9

stars per day since creation

Activity — last 60 days

daily counts, collected every 6 hours
  • Stars
  • Forks
  • Merged PRs
  • Issues
  • Closed issues

Collecting activity data since launch — check back in a few days.

Star history

total stars per snapshot
50100150200250Jakubantalik/thinking-orbs · Jul 21, 7 PM UTC: 73 starsJakubantalik/thinking-orbs · Jul 22, 2 AM UTC: 203 stars7 PM11 PM2 AM

Rank history

position on trending · lower is better
#1#2#3#4Jul 21, 7 PM UTC: rank #3Jul 22, 2 AM UTC: rank #37 PM11 PM2 AM

3D card for your website

Live HTML card with a glass surface and pointer tilt. Paste the iframe on any website.

<iframe src="https://www.notionpulse.cc/embed/Jakubantalik/thinking-orbs" width="420" height="240" style="border:0;max-width:100%;background:transparent" loading="lazy" title="Jakubantalik/thinking-orbs — trending on Open Source Pulse"></iframe>

Stars badge

Show current stars in your README or profile. Auto-updates every 6 hours.

Jakubantalik/thinking-orbs stars badge
Markdown
[![Jakubantalik/thinking-orbs](https://www.notionpulse.cc/api/badge/Jakubantalik/thinking-orbs.svg)](https://www.notionpulse.cc/repo/Jakubantalik/thinking-orbs)
HTML
<a href="https://www.notionpulse.cc/repo/Jakubantalik/thinking-orbs"><img src="https://www.notionpulse.cc/api/badge/Jakubantalik/thinking-orbs.svg" alt="Jakubantalik/thinking-orbs stars badge" /></a>

Repository of the Day

#3 Repository of the Day

Repository of the Week

#3 Repository of the Week

Repository of the Month

#3 Repository of the Month