ICONYZ
English
Bars icon from Font Awesome 4

Bars icon

fa:bars

The Bars icon (fa:bars) is a free SVG icon from the Font Awesome 4 set by Dave Gandy. It is drawn on a 1536 × 1280 grid. Font Awesome 4 icons are released under the Open Font 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
Font Awesome 4
Author
Dave Gandy
License
OFL-1.1
Size
1536 × 1280
Tags
bar, reorder, navicon
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="1536" height="1280" viewBox="0 0 1536 1280"><path fill="currentColor" d="M1536 1088v128q0 26-19 45t-45 19H64q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1408q26 0 45 19t19 45m0-512v128q0 26-19 45t-45 19H64q-26 0-45-19T0 704V576q0-26 19-45t45-19h1408q26 0 45 19t19 45m0-512v128q0 26-19 45t-45 19H64q-26 0-45-19T0 192V64q0-26 19-45T64 0h1408q26 0 45 19t19 45"/></svg>

How to use the Bars icon

React

import { Icon } from "@iconify/react";

<Icon icon="fa:bars" width="24" />

Vue

<script setup>
import { Icon } from "@iconify/vue";
</script>

<template>
  <Icon icon="fa:bars" width="24" />
</template>

Svelte

<script>
  import Icon from "@iconify/svelte";
</script>

<Icon icon="fa:bars" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[fa--bars]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/fa -->
<div class="i-fa:bars"></div>

Web component

<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>

<iconify-icon icon="fa:bars"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/fa/bars.svg" alt="Bars icon" width="24" height="24">

Bars icon in other icon sets

Bars icon FAQ

Is the Bars icon free for commercial use?

Yes. Font Awesome 4 icons are released under the Open Font License, which allows use in personal and commercial projects.

How do I use the Bars icon in React?

Install @iconify/react and render <Icon icon="fa:bars" />, or use “Copy code” on this page to get a standalone React component.

How do I add the Bars icon to a web page?

Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/fa/bars.svg" alt="Bars icon">, or paste the SVG code inline to style it with CSS.

Browse all Font Awesome 4 icons →