{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "loader",
  "title": "Loader",
  "description": "Loading indicators: loading-dev's Blocks and dots, and thinking-orbs' ThinkingOrb.",
  "dependencies": [
    "loading-dev@^0.3.3",
    "thinking-orbs@^0.3.2"
  ],
  "files": [
    {
      "path": "registry/khaeli/ui/loader.tsx",
      "content": "\"use client\"\n\nimport { Blocks, BouncingDots, LinearDots, type BlocksProps } from \"loading-dev\"\nimport { ThinkingOrb, type OrbState } from \"thinking-orbs\"\n\n// --- Loader ---\n// The one place an app imports loading indicators from. Every pending state\n// is loading-dev's Blocks: nine cells sweeping diagonally in `currentColor`,\n// aria-hidden, frozen under reduced motion. loading-dev's own default size is\n// 20px; Khaeli inline loaders read at 16px.\n\nfunction Loader({ size = 16, ...props }: BlocksProps) {\n  return <Blocks size={size} {...props} />\n}\n\n// Agent waits (2 s or more) show a ThinkingOrb whose state names the\n// activity; theme stays \"auto\", which follows next-themes' `.dark` class.\nexport { Loader, LinearDots as ThinkingDots, BouncingDots as TypingDots, ThinkingOrb, type OrbState }\n",
      "type": "registry:ui"
    }
  ],
  "docs": "Install @khaeli/foundation first: this item's styling lives in its tokens and [data-slot] rules.",
  "type": "registry:ui"
}