Barcode icon
openmoji:barcode
The Barcode icon (openmoji:barcode) is a free SVG icon from the OpenMoji set. It is drawn on a 72 × 72 grid. OpenMoji icons are released under the CC BY-SA 4.0 license, which allows use in personal and commercial projects as long as you credit the author and share changes to the icons under the same license. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.
- Icon set
- OpenMoji
- Author
- OpenMoji
- License
- CC-BY-SA-4.0
- Size
- 72 × 72
- Category
- Extras Openmoji
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="72" height="72" viewBox="0 0 72 72"><path fill="#fff" d="M5 17h62v38H5z"/><g stroke="#000" stroke-linejoin="round" stroke-width="2"><path fill="none" d="M5 17h62v38H5z"/><path fill="none" stroke-linecap="round" d="M9 21v31m3-31v31m0-31v31m8-31v29m8-29v29"/><path stroke-linecap="round" d="M15 50V21h2v29zm8 0V21h2v29zm8 0V21h1v29z"/><path fill="none" stroke-linecap="round" d="M46 21v29m3-29v29m8-29v29"/><path stroke-linecap="round" d="M41 50V21h2v29zm11 0V21h2v29z"/><path fill="none" stroke-linecap="round" d="M60 21v31m3-31v31M35 21v31m3-31v31"/></g></svg>How to use the Barcode icon
React
import { Icon } from "@iconify/react";
<Icon icon="openmoji:barcode" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="openmoji:barcode" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="openmoji:barcode" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[openmoji--barcode]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/openmoji -->
<div class="i-openmoji:barcode"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="openmoji:barcode"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/openmoji/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. OpenMoji icons are released under the CC BY-SA 4.0 license, which allows use in personal and commercial projects as long as you credit the author and share changes to the icons under the same license.
How do I use the Barcode icon in React?
Install @iconify/react and render <Icon icon="openmoji: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/openmoji/barcode.svg" alt="Barcode icon">, or paste the SVG code inline to style it with CSS.