About
A small bouncing square loading indicator that squashes and stretches as it jumps, used to show a brief loading or processing state.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Elastic Square to your project and fits it to your theme.
Code
How Elastic Square is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import ElasticSquare from "@/components/ui/elastic-square";
export default function ElasticSquareDemo() {
return (
<div className="flex items-center justify-center w-full h-screen">
<ElasticSquare />
</div>
);
}








