Avijit Dey

Coffee Beans Icon

Component

About

An animated coffee-beans icon that squishes each bean on hover, useful for cafe/menu UI buttons and nav links.

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

Code

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

Usage.tsx

import { CoffeeBeansIcon } from "@/components/ui/coffee-beans-icon";

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

Dependencies