Hamburger icon
andrsrxn:hamburger
The Hamburger icon (andrsrxn:hamburger) is a free SVG icon from the andrsrxn/icons set by Andrés Raxón. It is drawn on a 24 × 24 grid. andrsrxn/icons 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
- andrsrxn/icons
- Author
- Andrés Raxón
- License
- MIT
- Size
- 24 × 24
- Category
- Food
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><g fill="none"><path fill="currentColor" d="M20.68 8.02c.64 1.33.96 2 .38 2.93c-.6.94-1.56.94-3.5.94H6.44c-1.93 0-2.9 0-3.49-.94c-.58-.94-.26-1.6.38-2.93A9.6 9.6 0 0 1 12 2.67a9.6 9.6 0 0 1 8.68 5.35" opacity=".2"/><path fill="currentColor" d="M8.1 11.9h5.63c2.67 0 4.87-.3 4.87-.3a17 17 0 0 1-3.82 5.3s-3.6-2.33-6.69-5" opacity=".2"/><path fill="currentColor" d="M20.43 20.35v-3.9l-4.02-.11l-1.7-.18l-2.72.3H3.54v3.9z" opacity=".2"/><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M20.68 8.02c.64 1.33.96 2 .38 2.93c-.6.94-1.56.94-3.5.94H6.44c-1.93 0-2.9 0-3.49-.94c-.58-.94-.26-1.6.38-2.93A9.6 9.6 0 0 1 12 2.67a9.6 9.6 0 0 1 8.68 5.35M9.46 11.89H3.77a2 2 0 0 0-1.98 1.98v.06a2 2 0 0 0 1.98 1.99h8.83m4.86-4.03h2.77a2 2 0 0 1 1.98 1.98v.06a2 2 0 0 1-1.98 1.99h-4.05m-13.15.33c0 1.56 0 2.34.28 2.95a3 3 0 0 0 1.45 1.44c.6.28 1.38.28 2.94.28h8.6c1.56 0 2.34 0 2.94-.28a3 3 0 0 0 1.45-1.45c.28-.6.28-1.38.28-2.94"/><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="m8.2 11.89l2 1.87c1.82 1.7 2.73 2.55 3.66 2.68a3 3 0 0 0 2.15-.5c.77-.55 1.2-1.72 2.06-4.05M12.6 6.18L12 8.3m4.53-.6l-.04 1.03M7.54 7.7l.6 1.06"/></g></svg>How to use the Hamburger icon
React
import { Icon } from "@iconify/react";
<Icon icon="andrsrxn:hamburger" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="andrsrxn:hamburger" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="andrsrxn:hamburger" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[andrsrxn--hamburger]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/andrsrxn -->
<div class="i-andrsrxn:hamburger"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="andrsrxn:hamburger"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/andrsrxn/hamburger.svg" alt="Hamburger icon" width="24" height="24">Hamburger icon in other icon sets
Hamburger icon FAQ
Is the Hamburger icon free for commercial use?
Yes. andrsrxn/icons are released under the MIT license, which allows use in personal and commercial projects.
How do I use the Hamburger icon in React?
Install @iconify/react and render <Icon icon="andrsrxn:hamburger" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Hamburger icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/andrsrxn/hamburger.svg" alt="Hamburger icon">, or paste the SVG code inline to style it with CSS.