{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "spinner",
  "type": "registry:ui",
  "title": "Spinner",
  "registryDependencies": [
    "https://hamur.dev/r/react/utils.json"
  ],
  "files": [
    {
      "path": "react/spinner.tsx",
      "content": "import type * as React from 'react' // base-ui-next/ui spinner@0.1.0\nimport { cn } from '@/lib/utils'\n\nconst spinnerClassName = 'size-4 animate-spin'\n\n// shadcn's `IconPlaceholder` (lucide `Loader2Icon`) as an inline SVG, so the item needs no icon\n// library. The SVG is the status itself, so it keeps its role and label and is not aria-hidden.\nfunction Spinner({ className, ...props }: React.ComponentProps<'svg'>) {\n  return (\n    <svg\n      xmlns=\"http://www.w3.org/2000/svg\"\n      viewBox=\"0 0 24 24\"\n      fill=\"none\"\n      stroke=\"currentColor\"\n      strokeWidth=\"2\"\n      strokeLinecap=\"round\"\n      strokeLinejoin=\"round\"\n      data-slot=\"spinner\"\n      role=\"status\"\n      aria-label=\"Loading\"\n      className={cn(spinnerClassName, className)}\n      {...props}\n    >\n      <path d=\"M21 12a9 9 0 1 1-6.219-8.56\" />\n    </svg>\n  )\n}\n\nexport { Spinner }\n",
      "type": "registry:ui",
      "target": "@ui/spinner.tsx"
    }
  ],
  "meta": {
    "baseUiNext": {
      "version": "0.1.0",
      "hash": "549284562554fd090e754c246142b47f65f1d5c6d8d1092f89c364796a4b04ac",
      "files": {
        "@ui/spinner.tsx": "5296b7f2a7c2b4c53fb201abaeb26327d5e3a8e333814f8caafcbd3e3d89ba9f"
      }
    }
  }
}
