ICONYZ
English
Barcode icon from Griddy Icons

Barcode icon

griddy-icons:barcode

The Barcode icon (griddy-icons:barcode) is a free SVG icon from the Griddy Icons set by Zuzana Benova. It is drawn on a 24 × 24 grid. Griddy 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
Griddy Icons
Author
Zuzana Benova
License
MIT
Size
24 × 24
Download SVG

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="M3.5 4H2v16h1.5zM22 4h-1.5v16H22zM5 4h2v14.5H5zm4.5 0h-1v14.5h1zM11 4h2v14.5h-2zm8 0h-1v14.5h1zm-4.5 0h2v14.5h-2z" clip-rule="evenodd"/></svg>

How to use the Barcode icon

React

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

<Icon icon="griddy-icons:barcode" width="24" />

Vue

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

<template>
  <Icon icon="griddy-icons:barcode" width="24" />
</template>

Svelte

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

<Icon icon="griddy-icons:barcode" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[griddy-icons--barcode]"></span>

UnoCSS

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

Web component

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

<iconify-icon icon="griddy-icons:barcode"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/griddy-icons/barcode.svg" alt="Barcode icon" width="24" height="24">

Related icons in Griddy Icons

Barcode icon in other icon sets

Barcode icon FAQ

Is the Barcode icon free for commercial use?

Yes. Griddy Icons are released under the MIT license, which allows use in personal and commercial projects.

How do I use the Barcode icon in React?

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

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

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

Browse all Griddy Icons →