{ "$schema": "https://ui.shadcn.com/schema/registry-item.json", "name": "spinner", "type": "registry:ui", "title": "Spinner", "files": [ { "path": "ui/spinner.tsrx", "type": "registry:ui", "target": "components/ui/spinner.tsrx", "content": "// Base UI base spinner — presentational, no headless primitive in any base.\n//\n// UNVERIFIED PROVENANCE: derived from this package's React Aria base rather than transcribed\n// from upstream's `bases/base-ui/ui/spinner.tsx`, which was not available at port time.\n// Diff the class strings against the upstream source before treating this as ported.\n//\n// Octane divergence (shadcn-icon-resolution): upstream's IconPlaceholder (the CLI-resolved iconLibrary axis) is\n// resolved at port time to the default library, lucide, via @octanejs/lucide. Other icon\n// libraries are a registry-emit concern.\n//\n// The props are a permissive record rather than HostProps<'svg'>: these are forwarded to a\n// lucide component, not applied to a host element, so the host SVG attribute types do not\n// describe them.\nimport { Loader2Icon } from '@octanejs/lucide';\n\nimport { cn } from '@/lib/utils';\n\nexport interface SpinnerProps extends Record {\n\tclassName?: string;\n}\n\nexport function Spinner({ className, ...props }: SpinnerProps) @{\n\t\n}\n" } ], "dependencies": [ "@octanejs/lucide@0.1.33" ], "registryDependencies": [ "@octane/utils" ] }