About
A small square that scales, rotates, and morphs into a circle in a continuous loop, used as a lightweight loading indicator.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Breathing Square to your project and fits it to your theme.
Code
How Breathing Square is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import BreathingSquare from "@/components/ui/breathing-square";
export default function BreathingSquareDemo() {
return (
<div className="w-full h-screen flex items-center justify-center bg-background">
<BreathingSquare />
</div>
);
}








