Responding
FreeNested shells of dots that pulse and shimmer.
When to use
- An agent or model status that should read as one object, not a spinner.
- A chat header or avatar slot that changes motion with the activity.
When not to use
- A progress bar with a known percentage. The orb shows a state, not a fraction.
- Next to a paragraph. The dots need a dark field and some empty space.
Usage
- Copy the prompt and keep the nine state names.
- Pass state from the agent: idle, composing, listening, searching, and the rest.
- Give the canvas a square box. The orb sizes itself and pauses off screen.
example.tsx
1import { ThinkingOrbs } from "@/effects/thinking-orbs";2 3export function AgentStatus() {4 return (5 <div className="h-64">6 <ThinkingOrbs state="responding" />7 </div>8 );9}