About
An animated Git compare icon that pulses its two commit nodes on hover, used for version-control UIs like diff views or branch comparison buttons.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Git Compare Icon to your project and fits it to your theme.
Code
How Git Compare Icon is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import { GitCompareIcon } from "@/components/ui/lu-git-compare";
export default function GitCompareIconDemo() {
return (
<div className="flex items-center justify-center w-full h-screen">
<GitCompareIcon size={64} duration={1} />
</div>
);
}







