Skip to content
GitHub (opens in a new tab)

LoadingAnimation

Square dot-grid loading indicator for compact waits.

stableAtomcontracts/loadinganimation.json

Preview

LoadingAnimation

Square dot-grid wait for compact panels and cards. Not Spinner. Not ThinkingAnimation.

Master

Nine-dot grid with crossfade motion, medium size. Variants shows all three sizes.

Usage

Use LoadingAnimation for compact panel or card waits. Pass label for the status name. Not ThinkingAnimation.

Do's

  • Panel or card content is loading
  • Short blocking fetches inside a region

Don'ts

<LoadingAnimation label="Loading" size="md" />

When to use

  • Panel or card content is loading
  • Short blocking fetches inside a region

When not to use

  • Assistant thinking state — use ThinkingAnimation
  • Determinate progress — use Progress

What an agent reads

import { LoadingAnimation } from "agentic-ds-kit";
must
  • role=status
  • aria-label describes loading
defaults
  • label Loading
  • size md
  • variant grid
stops if
  • Do not use raw hex

From contracts/loadinganimation.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
labelstringNoLoading—
sizesm | md | lgNomd—
variantgridNogrid—
  • Component
    →

    ThinkingAnimation

    Calm processing indicator for assistants and short system waits.

  • Component
    →

    Progress

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