{ "$schema": "https://ui.shadcn.com/schema/registry-item.json", "name": "spinner-variants", "title": "Spinner Variants", "description": "Collection of loading spinners: ring, dots, pulse, and bars", "files": [ { "path": "registry/pioneerui/spinner-variants.tsx", "content": "import React from \"react\"\nimport { cn } from \"@/lib/utils\"\n\nexport interface SpinnerProps extends React.SVGAttributes {\n size?: number\n color?: string\n}\n\nexport function SpinnerRing({ size = 24, className, ...props }: SpinnerProps) {\n return (\n \n \n \n )\n}\n\nexport function SpinnerDots({ size = 40, className, ...props }: SpinnerProps) {\n return (\n \n {[0, 1, 2].map((i) => (\n \n ))}\n \n \n )\n}\n\nexport function SpinnerPulse({ size = 32, className, ...props }: SpinnerProps) {\n return (\n \n \n \n )\n}\n\nexport function SpinnerBars({ size = 32, className }: SpinnerProps) {\n return (\n \n {[0, 1, 2, 3].map((i) => (\n \n ))}\n \n \n )\n}\n", "type": "registry:ui", "target": "components/pioneerui/spinner-variants.tsx" } ], "type": "registry:ui" }