ICONYZ
English
Horizontal Bar icon from Röntgen

Horizontal Bar icon

roentgen:horizontal-bar

The Horizontal Bar icon (roentgen:horizontal-bar) is a free SVG icon from the Röntgen set by Sergey Vartanov. It is drawn on a 24 × 24 grid. Röntgen icons are released under the CC BY 4.0 license, which allows use in personal and commercial projects as long as you credit the author. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.

Icon set
Röntgen
Author
Sergey Vartanov
License
CC-BY-4.0
Size
24 × 24
Tags
horizontalbar
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M3.5 2c-.277 0-.5.223-.5.5v11c0 .277.223.5.5.5h1c.277 0 .5-.223.5-.5V4h6v9.5c0 .277.223.5.5.5h1c.277 0 .5-.223.5-.5v-11c0-.277-.223-.5-.5-.5h-1c-.277 0-.5.223-.5.5V3H5v-.5c0-.277-.223-.5-.5-.5z"/></svg>

How to use the Horizontal Bar icon

React

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

<Icon icon="roentgen:horizontal-bar" width="24" />

Vue

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

<template>
  <Icon icon="roentgen:horizontal-bar" width="24" />
</template>

Svelte

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

<Icon icon="roentgen:horizontal-bar" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[roentgen--horizontal-bar]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/roentgen -->
<div class="i-roentgen:horizontal-bar"></div>

Web component

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

<iconify-icon icon="roentgen:horizontal-bar"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/roentgen/horizontal-bar.svg" alt="Horizontal Bar icon" width="24" height="24">

Related icons in Röntgen

Horizontal Bar icon in other icon sets

Horizontal Bar icon FAQ

Is the Horizontal Bar icon free for commercial use?

Yes. Röntgen icons are released under the CC BY 4.0 license, which allows use in personal and commercial projects as long as you credit the author.

How do I use the Horizontal Bar icon in React?

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

How do I add the Horizontal Bar icon to a web page?

Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/roentgen/horizontal-bar.svg" alt="Horizontal Bar icon">, or paste the SVG code inline to style it with CSS.

Browse all Röntgen icons →