MCPcopy Create free account
hub / github.com/vercel/examples / Loader

Function Loader

apps/vibe-coding-platform/components/ai-elements/loader.tsx:85–95  ·  view source on GitHub ↗
({ className, size = 16, ...props }: LoaderProps)

Source from the content-addressed store, hash-verified

83}
84
85export const Loader = ({ className, size = 16, ...props }: LoaderProps) => (
86 <div
87 className={cn(
88 'inline-flex items-center justify-center animate-spin',
89 className
90 )}
91 {...props}
92 >
93 <LoaderIcon size={size} />
94 </div>
95)

Callers

nothing calls this directly

Calls 1

cnFunction · 0.90

Tested by

no test coverage detected