About
A React spinner component used as a loading indicator during ongoing processes. Displays animated spinners to show loading states in applications.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Spinner to your project and fits it to your theme.
Code
How Spinner is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
"use client"
import { Spinner } from "@/components/ui/tailgrids-spinner"
export default function SpinnerPreview() {
return (
<div className="flex flex-wrap items-center gap-8">
<div className="flex flex-col items-center gap-2">
<Spinner type="default" />
<span className="text-xs text-muted-foreground">Default</span>
</div>
<div className="flex flex-col items-center gap-2">
<Spinner type="dotted" />
<span className="text-xs text-muted-foreground">Dotted</span>
</div>
<div className="flex flex-col items-center gap-2">
<Spinner type="dotted-round" />
<span className="text-xs text-muted-foreground">Dotted Round</span>
</div>
</div>
);
}
















