Elliot Sutton

Menu Icon

Component 32

About

Animated hamburger menu icon that morphs its three lines into a close (X) shape on interaction.

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

Code

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

Usage.tsx

import { MenuIcon } from '@/components/ui/icons-menu';

export default function MenuIconDemo() {
  return (
    <div className="flex min-h-52 items-center justify-center">
      <MenuIcon size={40} className="cursor-pointer" animateOnHover />
    </div>
  );
}

Dependencies

More by Elliot Sutton

View all
  • Notification List

    Notification List

    210
  • Scroll Progress

    Scroll Progress

    136
  • Cursor

    Cursor

    126
  • Pin List

    Pin List

    108
  • Radix Dropdown Menu

    Radix Dropdown Menu

    100
  • Flip Button

    Flip Button

    96
  • Bubble Background

    Bubble Background

    91
  • Avatar Group

    Avatar Group

    82