{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "components-spinner",
  "type": "registry:component",
  "title": "Spinner",
  "description": "A ring of ticks whose lit arc steps around the circle, in three sizes",
  "author": "sudo-kw <https://github.com/sudo-kw>",
  "dependencies": [
    "@gpuix/native@0.11.0",
    "@gpuix/react@0.11.0",
    "react@^19.2.4"
  ],
  "registryDependencies": [
    "https://gpuixui.sudokw.com/gpuix-primitives.json"
  ],
  "files": [
    {
      "path": "packages/components/src/spinner.tsx",
      "target": "@ui/gpuixui/components/spinner.tsx",
      "type": "registry:component",
      "content": "/** @jsxImportSource @gpuix/react */\nimport type { ReactElement } from \"react\";\nimport {\n  Spinner as PrimitiveSpinner,\n  type SpinnerProps as PrimitiveSpinnerProps,\n} from \"../primitives/spinner.js\";\n\nexport type SpinnerSize = \"sm\" | \"md\" | \"lg\";\n\nexport interface SpinnerProps extends Omit<PrimitiveSpinnerProps, \"size\"> {\n  readonly size?: SpinnerSize;\n}\n\nexport const Spinner = ({\n  size = \"md\",\n  ...rest\n}: SpinnerProps): ReactElement => <PrimitiveSpinner {...rest} size={size} />;\n\nexport const spinnerMeta = {\n  name: \"Loading indicators\",\n  tier: 1,\n  status: \"done\",\n  gpuixSupport: \"partial\",\n  limitations: [\n    \"Cannot rotate: 0.11.0 has no transform, so the ring is static and its lit arc steps around it\",\n    \"No smooth movement: the arc's head advances once per interval\",\n    \"The ring is a box and cannot sit inside a text run; put it in a Stack\",\n  ],\n  docs: \"docs/spinner.mdx\",\n  example: \"examples/spinner.example.tsx\",\n  testFile: \"src/behaviour/spinner.test.tsx\",\n} as const;\n"
    }
  ],
  "docs": "[Spinner](https://gpuixui.sudokw.com/components/spinner) — These are GPUix native components: the files render through GPUix's reconciler against `@gpuix/react`, not the DOM, and need the per-platform `@gpuix/native` binding. The CLI installs the `@gpuixui/*` runtime the components import as registry items, so the copied tree resolves on its own; wrap it in `ThemeProvider` before it renders.",
  "meta": {
    "url": "/components/spinner",
    "kind": "component",
    "runtime": "gpuix",
    "registry": "gpuixui"
  }
}