Skip to content

Hamburger menu animation

At 48 px

Static alternative

Reduced-motion preference pauses autoplay. Use a static state in your app when motion is reduced.

Three menu bars turn into a two-stroke close icon.

One-shot transition. The preview loops it; your app controls when it runs.

Customize the menu to close

  1. Play the preview and compare the small-size and static examples below.
  2. Adjust top and bottom y-position and rotation keys together. Fade the middle bar before the diagonals overlap.
  3. Use the color controls to match your interface. Set Speed to retime every project keyframe together.
  4. Download the editable project or open it in the editor for shape and keyframe changes.

Connect playback to your menu state. Provide a real button with an accessible label and expanded state.

Keep your edits and choose an export

Download editable project saves your current colors and timing as a .motion backup, without an account. Reopen it in Lottieditor to continue editing. It is not a Lottie player file.

The editor requires sign-in for animation exports. Free accounts get five watermarked GIF exports per month. Pro provides unwatermarked Lottie, dotLottie, GIF, and browser-supported video exports. View editor plans.