Burger icon
majesticons:burger
The Burger icon (majesticons:burger) is a free SVG icon from the Majesticons set by Gerrit Halfmann. It is drawn on a 24 × 24 grid. Majesticons are released under the MIT license, which allows use in personal and commercial projects. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.
- Icon set
- Majesticons
- Author
- Gerrit Halfmann
- License
- MIT
- Size
- 24 × 24
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><g fill="none"><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="m14 15l3.172-3.172a2.83 2.83 0 0 1 2-.828H20a2 2 0 0 1 2 2v0a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2v0a2 2 0 0 1 2-2h3.657c1.5 0 2.939.596 4 1.657z"/><path fill="currentColor" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M3 15h18v2a3 3 0 0 1-3 3H6a3 3 0 0 1-3-3z"/><path fill="currentColor" fill-rule="evenodd" d="M5.467 4.554C7.27 3.457 9.58 3 12 3s4.73.457 6.533 1.554c1.844 1.121 3.109 2.886 3.402 5.328C22.082 11.106 21.067 12 20 12H4c-1.067 0-2.082-.894-1.935-2.118c.293-2.442 1.558-4.207 3.402-5.328M7 6a1 1 0 0 0 0 2h.001a1 1 0 0 0 0-2zm8 1a1 1 0 0 1 1-1h.001a1 1 0 1 1 0 2H16a1 1 0 0 1-1-1m-4 1a1 1 0 1 0 0 2h.001a1 1 0 1 0 0-2z" clip-rule="evenodd"/></g></svg>How to use the Burger icon
React
import { Icon } from "@iconify/react";
<Icon icon="majesticons:burger" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="majesticons:burger" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="majesticons:burger" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[majesticons--burger]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/majesticons -->
<div class="i-majesticons:burger"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="majesticons:burger"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/majesticons/burger.svg" alt="Burger icon" width="24" height="24">Related icons in Majesticons
Burger icon in other icon sets
Burger icon FAQ
Is the Burger icon free for commercial use?
Yes. Majesticons are released under the MIT license, which allows use in personal and commercial projects.
How do I use the Burger icon in React?
Install @iconify/react and render <Icon icon="majesticons:burger" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Burger icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/majesticons/burger.svg" alt="Burger icon">, or paste the SVG code inline to style it with CSS.