A React component library of animated AI agent status indicator orbs. Thinking, searching, compacting, using a browser and more well-thought-out orbs built with attention to detail on every state and variant. 9 states, 23 variants, 5 shapes and 8 render styles to fit every state an agent goes through and your design style.
Works in React or plain JS, with no dependencies.
See them all at thinkingorbs.com, and try every shape and render in the playground.
npm i @yogesharc/thinking-orbsimport { Orb } from "@yogesharc/thinking-orbs";
<span className="flex items-center gap-2">
<Orb state="reasoning" />
Thinking
</span>Or copy the source into your project with shadcn, yours to change:
npx shadcn@latest add https://thinkingorbs.com/r/orb.jsonProps, every state and variant, shapes and renders, and use without React are all in the package README.
For iOS 17 and macOS 14. In Xcode, File › Add Package Dependencies, and paste https://github.com/yogesharc/thinking-orbs.
import ThinkingOrbs
Orb(state: .reasoning)It takes the same props as the React Orb, except shapes and renders. Tint it with .foregroundStyle.
apps/web/ the site at thinkingorbs.com, which also serves the shadcn registry
registry/orb/ the orb itself: orb-core.ts draws it, orb.tsx wraps it for React
packages/thinkingorbs/ the npm package, compiled from apps/web/registry/orb
packages/swift/ the SwiftUI package, a hand port of orb-core.ts (its manifest is Package.swift at the root)
The orb's source lives once, in apps/web/registry/orb. The site imports it, the registry serves it, and the package compiles it.
cd apps/web && pnpm install && cd ../..
pnpm dev # the site on localhost:3000
cd packages/thinkingorbs && pnpm install && pnpm build # the npm package