About
A small diamond-shaped dot-matrix loading spinner animated with a sweeping radar beam effect, used to indicate loading or pending states.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Diamond Radar Sweep Loader to your project and fits it to your theme.
Code
How Diamond Radar Sweep Loader is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import { DiamondRadarSweepLoader } from "@/components/ui/diamond-radar-sweep-loader";
export default function DiamondRadarSweepLoaderDemo() {
return (
<div className="flex items-center justify-center w-full h-screen bg-background text-foreground">
<DiamondRadarSweepLoader
dotSize={6}
gap={4}
speed={1.2}
color="currentColor"
/>
</div>
);
}








