Skip to content
GitHub (opens in a new tab)

ThinkingAnimation

Calm processing indicator for assistants and short system waits.

stableAtomcontracts/thinkinganimation.json

Preview

ThinkingAnimation

A calm processing indicator for assistants and short system waits. Not LoadingAnimation. Not Spinner.

Master

Show only while work is actively happening. md, with its label. Variants shows the sizes.

Usage

Use ThinkingAnimation while an assistant or agent is working. Hide it when the wait ends. Not LoadingAnimation.

Do's

  • Agent or assistant is actively working
  • Replace with real content when processing completes

Don'ts

<ThinkingAnimation
  label="Thinking"
  size="md"
/>

When to use

  • Agent or assistant is actively working
  • Replace with real content when processing completes

When not to use

  • Determinate progress — use Progress
  • Blocking page load for entire view — use LoadingAnimation

What an agent reads

import { ThinkingAnimation } from "agentic-ds-kit";
must
  • role=status with aria-live=polite
  • aria-label describes the wait state
  • The label shimmers slowly through kit ShimmerText inside the aria-hidden label; the role=status aria-label still names the wait. Still under prefers-reduced-motion
defaults
  • label Thinking
  • size md
  • showLabel true
stops if
  • Do not use raw hex
  • Do not leave visible after work completes

From contracts/thinkinganimation.json: must is the a11y requirements, defaults the prop defaults, stops if the doNot rules where the agent asks instead of inventing a cousin.

Props

NameTypeRequiredDefaultNotes
labelstringNoThinking—
sizesm | md | lgNomd—
showLabelbooleanNotrue—
  • Component
    →

    Progress

    Task completion as a bar or circle from 0 to 100, or an indeterminate bar when the percent is not known.

  • Component
    →

    LoadingAnimation

    Square dot-grid loading indicator for compact waits.