About
A small rotating diamond loading indicator that spins through 90-degree turns with a springy bounce, used as a lightweight loading/spinner element.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Diamond Rotate Spring to your project and fits it to your theme.
Code
How Diamond Rotate Spring is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import DiamondRotateSpring from "@/components/ui/diamond-rotate-spring";
export default function DiamondRotateSpringDemo() {
return (
<div className="flex items-center justify-center w-full h-screen bg-background">
<DiamondRotateSpring />
</div>
);
}








