Bars icon
gravity-ui:bars
The Bars icon (gravity-ui:bars) is a free SVG icon from the Gravity UI Icons set by YANDEX LLC. It is drawn on a 24 × 24 grid. Gravity UI 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
- Gravity UI Icons
- Author
- YANDEX LLC
- 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="currentColor" fill-rule="evenodd" d="M1.25 3.25A.75.75 0 0 1 2 2.5h12A.75.75 0 0 1 14 4H2a.75.75 0 0 1-.75-.75m0 4.75A.75.75 0 0 1 2 7.25h12a.75.75 0 0 1 0 1.5H2A.75.75 0 0 1 1.25 8M2 12a.75.75 0 0 0 0 1.5h12a.75.75 0 0 0 0-1.5z" clip-rule="evenodd"/></svg>How to use the Bars icon
React
import { Icon } from "@iconify/react";
<Icon icon="gravity-ui:bars" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="gravity-ui:bars" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="gravity-ui:bars" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[gravity-ui--bars]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/gravity-ui -->
<div class="i-gravity-ui:bars"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="gravity-ui:bars"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/gravity-ui/bars.svg" alt="Bars icon" width="24" height="24">Related icons in Gravity UI Icons
bars-ascending-align-center
bars-ascending-align-left
bars-ascending-align-left-arrow-down
bars-ascending-align-left-arrow-up
bars-ascending-align-right
bars-descending-align-center
bars-descending-align-left
bars-descending-align-left-arrow-down
bars-descending-align-left-arrow-up
bars-descending-align-right
bars-play
bars-unaligned
Bars icon in other icon sets
Bars icon FAQ
Is the Bars icon free for commercial use?
Yes. Gravity UI Icons are released under the MIT 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="gravity-ui: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/gravity-ui/bars.svg" alt="Bars icon">, or paste the SVG code inline to style it with CSS.