Gentleface › Food & drink › burger
burger icon
burgerBurger: burger, fast food, cheeseburger. Drawn on the 16 px grid. Free SVG, PNG and code, MIT licensed.
Animated burger-stack · line-round
The top bun is lifted off, then the patty. The patty drops back onto the bottom bun, which gives under it, and the top bun drops on last and the whole stack squashes and springs back.
Native SVG animation, with no CSS or script. It loops by itself. Inline it to take the text color: in an <img> it draws black. To play it once on hover or click, run 0.2 s to 2.55 s. Examples and helper.
Code line-round
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="currentColor" aria-hidden="true"><path d="M2 6.5C2 5.8 2.14 5.167 2.419 4.6C2.697 4.033 3.105 3.553 3.642 3.159C4.166 2.775 4.797 2.485 5.536 2.29C6.268 2.097 7.089 2 8 2C8.911 2 9.732 2.097 10.464 2.29C11.203 2.485 11.834 2.775 12.358 3.159C12.895 3.553 13.303 4.033 13.581 4.6C13.86 5.167 14 5.8 14 6.5C14 6.641 13.952 6.759 13.856 6.856C13.759 6.952 13.641 7 13.5 7L2.5 7C2.359 7 2.241 6.952 2.144 6.856C2.048 6.759 2 6.641 2 6.5ZM10.208 3.257C9.56 3.086 8.824 3 8 3C7.176 3 6.44 3.086 5.792 3.257C5.175 3.42 4.655 3.656 4.233 3.966C3.542 4.473 3.141 5.151 3.031 6L12.969 6C12.859 5.151 12.458 4.473 11.767 3.966C11.345 3.656 10.825 3.42 10.208 3.257ZM1 8.5C1 8.359 1.048 8.241 1.144 8.144C1.241 8.048 1.359 8 1.5 8L14.5 8C14.641 8 14.759 8.048 14.856 8.144C14.952 8.241 15 8.359 15 8.5C15 8.641 14.952 8.759 14.856 8.856C14.759 8.952 14.641 9 14.5 9L1.5 9C1.359 9 1.241 8.952 1.144 8.856C1.048 8.759 1 8.641 1 8.5ZM13.268 13.268C13.024 13.512 12.741 13.697 12.42 13.824C12.125 13.941 11.818 14 11.5 14L4.5 14C4.182 14 3.875 13.941 3.58 13.824C3.259 13.697 2.976 13.512 2.732 13.268C2.488 13.024 2.303 12.741 2.176 12.42C2.059 12.125 2 11.818 2 11.5L2 10.5C2 10.359 2.048 10.241 2.144 10.144C2.241 10.048 2.359 10 2.5 10L13.5 10C13.641 10 13.759 10.048 13.856 10.144C13.952 10.241 14 10.359 14 10.5L14 11.5C14 11.818 13.941 12.125 13.824 12.42C13.697 12.741 13.512 13.024 13.268 13.268ZM3.105 12.052C3.182 12.245 3.293 12.414 3.439 12.561C3.586 12.707 3.755 12.818 3.948 12.895C4.125 12.965 4.309 13 4.5 13L11.5 13C11.691 13 11.875 12.965 12.052 12.895C12.245 12.818 12.414 12.707 12.561 12.561C12.707 12.414 12.818 12.245 12.895 12.052C12.965 11.875 13 11.691 13 11.5L13 11L3 11L3 11.5C3 11.691 3.035 11.875 3.105 12.052Z"/></svg>
// Gentleface "burger" (line-round), MIT. https://gentleface.com/icons/burger
import type { SVGProps } from 'react';
export function BurgerIcon(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="M2 6.5C2 5.8 2.14 5.167 2.419 4.6C2.697 4.033 3.105 3.553 3.642 3.159C4.166 2.775 4.797 2.485 5.536 2.29C6.268 2.097 7.089 2 8 2C8.911 2 9.732 2.097 10.464 2.29C11.203 2.485 11.834 2.775 12.358 3.159C12.895 3.553 13.303 4.033 13.581 4.6C13.86 5.167 14 5.8 14 6.5C14 6.641 13.952 6.759 13.856 6.856C13.759 6.952 13.641 7 13.5 7L2.5 7C2.359 7 2.241 6.952 2.144 6.856C2.048 6.759 2 6.641 2 6.5ZM10.208 3.257C9.56 3.086 8.824 3 8 3C7.176 3 6.44 3.086 5.792 3.257C5.175 3.42 4.655 3.656 4.233 3.966C3.542 4.473 3.141 5.151 3.031 6L12.969 6C12.859 5.151 12.458 4.473 11.767 3.966C11.345 3.656 10.825 3.42 10.208 3.257ZM1 8.5C1 8.359 1.048 8.241 1.144 8.144C1.241 8.048 1.359 8 1.5 8L14.5 8C14.641 8 14.759 8.048 14.856 8.144C14.952 8.241 15 8.359 15 8.5C15 8.641 14.952 8.759 14.856 8.856C14.759 8.952 14.641 9 14.5 9L1.5 9C1.359 9 1.241 8.952 1.144 8.856C1.048 8.759 1 8.641 1 8.5ZM13.268 13.268C13.024 13.512 12.741 13.697 12.42 13.824C12.125 13.941 11.818 14 11.5 14L4.5 14C4.182 14 3.875 13.941 3.58 13.824C3.259 13.697 2.976 13.512 2.732 13.268C2.488 13.024 2.303 12.741 2.176 12.42C2.059 12.125 2 11.818 2 11.5L2 10.5C2 10.359 2.048 10.241 2.144 10.144C2.241 10.048 2.359 10 2.5 10L13.5 10C13.641 10 13.759 10.048 13.856 10.144C13.952 10.241 14 10.359 14 10.5L14 11.5C14 11.818 13.941 12.125 13.824 12.42C13.697 12.741 13.512 13.024 13.268 13.268ZM3.105 12.052C3.182 12.245 3.293 12.414 3.439 12.561C3.586 12.707 3.755 12.818 3.948 12.895C4.125 12.965 4.309 13 4.5 13L11.5 13C11.691 13 11.875 12.965 12.052 12.895C12.245 12.818 12.414 12.707 12.561 12.561C12.707 12.414 12.818 12.245 12.895 12.052C12.965 11.875 13 11.691 13 11.5L13 11L3 11L3 11.5C3 11.691 3.035 11.875 3.105 12.052Z" />
</svg>
);
}Vue: see /icons/burger.md
Svelte: see /icons/burger.md
HTML img: see /icons/burger.md
CSS: see /icons/burger.md
Data URL: see /icons/burger.md
Sprite: see /icons/burger.md
SwiftUI: see /icons/burger.md
Compose: see /icons/burger.md
Android XML: see /icons/burger.md
Flutter: see /icons/burger.md
Each icon is drawn on the 16 px grid, and most also on the 20 and 24 px grids (at 24 in three weights: light 1 px, regular 1.5 px, bold 2 px). Show the drawing made for your size, or an exact multiple of it, on whole pixels: 16 for 16 and 32 px, 20 for 20 and 40, 24 for 24 and 48. A size in between or a fractional position blurs it. The code on each icon page is the 16 px drawing, an SVG with fill="currentColor"; the icon page's downloads follow its Grid switch, and npm has the 20 and 24 px drawings too. 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.
With npm: import { BurgerIcon } from '@gentleface/react'; (setup).
Meaning
- Use it for
- burger, fast food, cheeseburger
- Alternatives
pizza: pizza
- Don’t confuse with
menu: menu is the 'hamburger' icon
- Tags
- burger, hamburger, cheeseburger, fast-food, sandwich, takeaway, food
- Category
- Food & drink
- Component name
BurgerIcon- History
- added
- released in 0.1.0
- 20 px drawn, 24 px drawn
- Since
- version 0.1.0
More food & drink icons
amphora apple apron avocado banana barrel bean bean-off beef beef-off beer bottle bottle-off bowl bowl-chopsticks bread · all food & drink icons
For agents
Metadata: /icons/burger.json · Markdown: /icons/burger.md · SVG: https://gentleface.com/svg/{style}/16/burger.svg · PNG: https://gentleface.com/png/{style}/{16|32|48}/burger.png