About
A small animated dot-matrix loading indicator whose active dots pulse in a sinusoidal wave pattern, with optional gradient color and glow bloom.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Prism Refraction Wave Loader to your project and fits it to your theme.
Code
How Prism Refraction Wave Loader is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import { PrismRefractionWaveLoader } from "@/components/ui/prism-refraction-wave-loader";
export default function PrismRefractionWaveLoaderDemo() {
return (
<div className="flex items-center justify-center w-full h-full min-h-[300px] bg-background text-foreground">
<PrismRefractionWaveLoader
dotSize={6}
gap={4}
speed={1.2}
gradient={{
from: "#3b82f6",
via: "#a855f7",
to: "#ec4899",
direction: "diagonal",
}}
bloom
/>
</div>
);
}








