Avijit Dey

Git Branch Icon

Component

About

An animated git-branch icon that pops its endpoints and draws its connecting line on hover, for use in toolbars, buttons, and version-control UI.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Git Branch Icon to your project and fits it to your theme.

Code

How Git Branch Icon is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

import { GitBranchIcon } from "@/components/ui/hu-git-branch";

export default function GitBranchIconDemo() {
  return (
    <div className="flex items-center justify-center w-full h-full min-h-[200px]">
      <GitBranchIcon size={48} />
    </div>
  );
}

Dependencies

More by Avijit Dey

View all
  • VK Square Icon

    VK Square Icon

  • Bell Off Icon

    Bell Off Icon

  • Filter Icon

    Filter Icon

  • Shield User Icon

    Shield User Icon

  • Analytics Down Icon

    Analytics Down Icon

  • Coffee Beans Icon

    Coffee Beans Icon

  • Copy Icon

    Copy Icon

  • Location Icon

    Location Icon

Explore more

Part of AnimateIcons / Lucide — browse the full library on 21st.dev.