Components
Thinking Orbs
Orbs of light that pulse while the model thinks.
ProPro, coming soon.
<ThinkingOrbs />Get notified
Thinking Orbs is a Pro effect. Join the waitlist and we'll email you when it's available.
Usage
Three orbs of light circle and pulse while active is on, and rest together when it's off. It's an image with an accessible name, so set a label that says what's happening.
import { ThinkingOrbs } from "@zjkm/pro/thinking-orbs";
export function AssistantAvatar({ busy }: { busy: boolean }) {
return <ThinkingOrbs active={busy} label={busy ? "Assistant is thinking" : "Assistant"} />;
}Props
| Prop | Type | Default | Description |
|---|---|---|---|
active | boolean | true | Circle and pulse. |
size | number | 48 | Width and height in pixels. |
colors | [string, string, string] | cyan, violet, pink | The three orbs. |
label | string | "Thinking" | Accessible name. |
className | string | Classes for the wrapper. |
With reduced motion, the orbs sit side by side without moving.