Barcode icon

A hand-drawn barcode icon that animates on its own: an SVG on a 24px grid in thin, regular and bold strokes. Free to download and use in the apps you build (LumioUI License). It takes your text colour through currentColor.

Category
Commerce
Grid
24 × 24
Strokes
1.5 · 2 · 2.5
Name
barcode

Stroke weights and sizes

Barcode icon, thin · 1.5 stroke
Thin · 1.5
Barcode icon, regular · 2 stroke
Regular · 2
Barcode icon, bold · 2.5 stroke
Bold · 2.5
Barcode icon at 16px
16px
Barcode icon at 24px
24px
Barcode icon at 32px
32px
Barcode icon at 48px
48px

Use it in React Native

Paste the SVG into react-native-svg's SvgXml. The Icon component covers a curated set by name, and Animated Icons plays the motion natively.

TSX BarcodeIcon.tsx
import { SvgXml } from "react-native-svg";

const BarcodeIcon = `<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"><line stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" x1="4.4" y1="5.4" x2="4.4" y2="18.6"></line><line stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" x1="8.2" y1="5.4" x2="8.2" y2="14.6"></line><line stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" x1="12" y1="5.4" x2="12" y2="18.6"></line><line stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" x1="15.8" y1="5.4" x2="15.8" y2="14.6"></line><line stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" x1="19.6" y1="5.4" x2="19.6" y2="18.6"></line><circle stroke="none" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="currentColor" cx="8.2" cy="17.4" r="0.7"></circle><circle stroke="none" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="currentColor" cx="15.8" cy="17.4" r="0.7"></circle></svg>`;

<SvgXml xml={BarcodeIcon} width={24} height={24} color="#111" />

SVG code

The still glyph. The animated version, linked above, plays its motion on its own with SMIL, so it needs no script.

SVG barcode.svg
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"><line stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" x1="4.4" y1="5.4" x2="4.4" y2="18.6"></line><line stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" x1="8.2" y1="5.4" x2="8.2" y2="14.6"></line><line stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" x1="12" y1="5.4" x2="12" y2="18.6"></line><line stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" x1="15.8" y1="5.4" x2="15.8" y2="14.6"></line><line stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" x1="19.6" y1="5.4" x2="19.6" y2="18.6"></line><circle stroke="none" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="currentColor" cx="8.2" cy="17.4" r="0.7"></circle><circle stroke="none" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="currentColor" cx="15.8" cy="17.4" r="0.7"></circle></svg>

On the web, link it straight from the CDN:

HTML index.html
<img src="https://cdn.lumioui.com/iconset/static/barcode.svg" width="24" height="24" alt="Barcode" />

Related icons

All 152 commerce icons → · Browse all 3,072 icons