barcode icon
barcode from Font Awesome 6 Solid by Dave Gandy · Regular · Code · CC-BY-4.0 Attribution required.
- Name
- barcode
- Set
- Font Awesome 6 Solid
- Style
- Regular
- Category
- Code
- Viewbox
- 512×512
- License
- CC BY 4.0
The same icon in other sets
barcodeBoxIcons v2barcodeBoxIcons v2 SolidbarcodeCarbonbarcodeFramework7 IconsbarcodeHuge IconsbarcodeIconoirbarcodeIonIconsbarcodeLine AwesomebarcodeLucidebarcodeMaterial SymbolsbarcodeMaterial Design Iconsbarcode-fillMingCute IconbarcodeOpenMojibarcodePhosphorbarcodePixelarticonsbarcode-fillRemix Iconbarcode-boldSolarbarcodeTabler Iconsbarcode-outlineTeenyicons
More code icons from Font Awesome 6 Solid
Use the barcode icon
SVG
<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 512 512"><path fill="currentColor" d="M24 32C10.7 32 0 42.7 0 56v400c0 13.3 10.7 24 24 24h16c13.3 0 24-10.7 24-24V56c0-13.3-10.7-24-24-24zm88 0c-8.8 0-16 7.2-16 16v416c0 8.8 7.2 16 16 16s16-7.2 16-16V48c0-8.8-7.2-16-16-16m72 0c-13.3 0-24 10.7-24 24v400c0 13.3 10.7 24 24 24h16c13.3 0 24-10.7 24-24V56c0-13.3-10.7-24-24-24zm96 0c-13.3 0-24 10.7-24 24v400c0 13.3 10.7 24 24 24h16c13.3 0 24-10.7 24-24V56c0-13.3-10.7-24-24-24zm168 24v400c0 13.3 10.7 24 24 24h16c13.3 0 24-10.7 24-24V56c0-13.3-10.7-24-24-24h-16c-13.3 0-24 10.7-24 24m-64-8v416c0 8.8 7.2 16 16 16s16-7.2 16-16V48c0-8.8-7.2-16-16-16s-16 7.2-16 16"/></svg>
React
import type { SVGProps } from "react";
export function Fa6SolidBarcode(props: SVGProps<SVGSVGElement>) {
return (
<svg {...props} xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 512 512"><path fill="currentColor" d="M24 32C10.7 32 0 42.7 0 56v400c0 13.3 10.7 24 24 24h16c13.3 0 24-10.7 24-24V56c0-13.3-10.7-24-24-24zm88 0c-8.8 0-16 7.2-16 16v416c0 8.8 7.2 16 16 16s16-7.2 16-16V48c0-8.8-7.2-16-16-16m72 0c-13.3 0-24 10.7-24 24v400c0 13.3 10.7 24 24 24h16c13.3 0 24-10.7 24-24V56c0-13.3-10.7-24-24-24zm96 0c-13.3 0-24 10.7-24 24v400c0 13.3 10.7 24 24 24h16c13.3 0 24-10.7 24-24V56c0-13.3-10.7-24-24-24zm168 24v400c0 13.3 10.7 24 24 24h16c13.3 0 24-10.7 24-24V56c0-13.3-10.7-24-24-24h-16c-13.3 0-24 10.7-24 24m-64-8v416c0 8.8 7.2 16 16 16s16-7.2 16-16V48c0-8.8-7.2-16-16-16s-16 7.2-16 16"/></svg>
);
}
Vue
<template> <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 512 512"><path fill="currentColor" d="M24 32C10.7 32 0 42.7 0 56v400c0 13.3 10.7 24 24 24h16c13.3 0 24-10.7 24-24V56c0-13.3-10.7-24-24-24zm88 0c-8.8 0-16 7.2-16 16v416c0 8.8 7.2 16 16 16s16-7.2 16-16V48c0-8.8-7.2-16-16-16m72 0c-13.3 0-24 10.7-24 24v400c0 13.3 10.7 24 24 24h16c13.3 0 24-10.7 24-24V56c0-13.3-10.7-24-24-24zm96 0c-13.3 0-24 10.7-24 24v400c0 13.3 10.7 24 24 24h16c13.3 0 24-10.7 24-24V56c0-13.3-10.7-24-24-24zm168 24v400c0 13.3 10.7 24 24 24h16c13.3 0 24-10.7 24-24V56c0-13.3-10.7-24-24-24h-16c-13.3 0-24 10.7-24 24m-64-8v416c0 8.8 7.2 16 16 16s16-7.2 16-16V48c0-8.8-7.2-16-16-16s-16 7.2-16 16"/></svg> </template>
CSS
.icon-barcode {
width: 24px;
height: 24px;
background-color: currentColor;
-webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%221em%22%20height%3D%221em%22%20viewBox%3D%220%200%20512%20512%22%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M24%2032C10.7%2032%200%2042.7%200%2056v400c0%2013.3%2010.7%2024%2024%2024h16c13.3%200%2024-10.7%2024-24V56c0-13.3-10.7-24-24-24zm88%200c-8.8%200-16%207.2-16%2016v416c0%208.8%207.2%2016%2016%2016s16-7.2%2016-16V48c0-8.8-7.2-16-16-16m72%200c-13.3%200-24%2010.7-24%2024v400c0%2013.3%2010.7%2024%2024%2024h16c13.3%200%2024-10.7%2024-24V56c0-13.3-10.7-24-24-24zm96%200c-13.3%200-24%2010.7-24%2024v400c0%2013.3%2010.7%2024%2024%2024h16c13.3%200%2024-10.7%2024-24V56c0-13.3-10.7-24-24-24zm168%2024v400c0%2013.3%2010.7%2024%2024%2024h16c13.3%200%2024-10.7%2024-24V56c0-13.3-10.7-24-24-24h-16c-13.3%200-24%2010.7-24%2024m-64-8v416c0%208.8%207.2%2016%2016%2016s16-7.2%2016-16V48c0-8.8-7.2-16-16-16s-16%207.2-16%2016%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain;
mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%221em%22%20height%3D%221em%22%20viewBox%3D%220%200%20512%20512%22%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M24%2032C10.7%2032%200%2042.7%200%2056v400c0%2013.3%2010.7%2024%2024%2024h16c13.3%200%2024-10.7%2024-24V56c0-13.3-10.7-24-24-24zm88%200c-8.8%200-16%207.2-16%2016v416c0%208.8%207.2%2016%2016%2016s16-7.2%2016-16V48c0-8.8-7.2-16-16-16m72%200c-13.3%200-24%2010.7-24%2024v400c0%2013.3%2010.7%2024%2024%2024h16c13.3%200%2024-10.7%2024-24V56c0-13.3-10.7-24-24-24zm96%200c-13.3%200-24%2010.7-24%2024v400c0%2013.3%2010.7%2024%2024%2024h16c13.3%200%2024-10.7%2024-24V56c0-13.3-10.7-24-24-24zm168%2024v400c0%2013.3%2010.7%2024%2024%2024h16c13.3%200%2024-10.7%2024-24V56c0-13.3-10.7-24-24-24h-16c-13.3%200-24%2010.7-24%2024m-64-8v416c0%208.8%207.2%2016%2016%2016s16-7.2%2016-16V48c0-8.8-7.2-16-16-16s-16%207.2-16%2016%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain;
}Direct links: SVG · download · JSON · https://iconsdb.app/api/v1/icon/fa6-solid/barcode.svg?color=%231a73e8&size=48