lucasmarkes

Branches

Component 5

About

An interactive isometric commit-graph figure where the commit under the pointer rises along with its ancestor history on the branch, used as an animated empty-state or illustration for git/version-control UIs.

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

Code

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

Usage.tsx

import Branches from "@/components/ui/branches";

export default function BranchesDemo() {
  return (
    <div className="flex min-h-[420px] w-full items-center justify-center bg-background p-8">
      <Branches className="w-full max-w-xl" aria-label="A commit graph on a board" />
    </div>
  );
}

More by lucasmarkes

View all
  • Hairline Riffle

    Hairline Riffle

    126
  • Hairline Terrain

    Hairline Terrain

    60
  • Padlock

    Padlock

    51
  • Hairline Terminal

    Hairline Terminal

    47
  • Isometric Elevator

    Isometric Elevator

    44
  • Hairline Slow

    Hairline Slow

    44
  • Hairline Turntable

    Hairline Turntable

    38
  • Hairline Sieve

    Hairline Sieve

    32