John KuehJohn Kueh

bars 3 icon

Heroicons · bars-3 · MIT

Download SVG

The Heroicons bars 3 icon depicts three horizontal lines, commonly used to represent a menu or navigation drawer in user interfaces.

Common uses

  • Mobile navigation menu toggle
  • Sidebar menu button
  • Hamburger menu icon

Use it in React

Install
npm i @heroicons/react
Import & render
import { Bars3Icon } from '@heroicons/react/24/outline';

<Bars3Icon className="size-6" />

Styles

Heroicons ships this icon in 4 styles — each its own import:

24/outline
<Bars3Icon className="size-6" />
24/solid
<Bars3Icon className="size-6" />
20/solid
<Bars3Icon className="size-6" />
16/solid
<Bars3Icon className="size-6" />

Details

Library
Heroicons (324 icons)
License
MIT
viewBox
0 0 24 24
Keywords
bars3hamburger iconmenu iconnavigation iconthree lines icon

FAQ

What is the bars 3 icon used for?
It's typically used to indicate a menu or navigation that can be opened or closed.
How do I use the bars 3 icon in React?
Import it using: import { Bars3Icon } from '@heroicons/react/24/outline'
What is the license for Heroicons?
Heroicons are released under the MIT license, allowing for free use.

Related icons

The same idea in other libraries, and near matches in Heroicons.

Looking for something else? Search Heroicons and 4 more libraries by description →

The search behind these pages runs as a Claude Code skill. What skills are and how I ship them →