{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "spinner",
  "title": "Spinner",
  "description": "Astro activity indicators for pending controls and page regions.",
  "dependencies": [
    "@lucide/astro",
    "cn"
  ],
  "registryDependencies": [],
  "files": [
    {
      "path": "packages/ui/src/components/ui/spinner/index.ts",
      "content": "export { default as Spinner } from \"./spinner.astro\"\n",
      "type": "registry:file",
      "target": "~/src/components/ui/spinner/index.ts"
    },
    {
      "path": "packages/ui/src/components/ui/spinner/spinner.astro",
      "content": "---\nimport type { HTMLAttributes } from \"astro/types\"\nimport LoaderCircle from \"@lucide/astro/icons/loader-circle\"\n\nimport { cn } from \"cn\"\n\ntype Props = HTMLAttributes<\"svg\"> & {\n  color?: string\n  size?: number | string\n  \"stroke-width\"?: number | string\n  absoluteStrokeWidth?: boolean\n  title?: string\n}\n\nconst { class: className, ...props } = Astro.props\n---\n\n<LoaderCircle\n  data-slot=\"spinner\"\n  role=\"status\"\n  aria-label=\"Loading\"\n  class={cn(\"size-4 animate-spin\", className)}\n  {...props}\n/>\n",
      "type": "registry:file",
      "target": "~/src/components/ui/spinner/spinner.astro"
    }
  ],
  "meta": {
    "framework": "astro",
    "source": "@gnostic/ui",
    "testedDependencies": {
      "@lucide/astro": "^1.68.0",
      "cn": "0.5.2"
    }
  },
  "docs": "https://ui.gnosticai.com/components/spinner",
  "categories": [
    "ui"
  ],
  "type": "registry:ui"
}
