About
A small SVG ring spinner that signals an operation is in progress, inheriting the surrounding text colour and respecting reduced-motion settings.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Loading Spinner to your project and fits it to your theme.
Code
How Loading Spinner is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import Spinner from "@/components/ui/core-spinner";
export default function SpinnerSizes() {
return (
<div className="flex flex-row items-center gap-4">
<Spinner size={12} />
<Spinner size={14} />
<Spinner size={20} />
<Spinner size={32} />
</div>
);
}
