hamburger

Animated React component — Hamburger / HamburgerIcon

Hover the hamburger icon above to see the default draw animation.

Import

Tree-shakable named import — only the icons you reference end up in your bundle.

import { Hamburger } from "lucide-motion";

Also exported as HamburgerIcon for the Lucide-suffix naming convention.

Quick start

Drop the component into your JSX. The default trigger plays the draw animation on hover.

import { Hamburger } from "lucide-motion";

<Hamburger size={32} />
Timing presets · hover to play
Snappy
duration={0.2} stagger={0}
Cinematic
duration={1.5} stagger={0.4}
Linear
easing="linear"
Spinner
trigger="mount" repeat={Infinity}
Tags
burgercheeseburgermeatbeefpattybunfast foodjunk foodtakeawaytakeoutsnackdishrestaurantlunchmealsavorysavourycookerycookinggrilledbarbecuebarbequebbqlettucetomatorelishpicklesonionsketchupmustardmayonnaise
Related icons

Raw node data

The icon's underlying SVG node tree — useful if you need to render or transform it yourself instead of using the component.

Show IconNode[]
[
  [
    "path",
    {
      "d": "M12 16H4a2 2 0 1 1 0-4h16a2 2 0 1 1 0 4h-4.25"
    }
  ],
  [
    "path",
    {
      "d": "M5 12a2 2 0 0 1-2-2 9 7 0 0 1 18 0 2 2 0 0 1-2 2"
    }
  ],
  [
    "path",
    {
      "d": "M5 16a2 2 0 0 0-2 2 3 3 0 0 0 3 3h12a3 3 0 0 0 3-3 2 2 0 0 0-2-2q0 0 0 0"
    }
  ],
  [
    "path",
    {
      "d": "m6.67 12 6.13 4.6a2 2 0 0 0 2.8-.4l3.15-4.2"
    }
  ]
]