gentleface

Gentleface › Layout & interface › menu

menu icon

Menu: menu, navigation menu, hamburger menu, main menu. Drawn on the 16 px grid. Free SVG, PNG and code, MIT licensed.

Code line-round

SVG
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="currentColor" aria-hidden="true"><path d="M13.856 3.144C13.952 3.241 14 3.359 14 3.5C14 3.641 13.952 3.759 13.856 3.856C13.759 3.952 13.641 4 13.5 4L2.5 4C2.359 4 2.241 3.952 2.144 3.856C2.048 3.759 2 3.641 2 3.5C2 3.359 2.048 3.241 2.144 3.144C2.241 3.048 2.359 3 2.5 3L13.5 3C13.641 3 13.759 3.048 13.856 3.144ZM13.856 7.144C13.952 7.241 14 7.359 14 7.5C14 7.641 13.952 7.759 13.856 7.856C13.759 7.952 13.641 8 13.5 8L2.5 8C2.359 8 2.241 7.952 2.144 7.856C2.048 7.759 2 7.641 2 7.5C2 7.359 2.048 7.241 2.144 7.144C2.241 7.048 2.359 7 2.5 7L13.5 7C13.641 7 13.759 7.048 13.856 7.144ZM2.144 11.856C2.048 11.759 2 11.641 2 11.5C2 11.359 2.048 11.241 2.144 11.144C2.241 11.048 2.359 11 2.5 11L13.5 11C13.641 11 13.759 11.048 13.856 11.144C13.952 11.241 14 11.359 14 11.5C14 11.641 13.952 11.759 13.856 11.856C13.759 11.952 13.641 12 13.5 12L2.5 12C2.359 12 2.241 11.952 2.144 11.856Z"/></svg>
React
// Gentleface "menu" (line-round), MIT. https://gentleface.com/icons/menu
import type { SVGProps } from 'react';

export function MenuIcon(props: SVGProps<SVGSVGElement>) {
  return (
    <svg xmlns="http://www.w3.org/2000/svg" width={16} height={16} viewBox="0 0 16 16" fill="currentColor" aria-hidden="true" {...props}>
      <path d="M13.856 3.144C13.952 3.241 14 3.359 14 3.5C14 3.641 13.952 3.759 13.856 3.856C13.759 3.952 13.641 4 13.5 4L2.5 4C2.359 4 2.241 3.952 2.144 3.856C2.048 3.759 2 3.641 2 3.5C2 3.359 2.048 3.241 2.144 3.144C2.241 3.048 2.359 3 2.5 3L13.5 3C13.641 3 13.759 3.048 13.856 3.144ZM13.856 7.144C13.952 7.241 14 7.359 14 7.5C14 7.641 13.952 7.759 13.856 7.856C13.759 7.952 13.641 8 13.5 8L2.5 8C2.359 8 2.241 7.952 2.144 7.856C2.048 7.759 2 7.641 2 7.5C2 7.359 2.048 7.241 2.144 7.144C2.241 7.048 2.359 7 2.5 7L13.5 7C13.641 7 13.759 7.048 13.856 7.144ZM2.144 11.856C2.048 11.759 2 11.641 2 11.5C2 11.359 2.048 11.241 2.144 11.144C2.241 11.048 2.359 11 2.5 11L13.5 11C13.641 11 13.759 11.048 13.856 11.144C13.952 11.241 14 11.359 14 11.5C14 11.641 13.952 11.759 13.856 11.856C13.759 11.952 13.641 12 13.5 12L2.5 12C2.359 12 2.241 11.952 2.144 11.856Z" />
    </svg>
  );
}
Vue
Vue: see /icons/menu.md
Svelte
Svelte: see /icons/menu.md
HTML img
HTML img: see /icons/menu.md
CSS
CSS: see /icons/menu.md
Data URL
Data URL: see /icons/menu.md
Sprite
Sprite: see /icons/menu.md
SwiftUI
SwiftUI: see /icons/menu.md
Compose
Compose: see /icons/menu.md
Android XML
Android XML: see /icons/menu.md
Flutter
Flutter: see /icons/menu.md

Each SVG is 16 × 16 with fill="currentColor". Keep it at 16 px or an exact multiple (32, 48) on whole pixels: a fractional size or position blurs it. The snippets are decorative (aria-hidden). For an icon that carries meaning on its own, such as an icon-only button, label the button, or give the SVG role="img" and an aria-label. More in how to use.

Meaning

Use it for
menu, navigation menu, hamburger menu, main menu, nav menu
Alternatives
Don’t confuse with
  • list: a bulleted list has bullets; the menu is three equal bars
Also fits
  • sidebar: the hamburger navigation menu on narrow screens (menu)
Not for
  • rearrange (use reorder): three bars are the menu
  • burger (use burger): menu is the 'hamburger' icon
  • dropdown menu (use dropdown-menu): three bars open the navigation menu (menu), not a dropdown
  • drag handle (use grip-vertical): three bars open the navigation menu (menu); the iOS reorder control looks alike, so prefer the dot grip
  • align justify (use align-justify): equal bars without a text rhythm read as the navigation menu
  • list (use list): three bars without bullets are the navigation menu
Tags
hamburger, menu, navigation, bars
Category
Layout & interface
Component name
MenuIcon
History
  • added

More layout & interface icons

For agents

Metadata: /icons/menu.json · Markdown: /icons/menu.md · SVG: https://gentleface.com/svg/{style}/16/menu.svg · PNG: https://gentleface.com/png/{style}/{16|32|48}/menu.png

Feedback