About
Hero section and loading animation in one: a pixel figure disperses as you scroll into a design-tool headline with a Create Now button, which pulls the pixels back into a one-turn loader.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Loading Animation to your project and fits it to your theme.
Code
How Loading Animation is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import { LoadingAnimation } from "@/components/ui/loading-animation";
// Controls for the demo panel (literal values only).
export const settings = {
name: "Asha Iyer",
cta: "Create Now",
loadingLabel: "Setting up your desk",
size: 0.5,
spread: 1,
showReveal: true,
autoplay: true,
};
// Every prop falls back to its default, so the demo also renders before any control value arrives.
export default function Demo({
name = settings.name,
cta = settings.cta,
loadingLabel = settings.loadingLabel,
size = settings.size,
spread = settings.spread,
showReveal = settings.showReveal,
autoplay = settings.autoplay,
}: Partial<typeof settings>) {
return <LoadingAnimation name={name} cta={cta} loadingLabel={loadingLabel} size={size} spread={spread} showReveal={showReveal} autoplay={autoplay} />;
}









