Skip to content
Cuelark UI

Hover the icon or press Play. Suggested motion: grow. Pick another to preview it and update the animated code:

Circum Icons · CiBarcode

Barcode icon

A free barcode icon from Circum Icons, ready for React. Use it static or animated: both versions are below, copy-paste or one shadcn command away. Sized in em and colored by currentColor.

License
MPL-2.0 license
Project
circumicons.com
Install with shadcn
npx shadcn@latest add https://ui.cuelark.com/r/icons/circum/barcode.json
components/icons/circum-barcode.tsx
import * as React from "react";

/**
 * Barcode from Circum Icons (https://circumicons.com/), MPL-2.0 license.
 * Via Cuelark UI: ui.cuelark.com/icons/circum/barcode. Sized in em, colored by currentColor.
 */
export function CiBarcodeIcon(props: React.SVGProps<SVGSVGElement>) {
  return (
    <svg
      aria-hidden="true"
      viewBox="0 0 24 24"
      stroke="currentColor"
      fill="currentColor"
      strokeWidth="0"
      width="1em"
      height="1em"
      xmlns="http://www.w3.org/2000/svg"
      {...props}
    >
      <g id="Barcode">
        <g>
          <path
            d="M8.066,4.065H3.648a1.732,1.732,0,0,0-.963.189A1.368,1.368,0,0,0,2.066,5.48v4.585a.5.5,0,0,0,1,0V5.785a1.794,1.794,0,0,1,.014-.518c.077-.236.319-.2.514-.2H8.066a.5.5,0,0,0,0-1Z"
          />
          <path
            d="M2.063,13.937v4.418a1.733,1.733,0,0,0,.189.963,1.369,1.369,0,0,0,1.227.619H8.063a.5.5,0,0,0,0-1H3.783a1.831,1.831,0,0,1-.518-.014c-.236-.077-.2-.319-.2-.514V13.937a.5.5,0,0,0-1,0Z"
          />
          <path
            d="M15.934,19.935h4.418a1.732,1.732,0,0,0,.963-.189,1.368,1.368,0,0,0,.619-1.226V13.935a.5.5,0,0,0-1,0v4.28a1.794,1.794,0,0,1-.014.518c-.077.236-.319.2-.514.2H15.934a.5.5,0,0,0,0,1Z"
          />
          <path
            d="M21.937,10.063V5.645a1.733,1.733,0,0,0-.189-.963,1.369,1.369,0,0,0-1.227-.619H15.937a.5.5,0,0,0,0,1h4.28a1.831,1.831,0,0,1,.518.014c.236.077.2.319.2.514v4.472a.5.5,0,0,0,1,0Z"
          />
          <g>
            <rect x="10.999" y="7.643" width="1" height="8.709" rx="0.5" />
            <rect x="14.249" y="7.643" width="1" height="8.709" rx="0.5" />
            <rect x="16.499" y="7.643" width="1" height="8.709" rx="0.5" />
            <rect x="6.499" y="7.643" width="1" height="8.709" rx="0.5" />
            <rect x="8.499" y="7.643" width="1.5" height="8.709" rx="0.75" />
          </g>
        </g>
      </g>
    </svg>
  );
}
With react-icons
import { CiBarcode } from "react-icons/ci";

export function Example() {
  return <CiBarcode className="size-5" />;
}
barcode.svg
<svg
  viewBox="0 0 24 24"
  stroke="currentColor"
  fill="currentColor"
  stroke-width="0"
  width="1em"
  height="1em"
  xmlns="http://www.w3.org/2000/svg"
>
  <g id="Barcode">
    <g>
      <path
        d="M8.066,4.065H3.648a1.732,1.732,0,0,0-.963.189A1.368,1.368,0,0,0,2.066,5.48v4.585a.5.5,0,0,0,1,0V5.785a1.794,1.794,0,0,1,.014-.518c.077-.236.319-.2.514-.2H8.066a.5.5,0,0,0,0-1Z"
      />
      <path
        d="M2.063,13.937v4.418a1.733,1.733,0,0,0,.189.963,1.369,1.369,0,0,0,1.227.619H8.063a.5.5,0,0,0,0-1H3.783a1.831,1.831,0,0,1-.518-.014c-.236-.077-.2-.319-.2-.514V13.937a.5.5,0,0,0-1,0Z"
      />
      <path
        d="M15.934,19.935h4.418a1.732,1.732,0,0,0,.963-.189,1.368,1.368,0,0,0,.619-1.226V13.935a.5.5,0,0,0-1,0v4.28a1.794,1.794,0,0,1-.014.518c-.077.236-.319.2-.514.2H15.934a.5.5,0,0,0,0,1Z"
      />
      <path
        d="M21.937,10.063V5.645a1.733,1.733,0,0,0-.189-.963,1.369,1.369,0,0,0-1.227-.619H15.937a.5.5,0,0,0,0,1h4.28a1.831,1.831,0,0,1,.518.014c.236.077.2.319.2.514v4.472a.5.5,0,0,0,1,0Z"
      />
      <g>
        <rect x="10.999" y="7.643" width="1" height="8.709" rx="0.5" />
        <rect x="14.249" y="7.643" width="1" height="8.709" rx="0.5" />
        <rect x="16.499" y="7.643" width="1" height="8.709" rx="0.5" />
        <rect x="6.499" y="7.643" width="1" height="8.709" rx="0.5" />
        <rect x="8.499" y="7.643" width="1.5" height="8.709" rx="0.75" />
      </g>
    </g>
  </g>
</svg>
Attribution
"Barcode" icon from Circum Icons (https://circumicons.com/), licensed under MPL-2.0 license.

Barcode icon in other sets