Bars 3 icon
heroicons:bars-3
The Bars 3 icon (heroicons:bars-3) is a free SVG icon from the HeroIcons set by Refactoring UI Inc. It is drawn on a 24 × 24 grid. HeroIcons 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
- HeroIcons
- Author
- Refactoring UI Inc
- License
- MIT
- Size
- 24 × 24
- Tags
- bar
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M3.75 6.75h16.5M3.75 12h16.5m-16.5 5.25h16.5"/></svg>How to use the Bars 3 icon
React
import { Icon } from "@iconify/react";
<Icon icon="heroicons:bars-3" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="heroicons:bars-3" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="heroicons:bars-3" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[heroicons--bars-3]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/heroicons -->
<div class="i-heroicons:bars-3"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="heroicons:bars-3"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/heroicons/bars-3.svg" alt="Bars 3 icon" width="24" height="24">Related icons in HeroIcons
bars-2
bars-2-16-solid
bars-2-20-solid
bars-2-solid
bars-3-16-solid
bars-3-20-solid
bars-3-bottom-left
bars-3-bottom-left-16-solid
bars-3-bottom-left-20-solid
bars-3-bottom-left-solid
bars-3-bottom-right
bars-3-bottom-right-16-solid
bars-3-bottom-right-20-solid
bars-3-bottom-right-solid
bars-3-center-left
bars-3-center-left-16-solid
bars-3-center-left-20-solid
bars-3-center-left-solid
bars-3-solid
bars-4
bars-4-16-solid
bars-4-20-solid
bars-4-solid
bars-arrow-down
Bars 3 icon FAQ
Is the Bars 3 icon free for commercial use?
Yes. HeroIcons are released under the MIT license, which allows use in personal and commercial projects.
How do I use the Bars 3 icon in React?
Install @iconify/react and render <Icon icon="heroicons:bars-3" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Bars 3 icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/heroicons/bars-3.svg" alt="Bars 3 icon">, or paste the SVG code inline to style it with CSS.