qr code icon

qr-code from IonIcons by Ben Sperry · Regular · MIT Free for personal and commercial use.

Name
qr-code
Set
IonIcons
Style
Regular
Viewbox
512×512
License
MIT

2 other variants in IonIcons

The same icon in other sets

Related icons in IonIcons

Use the qr code icon

SVG

<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 512 512"><rect width="80" height="80" x="336" y="336" fill="currentColor" rx="8" ry="8"/><rect width="64" height="64" x="272" y="272" fill="currentColor" rx="8" ry="8"/><rect width="64" height="64" x="416" y="416" fill="currentColor" rx="8" ry="8"/><rect width="48" height="48" x="432" y="272" fill="currentColor" rx="8" ry="8"/><rect width="48" height="48" x="272" y="432" fill="currentColor" rx="8" ry="8"/><path fill="currentColor" d="M448 32H304a32 32 0 0 0-32 32v144a32 32 0 0 0 32 32h144a32 32 0 0 0 32-32V64a32 32 0 0 0-32-32m-32 136a8 8 0 0 1-8 8h-64a8 8 0 0 1-8-8v-64a8 8 0 0 1 8-8h64a8 8 0 0 1 8 8ZM208 32H64a32 32 0 0 0-32 32v144a32 32 0 0 0 32 32h144a32 32 0 0 0 32-32V64a32 32 0 0 0-32-32m-32 136a8 8 0 0 1-8 8h-64a8 8 0 0 1-8-8v-64a8 8 0 0 1 8-8h64a8 8 0 0 1 8 8Zm32 104H64a32 32 0 0 0-32 32v144a32 32 0 0 0 32 32h144a32 32 0 0 0 32-32V304a32 32 0 0 0-32-32m-32 136a8 8 0 0 1-8 8h-64a8 8 0 0 1-8-8v-64a8 8 0 0 1 8-8h64a8 8 0 0 1 8 8Z"/></svg>

React

import type { SVGProps } from "react";

export function IonQrCode(props: SVGProps<SVGSVGElement>) {
  return (
    <svg {...props} xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 512 512"><rect width="80" height="80" x="336" y="336" fill="currentColor" rx="8" ry="8"/><rect width="64" height="64" x="272" y="272" fill="currentColor" rx="8" ry="8"/><rect width="64" height="64" x="416" y="416" fill="currentColor" rx="8" ry="8"/><rect width="48" height="48" x="432" y="272" fill="currentColor" rx="8" ry="8"/><rect width="48" height="48" x="272" y="432" fill="currentColor" rx="8" ry="8"/><path fill="currentColor" d="M448 32H304a32 32 0 0 0-32 32v144a32 32 0 0 0 32 32h144a32 32 0 0 0 32-32V64a32 32 0 0 0-32-32m-32 136a8 8 0 0 1-8 8h-64a8 8 0 0 1-8-8v-64a8 8 0 0 1 8-8h64a8 8 0 0 1 8 8ZM208 32H64a32 32 0 0 0-32 32v144a32 32 0 0 0 32 32h144a32 32 0 0 0 32-32V64a32 32 0 0 0-32-32m-32 136a8 8 0 0 1-8 8h-64a8 8 0 0 1-8-8v-64a8 8 0 0 1 8-8h64a8 8 0 0 1 8 8Zm32 104H64a32 32 0 0 0-32 32v144a32 32 0 0 0 32 32h144a32 32 0 0 0 32-32V304a32 32 0 0 0-32-32m-32 136a8 8 0 0 1-8 8h-64a8 8 0 0 1-8-8v-64a8 8 0 0 1 8-8h64a8 8 0 0 1 8 8Z"/></svg>
  );
}

Vue

<template>
  <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 512 512"><rect width="80" height="80" x="336" y="336" fill="currentColor" rx="8" ry="8"/><rect width="64" height="64" x="272" y="272" fill="currentColor" rx="8" ry="8"/><rect width="64" height="64" x="416" y="416" fill="currentColor" rx="8" ry="8"/><rect width="48" height="48" x="432" y="272" fill="currentColor" rx="8" ry="8"/><rect width="48" height="48" x="272" y="432" fill="currentColor" rx="8" ry="8"/><path fill="currentColor" d="M448 32H304a32 32 0 0 0-32 32v144a32 32 0 0 0 32 32h144a32 32 0 0 0 32-32V64a32 32 0 0 0-32-32m-32 136a8 8 0 0 1-8 8h-64a8 8 0 0 1-8-8v-64a8 8 0 0 1 8-8h64a8 8 0 0 1 8 8ZM208 32H64a32 32 0 0 0-32 32v144a32 32 0 0 0 32 32h144a32 32 0 0 0 32-32V64a32 32 0 0 0-32-32m-32 136a8 8 0 0 1-8 8h-64a8 8 0 0 1-8-8v-64a8 8 0 0 1 8-8h64a8 8 0 0 1 8 8Zm32 104H64a32 32 0 0 0-32 32v144a32 32 0 0 0 32 32h144a32 32 0 0 0 32-32V304a32 32 0 0 0-32-32m-32 136a8 8 0 0 1-8 8h-64a8 8 0 0 1-8-8v-64a8 8 0 0 1 8-8h64a8 8 0 0 1 8 8Z"/></svg>
