About
An animated pixel-style diamond loading spinner with sequentially fading segments that indicate a busy or loading state.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Diamond Loading Spinner to your project and fits it to your theme.
Code
How Diamond Loading Spinner is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import { Diamond } from "@/components/ui/diamond";
export default function DiamondDemo() {
return (
<div className="flex min-h-64 w-full items-center justify-center bg-background text-foreground">
<Diamond className="size-10" />
</div>
);
}








