Elliot Sutton

Menu Icon

Component 45

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
  • Glyph Background

    Glyph Background

    250
  • Notification List

    Notification List

    248
  • Topography Background

    Topography Background

    193
  • Scroll Progress

    Scroll Progress

    151
  • Cursor

    Cursor

    147
  • Pin List

    Pin List

    120
  • Avatar Group

    Avatar Group

    115
  • Bubble Background

    Bubble Background

    111