</template>

CSS

.icon-qr-code {
  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%3Crect%20width%3D%2280%22%20height%3D%2280%22%20x%3D%22336%22%20y%3D%22336%22%20fill%3D%22currentColor%22%20rx%3D%228%22%20ry%3D%228%22%2F%3E%3Crect%20width%3D%2264%22%20height%3D%2264%22%20x%3D%22272%22%20y%3D%22272%22%20fill%3D%22currentColor%22%20rx%3D%228%22%20ry%3D%228%22%2F%3E%3Crect%20width%3D%2264%22%20height%3D%2264%22%20x%3D%22416%22%20y%3D%22416%22%20fill%3D%22currentColor%22%20rx%3D%228%22%20ry%3D%228%22%2F%3E%3Crect%20width%3D%2248%22%20height%3D%2248%22%20x%3D%22432%22%20y%3D%22272%22%20fill%3D%22currentColor%22%20rx%3D%228%22%20ry%3D%228%22%2F%3E%3Crect%20width%3D%2248%22%20height%3D%2248%22%20x%3D%22272%22%20y%3D%22432%22%20fill%3D%22currentColor%22%20rx%3D%228%22%20ry%3D%228%22%2F%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M448%2032H304a32%2032%200%200%200-32%2032v144a32%2032%200%200%200%2032%2032h144a32%2032%200%200%200%2032-32V64a32%2032%200%200%200-32-32m-32%20136a8%208%200%200%201-8%208h-64a8%208%200%200%201-8-8v-64a8%208%200%200%201%208-8h64a8%208%200%200%201%208%208ZM208%2032H64a32%2032%200%200%200-32%2032v144a32%2032%200%200%200%2032%2032h144a32%2032%200%200%200%2032-32V64a32%2032%200%200%200-32-32m-32%20136a8%208%200%200%201-8%208h-64a8%208%200%200%201-8-8v-64a8%208%200%200%201%208-8h64a8%208%200%200%201%208%208Zm32%20104H64a32%2032%200%200%200-32%2032v144a32%2032%200%200%200%2032%2032h144a32%2032%200%200%200%2032-32V304a32%2032%200%200%200-32-32m-32%20136a8%208%200%200%201-8%208h-64a8%208%200%200%201-8-8v-64a8%208%200%200%201%208-8h64a8%208%200%200%201%208%208Z%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%3Crect%20width%3D%2280%22%20height%3D%2280%22%20x%3D%22336%22%20y%3D%22336%22%20fill%3D%22currentColor%22%20rx%3D%228%22%20ry%3D%228%22%2F%3E%3Crect%20width%3D%2264%22%20height%3D%2264%22%20x%3D%22272%22%20y%3D%22272%22%20fill%3D%22currentColor%22%20rx%3D%228%22%20ry%3D%228%22%2F%3E%3Crect%20width%3D%2264%22%20height%3D%2264%22%20x%3D%22416%22%20y%3D%22416%22%20fill%3D%22currentColor%22%20rx%3D%228%22%20ry%3D%228%22%2F%3E%3Crect%20width%3D%2248%22%20height%3D%2248%22%20x%3D%22432%22%20y%3D%22272%22%20fill%3D%22currentColor%22%20rx%3D%228%22%20ry%3D%228%22%2F%3E%3Crect%20width%3D%2248%22%20height%3D%2248%22%20x%3D%22272%22%20y%3D%22432%22%20fill%3D%22currentColor%22%20rx%3D%228%22%20ry%3D%228%22%2F%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M448%2032H304a32%2032%200%200%200-32%2032v144a32%2032%200%200%200%2032%2032h144a32%2032%200%200%200%2032-32V64a32%2032%200%200%200-32-32m-32%20136a8%208%200%200%201-8%208h-64a8%208%200%200%201-8-8v-64a8%208%200%200%201%208-8h64a8%208%200%200%201%208%208ZM208%2032H64a32%2032%200%200%200-32%2032v144a32%2032%200%200%200%2032%2032h144a32%2032%200%200%200%2032-32V64a32%2032%200%200%200-32-32m-32%20136a8%208%200%200%201-8%208h-64a8%208%200%200%201-8-8v-64a8%208%200%200%201%208-8h64a8%208%200%200%201%208%208Zm32%20104H64a32%2032%200%200%200-32%2032v144a32%2032%200%200%200%2032%2032h144a32%2032%200%200%200%2032-32V304a32%2032%200%200%200-32-32m-32%20136a8%208%200%200%201-8%208h-64a8%208%200%200%201-8-8v-64a8%208%200%200%201%208-8h64a8%208%200%200%201%208%208Z%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain;
}

Direct links: SVG · download · JSON · https://iconsdb.app/api/v1/icon/ion/qr-code.svg?color=%231a73e8&size=48