Webspe Tools

JP EN

Hamburger Button Generator

Create custom hamburger menu buttons with this free online generator.
Adjust the button size, colors, line spacing, border, and transition while checking the result with a real-time preview.
HTML, CSS, and JavaScript code is generated automatically, so you can copy the code you need and use it directly in your website or web project.

Sponsored Links

Start with a template

(Your current settings will be reset.)

Customization

Button Design

▼ Size

px
px

px

px

Menu Icon Design

▼ Line Size

px
px

px

px

s

Type

Hover over a button to preview the animation.

Advanced Settings

Click the button to preview the open and closed states.

<button id="menuButton" type="button" class="menu-button" aria-labelledby="menuButtonLabel">
  <span class="menu-button__line">
    <span id="menuButtonLabel" style="display: none">Menu Button</span>
  </span>
</button>

Notes

  • This tool is intended for modern browsers. Some generated CSS may not work in older browsers.
  • This site uses modern-normalize.css. The preview may look slightly different depending on the reset CSS or other styles used in your project.

\ Share on social media /

Sponsored Links

Related Tools