21st

Thinking Orbs

AI chats 53

About

Animated thinking/agent orb — six hand-tuned canvas states (working, searching, solving, listening, composing, shaping) in two tuned size presets (64px avatar / 20px inline). Theme-aware (auto/dark/light), SSR-safe, with speed and paused controls. Great for AI chat avatars and inline agent status indicators.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Thinking Orbs to your project and fits it to your theme.

Code

How Thinking Orbs is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

import { ThinkingOrb } from "@/components/ui/thinking-orbs"

// Agent shaping — the 20px inline pill, exactly as on the original site.
export default function ThinkingOrbShapingDemo() {
  return (
    <div className="flex min-h-[360px] w-full items-center justify-center bg-[#070707] p-8">
      <div
        className="inline-flex h-9 items-center gap-2 rounded-full pl-2 pr-3.5"
        style={{
          background: "rgba(29,29,29,0.42)",
          boxShadow:
            "inset 0 0 0 1px rgba(44,47,54,0.31), inset 0 0 50px 0 rgba(255,255,255,0.012)",
        }}
      >
        <ThinkingOrb state="shaping" size={20} theme="dark" />
        <span
          className="whitespace-nowrap text-xs leading-[14px]"
          style={{ color: "rgba(251,251,251,0.5)" }}
        >
          Agent shaping…
        </span>
      </div>
    </div>
  )
}

Dependencies

More by 21st

View all
  • Futuristic Hero

    Futuristic Hero

    2.7K
  • Hero ASCII one

    Hero ASCII one

    1.4K
  • Hero ASCII

    Hero ASCII

    1.3K
  • Admit One Ticket

    Admit One Ticket

    1K
  • Border Beam

    Border Beam

    933
  • Navigation Menu

    Navigation Menu

    933
  • Border Beam Search

    Border Beam Search

    575
  • Expand on hover

    Expand on hover

    227

More in AI chats

View all
  • AI Actions

    AI Actions

    326
  • Agent Chat

    Agent Chat

    18
  • Message Thread

    Message Thread

    45
  • System Message

    System Message

    58
  • Attachments

    Attachments

    22
  • Color Picker

    Color Picker

    110
  • Environment Variables

    Environment Variables

    14
  • AI Diff

    AI Diff

    74