Skip to content

Loader

Loading indicators: loading-dev's Blocks and dots, and thinking-orbs' ThinkingOrb.

Loader is for every pending state in the interface; ThinkingDots and TypingDots are for a conversation; ThinkingOrb is for an agent's wait of two seconds or more, with a state that says what it is doing. All of them stand still when the person prefers reduced motion.

Sizes and sweeps

Importing 214 rows

Dots

Reading the release notes
Support is typing

Thinking orb

  • working
  • searching
  • solving
  • listening
  • connecting
  • weaving
  • composing
  • breathing
  • shaping

Thinking orb sizes

Searching 3 projects

Installation

npx shadcn@latest add @khaeli/loader

Install @khaeli/foundation first: this item's styling lives in its tokens and [data-slot] rules.

Installs with

npm packages
  • loading-dev ^0.3.3
  • thinking-orbs ^0.3.2

Accessible name

  • Loader, ThinkingDots and TypingDots are hidden from assistive technology (aria-hidden) and cannot be named. Always put them beside text that says what is happening, in a role="status" element when it appears while the page is in use.
  • ThinkingOrb is an image (role="img") named after its state: Working…, Searching… and so on. Pass aria-label to say more, or aria-hidden when text beside it already does.

Registry JSON

The item as the shadcn CLI reads it, with every file it ships: https://ui.khaeli.com/r/loader.json