Gentleface › Shopping › qr-code
qr-code icon
qr-codeQr code: qr code, scan code, qr, show qr code. Drawn on the 16 px grid. Free SVG, PNG and code, MIT licensed.
Animated qr-code-scan · line-round
A scan line runs down the code. Each finder ring tightens on its centre as the line crosses it, and the data modules pop one row after another as they are read.
Native SVG animation, with no CSS or script. It loops by itself. Inline it to take the text color: in an <img> it draws black. To play it once on hover or click, run 0.35 s to 1.75 s. Examples and helper.
Code line-round
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="currentColor" aria-hidden="true"><path d="M2.144 2.144C2.241 2.048 2.359 2 2.5 2L6.5 2C6.641 2 6.759 2.048 6.856 2.144C6.952 2.241 7 2.359 7 2.5L7 6.5C7 6.641 6.952 6.759 6.856 6.856C6.759 6.952 6.641 7 6.5 7L2.5 7C2.359 7 2.241 6.952 2.144 6.856C2.048 6.759 2 6.641 2 6.5L2 2.5C2 2.359 2.048 2.241 2.144 2.144ZM13.856 2.144C13.952 2.241 14 2.359 14 2.5L14 6.5C14 6.641 13.952 6.759 13.856 6.856C13.759 6.952 13.641 7 13.5 7L9.5 7C9.359 7 9.241 6.952 9.144 6.856C9.048 6.759 9 6.641 9 6.5L9 2.5C9 2.359 9.048 2.241 9.144 2.144C9.241 2.048 9.359 2 9.5 2L13.5 2C13.641 2 13.759 2.048 13.856 2.144ZM6 6L6 3L3 3L3 6L6 6ZM13 3L10 3L10 6L13 6L13 3ZM4 4L5 4L5 5L4 5L4 4ZM11 4L12 4L12 5L11 5L11 4ZM2.144 9.144C2.241 9.048 2.359 9 2.5 9L6.5 9C6.641 9 6.759 9.048 6.856 9.144C6.952 9.241 7 9.359 7 9.5L7 13.5C7 13.641 6.952 13.759 6.856 13.856C6.759 13.952 6.641 14 6.5 14L2.5 14C2.359 14 2.241 13.952 2.144 13.856C2.048 13.759 2 13.641 2 13.5L2 9.5C2 9.359 2.048 9.241 2.144 9.144ZM6 13L6 10L3 10L3 13L6 13ZM4 11L5 11L5 12L4 12L4 11ZM9 9L11 9L11 11L9 11L9 9ZM12 9L14 9L14 10L12 10L12 9ZM12 11L14 11L14 14L12 14L12 11ZM9 14L9 12L11 12L11 14L9 14Z"/></svg>
// Gentleface "qr-code" (line-round), MIT. https://gentleface.com/icons/qr-code
import type { SVGProps } from 'react';
export function QrCodeIcon(props: SVGProps<SVGSVGElement>) {
return (
<svg xmlns="http://www.w3.org/2000/svg" width={16} height={16} viewBox="0 0 16 16" fill="currentColor" aria-hidden="true" {...props}>
<path d="M2.144 2.144C2.241 2.048 2.359 2 2.5 2L6.5 2C6.641 2 6.759 2.048 6.856 2.144C6.952 2.241 7 2.359 7 2.5L7 6.5C7 6.641 6.952 6.759 6.856 6.856C6.759 6.952 6.641 7 6.5 7L2.5 7C2.359 7 2.241 6.952 2.144 6.856C2.048 6.759 2 6.641 2 6.5L2 2.5C2 2.359 2.048 2.241 2.144 2.144ZM13.856 2.144C13.952 2.241 14 2.359 14 2.5L14 6.5C14 6.641 13.952 6.759 13.856 6.856C13.759 6.952 13.641 7 13.5 7L9.5 7C9.359 7 9.241 6.952 9.144 6.856C9.048 6.759 9 6.641 9 6.5L9 2.5C9 2.359 9.048 2.241 9.144 2.144C9.241 2.048 9.359 2 9.5 2L13.5 2C13.641 2 13.759 2.048 13.856 2.144ZM6 6L6 3L3 3L3 6L6 6ZM13 3L10 3L10 6L13 6L13 3ZM4 4L5 4L5 5L4 5L4 4ZM11 4L12 4L12 5L11 5L11 4ZM2.144 9.144C2.241 9.048 2.359 9 2.5 9L6.5 9C6.641 9 6.759 9.048 6.856 9.144C6.952 9.241 7 9.359 7 9.5L7 13.5C7 13.641 6.952 13.759 6.856 13.856C6.759 13.952 6.641 14 6.5 14L2.5 14C2.359 14 2.241 13.952 2.144 13.856C2.048 13.759 2 13.641 2 13.5L2 9.5C2 9.359 2.048 9.241 2.144 9.144ZM6 13L6 10L3 10L3 13L6 13ZM4 11L5 11L5 12L4 12L4 11ZM9 9L11 9L11 11L9 11L9 9ZM12 9L14 9L14 10L12 10L12 9ZM12 11L14 11L14 14L12 14L12 11ZM9 14L9 12L11 12L11 14L9 14Z" />
</svg>
);
}Vue: see /icons/qr-code.md
Svelte: see /icons/qr-code.md
HTML img: see /icons/qr-code.md
CSS: see /icons/qr-code.md
Data URL: see /icons/qr-code.md
Sprite: see /icons/qr-code.md
SwiftUI: see /icons/qr-code.md
Compose: see /icons/qr-code.md
Android XML: see /icons/qr-code.md
Flutter: see /icons/qr-code.md
Each icon is drawn on the 16 px grid, and most also on the 20 and 24 px grids (at 24 in three weights: light 1 px, regular 1.5 px, bold 2 px). Show the drawing made for your size, or an exact multiple of it, on whole pixels: 16 for 16 and 32 px, 20 for 20 and 40, 24 for 24 and 48. A size in between or a fractional position blurs it. The code on each icon page is the 16 px drawing, an SVG with fill="currentColor"; the icon page's downloads follow its Grid switch, and npm has the 20 and 24 px drawings too. The snippets are decorative (aria-hidden). For an icon that carries meaning on its own, such as an icon-only button, label the button, or give the SVG role="img" and an aria-label. More in how to use.
With npm: import { QrCodeIcon } from '@gentleface/react'; (setup).
Meaning
- Use it for
- qr code, scan code, qr, show qr code
- Alternatives
barcode: a 1D product code (SKU, EAN)scan-qr-code: the scan action in a camera viewfinder (scan frame)scan-barcode: scan a product barcode
- Also fits
- barcode: a 2D code that carries a link, ticket or payment
- scan qr code: show your own QR code for others to scan (qr-code)
- Tags
- qr, code, scan, matrix-code, link, ticket
- Category
- Shopping
- Component name
QrCodeIcon- History
- added
- released in 0.1.0
- 20 px redrawn, 24 px redrawn, 20 px drawn, 24 px drawn
- Since
- version 0.1.0
Family 6
More shopping icons
arrows-up-from-line barcode barcode-off baseball-cap cash-register dress gem gift gift-check gift-clock gift-link gift-off gift-plus gift-sparkle gift-user handbag · all shopping icons
For agents
Metadata: /icons/qr-code.json · Markdown: /icons/qr-code.md · SVG: https://gentleface.com/svg/{style}/16/qr-code.svg · PNG: https://gentleface.com/png/{style}/{16|32|48}/qr-code.png