Skip to Content
zjkm-ui
Components

Thinking Orbs

Orbs of light that pulse while the model thinks.

ProPro, coming soon.
Props
48px
<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

PropTypeDefaultDescription
activebooleantrueCircle and pulse.
sizenumber48Width and height in pixels.
colors[string, string, string]cyan, violet, pinkThe three orbs.
labelstring"Thinking"Accessible name.
classNamestringClasses for the wrapper.

With reduced motion, the orbs sit side by side without moving.

On this page