Barcode icon
uiw:barcode
The Barcode icon (uiw:barcode) is a free SVG icon from the uiw icons set by liwen0526. It is drawn on a 20 × 20 grid. uiw 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.
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><path fill="currentColor" d="M8.438 2.5h.889v12.73h-.889zm-2.22 0H7.55v12.73H6.218zm-.888 0h.444v12.73H5.33zm-3.11 0h.445v12.73H2.22zm.889 0H4.44v12.73H3.11zm12.45 0h1.332v12.73H15.56zm-2.665 0h1.332v12.73h-1.332zm1.776 0h.445v12.73h-.445zm-1.776 13.638h4.885V17.5h-4.885zM0 2.5h1.332v15H0zm10.673 13.638h1.333V17.5h-1.333zM17.335 2.5h.444v12.73h-.444zm1.333 0H20v15h-1.332zm-7.106 0h.888v12.73h-.888zM2.22 16.138h1.332V17.5H2.221zm2.22 0h5.33V17.5H4.44zM10.23 2.5h.444v12.73h-.444z"/></svg>How to use the Barcode icon
React
import { Icon } from "@iconify/react";
<Icon icon="uiw:barcode" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="uiw:barcode" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="uiw:barcode" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[uiw--barcode]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/uiw -->
<div class="i-uiw:barcode"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="uiw:barcode"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/uiw/barcode.svg" alt="Barcode icon" width="24" height="24">Barcode icon in other icon sets
Barcode icon FAQ
Is the Barcode icon free for commercial use?
Yes. uiw 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="uiw: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/uiw/barcode.svg" alt="Barcode icon">, or paste the SVG code inline to style it with CSS.