Bar Code 02 icon
hugeicons:bar-code-02
The Bar Code 02 icon (hugeicons:bar-code-02) is a free SVG icon from the Huge Icons set by Hugeicons. It is drawn on a 24 × 24 grid. Huge 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
- Huge Icons
- Author
- Hugeicons
- License
- MIT
- Size
- 24 × 24
- Tags
- barcode
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M2 4v16M5 4v16M15 4v16m-7-2V6c0-.943 0-1.414.293-1.707S9.057 4 10 4s1.414 0 1.707.293S12 5.057 12 6v12c0 .943 0 1.414-.293 1.707S10.943 20 10 20s-1.414 0-1.707-.293S8 18.943 8 18m10 0V6c0-.943 0-1.414.293-1.707S19.057 4 20 4s1.414 0 1.707.293S22 5.057 22 6v12c0 .943 0 1.414-.293 1.707S20.943 20 20 20s-1.414 0-1.707-.293S18 18.943 18 18"/></svg>How to use the Bar Code 02 icon
React
import { Icon } from "@iconify/react";
<Icon icon="hugeicons:bar-code-02" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="hugeicons:bar-code-02" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="hugeicons:bar-code-02" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[hugeicons--bar-code-02]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/hugeicons -->
<div class="i-hugeicons:bar-code-02"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="hugeicons:bar-code-02"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/hugeicons/bar-code-02.svg" alt="Bar Code 02 icon" width="24" height="24">Related icons in Huge Icons
Bar Code 02 icon FAQ
Is the Bar Code 02 icon free for commercial use?
Yes. Huge Icons are released under the MIT license, which allows use in personal and commercial projects.
How do I use the Bar Code 02 icon in React?
Install @iconify/react and render <Icon icon="hugeicons:bar-code-02" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Bar Code 02 icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/hugeicons/bar-code-02.svg" alt="Bar Code 02 icon">, or paste the SVG code inline to style it with CSS.