Skip to content
tablericons
Category
general
Styles
Outline
Component
IconBarcode

general

Barcode icon

Download the Barcode icon as free SVG or PNG. Customize its outline stroke. Copy React, Vue or Svelte code.

  • scan
  • scanner
  • product
  • upc
  • ean
  • code
  • price
  • shop
  • inventory
Size
Stroke
Color
Download SVG

Press C to copy SVG, J for JSX, D to download.

Code

Copy it the way you use it

barcode.svg
<svg
  xmlns="http://www.w3.org/2000/svg"
  width="24"
  height="24"
  viewBox="0 0 24 24"
  fill="none"
  stroke="currentColor"
  stroke-width="2"
  stroke-linecap="round"
  stroke-linejoin="round"
 
>
  <path d="M4 7v-1a2 2 0 0 1 2 -2h2" />
  <path d="M4 17v1a2 2 0 0 0 2 2h2" />
  <path d="M16 4h2a2 2 0 0 1 2 2v1" />
  <path d="M16 20h2a2 2 0 0 0 2 -2v-1" />
  <path d="M5 11h1v2h-1l0 -2" />
  <path d="M10 11l0 2" />
  <path d="M14 11h1v2h-1l0 -2" />
  <path d="M19 11l0 2" />
</svg>

Use the Barcode icon

For a decorative icon beside text, add aria-hidden="true" to the SVG. For an icon-only control, put its accessible name on the button or link.

React example
import { IconBarcode } from '@tabler/icons-react';

<IconBarcode size={24} stroke={2} />
Read the React guide
Vue example
import { IconBarcode } from '@tabler/icons-vue';

<IconBarcode :size="24" :stroke="2" />
Read the Vue guide
Svelte 5 example
import { IconBarcode } from '@tabler/icons-svelte-runes';

<IconBarcode size={24} stroke={2} />
Read the Svelte guide

Compare variants and alternatives

Related

Related icons

See all 788 general icons