# qr-code icon

Qr code. Gentleface icon, drawn on the 16 px pixel grid. Free, MIT licensed. Page: https://gentleface.com/icons/qr-code

- Category: Shopping
- Use it for: qr code, scan code, qr, show qr code
- Tags: qr, code, scan, matrix-code, link, ticket
- Component name: QrCodeIcon
- Added: 2026-10-14

## 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)

## Files

Each SVG is 16 × 16 with fill="currentColor". Keep it at 16 px or an exact multiple (32, 48) on whole pixels: a fractional size or position blurs it.

- line-round: https://gentleface.com/svg/line-round/16/qr-code.svg · PNG https://gentleface.com/png/line-round/16/qr-code.png · https://gentleface.com/png/line-round/32/qr-code.png · https://gentleface.com/png/line-round/48/qr-code.png
- line-soft: https://gentleface.com/svg/line-soft/16/qr-code.svg · PNG https://gentleface.com/png/line-soft/16/qr-code.png · https://gentleface.com/png/line-soft/32/qr-code.png · https://gentleface.com/png/line-soft/48/qr-code.png
- line-sharp: https://gentleface.com/svg/line-sharp/16/qr-code.svg · PNG https://gentleface.com/png/line-sharp/16/qr-code.png · https://gentleface.com/png/line-sharp/32/qr-code.png · https://gentleface.com/png/line-sharp/48/qr-code.png
- solid-round: https://gentleface.com/svg/solid-round/16/qr-code.svg · PNG https://gentleface.com/png/solid-round/16/qr-code.png · https://gentleface.com/png/solid-round/32/qr-code.png · https://gentleface.com/png/solid-round/48/qr-code.png
- solid-soft: https://gentleface.com/svg/solid-soft/16/qr-code.svg · PNG https://gentleface.com/png/solid-soft/16/qr-code.png · https://gentleface.com/png/solid-soft/32/qr-code.png · https://gentleface.com/png/solid-soft/48/qr-code.png
- solid-sharp: https://gentleface.com/svg/solid-sharp/16/qr-code.svg · PNG https://gentleface.com/png/solid-sharp/16/qr-code.png · https://gentleface.com/png/solid-sharp/32/qr-code.png · https://gentleface.com/png/solid-sharp/48/qr-code.png

The SVG of every style: https://gentleface.com/icons/qr-code.json (`svg`).

## Code (line-round)

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. For another style, take its SVG from the JSON and swap the path `d`.

### SVG

```svg
<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>
```

### React

```tsx
// 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

```vue
<!-- Gentleface "qr-code" (line-round), MIT. https://gentleface.com/icons/qr-code -->
<template>
  <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>
</template>
```

### Svelte

```svelte
<!-- Gentleface "qr-code" (line-round), MIT. https://gentleface.com/icons/qr-code -->
<script>
  let props = $props();
</script>

<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>
```

### HTML img

```html
<!-- Gentleface "qr-code" (line-round), MIT. https://gentleface.com/icons/qr-code. An <img> can't take currentColor: it draws black. Inline the SVG or use the CSS mask to color it. -->
<img src="https://gentleface.com/svg/line-round/16/qr-code.svg" width="16" height="16" alt="">
```

### CSS

```css
/* Gentleface "qr-code" (line-round), MIT. https://gentleface.com/icons/qr-code. Takes the text color. */
.icon-qr-code {
  display: inline-block;
  width: 16px;
  height: 16px;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='currentColor'%3E%3Cpath 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'/%3E%3C/svg%3E") center / 16px 16px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='currentColor'%3E%3Cpath 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'/%3E%3C/svg%3E") center / 16px 16px no-repeat;
}
```

### Data URL

```text
data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='currentColor'%3E%3Cpath 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'/%3E%3C/svg%3E
```

### Sprite

```html
<!-- Gentleface "qr-code" (line-round), MIT. https://gentleface.com/icons/qr-code
     Every icon of this style in one file: https://gentleface.com/sprite/line-round.svg
     Serve it from your own origin: <use> does not load from another origin. -->
<svg width="16" height="16" aria-hidden="true"><use href="/sprite/line-round.svg#qr-code"/></svg>
```

### SwiftUI

```swift
// Gentleface "qr-code" (line-round), MIT. https://gentleface.com/icons/qr-code
import SwiftUI

struct QrCodeIcon: Shape {
    func path(in rect: CGRect) -> Path {
        var p = Path()
        p.move(to: CGPoint(x: 2.144, y: 2.144))
        p.addCurve(to: CGPoint(x: 2.5, y: 2), control1: CGPoint(x: 2.241, y: 2.048), control2: CGPoint(x: 2.359, y: 2))
        p.addLine(to: CGPoint(x: 6.5, y: 2))
        p.addCurve(to: CGPoint(x: 6.856, y: 2.144), control1: CGPoint(x: 6.641, y: 2), control2: CGPoint(x: 6.759, y: 2.048))
        p.addCurve(to: CGPoint(x: 7, y: 2.5), control1: CGPoint(x: 6.952, y: 2.241), control2: CGPoint(x: 7, y: 2.359))
        p.addLine(to: CGPoint(x: 7, y: 6.5))
        p.addCurve(to: CGPoint(x: 6.856, y: 6.856), control1: CGPoint(x: 7, y: 6.641), control2: CGPoint(x: 6.952, y: 6.759))
        p.addCurve(to: CGPoint(x: 6.5, y: 7), control1: CGPoint(x: 6.759, y: 6.952), control2: CGPoint(x: 6.641, y: 7))
        p.addLine(to: CGPoint(x: 2.5, y: 7))
        p.addCurve(to: CGPoint(x: 2.144, y: 6.856), control1: CGPoint(x: 2.359, y: 7), control2: CGPoint(x: 2.241, y: 6.952))
        p.addCurve(to: CGPoint(x: 2, y: 6.5), control1: CGPoint(x: 2.048, y: 6.759), control2: CGPoint(x: 2, y: 6.641))
        p.addLine(to: CGPoint(x: 2, y: 2.5))
        p.addCurve(to: CGPoint(x: 2.144, y: 2.144), control1: CGPoint(x: 2, y: 2.359), control2: CGPoint(x: 2.048, y: 2.241))
        p.closeSubpath()
        p.move(to: CGPoint(x: 13.856, y: 2.144))
        p.addCurve(to: CGPoint(x: 14, y: 2.5), control1: CGPoint(x: 13.952, y: 2.241), control2: CGPoint(x: 14, y: 2.359))
        p.addLine(to: CGPoint(x: 14, y: 6.5))
        p.addCurve(to: CGPoint(x: 13.856, y: 6.856), control1: CGPoint(x: 14, y: 6.641), control2: CGPoint(x: 13.952, y: 6.759))
        p.addCurve(to: CGPoint(x: 13.5, y: 7), control1: CGPoint(x: 13.759, y: 6.952), control2: CGPoint(x: 13.641, y: 7))
        p.addLine(to: CGPoint(x: 9.5, y: 7))
        p.addCurve(to: CGPoint(x: 9.144, y: 6.856), control1: CGPoint(x: 9.359, y: 7), control2: CGPoint(x: 9.241, y: 6.952))
        p.addCurve(to: CGPoint(x: 9, y: 6.5), control1: CGPoint(x: 9.048, y: 6.759), control2: CGPoint(x: 9, y: 6.641))
        p.addLine(to: CGPoint(x: 9, y: 2.5))
        p.addCurve(to: CGPoint(x: 9.144, y: 2.144), control1: CGPoint(x: 9, y: 2.359), control2: CGPoint(x: 9.048, y: 2.241))
        p.addCurve(to: CGPoint(x: 9.5, y: 2), control1: CGPoint(x: 9.241, y: 2.048), control2: CGPoint(x: 9.359, y: 2))
        p.addLine(to: CGPoint(x: 13.5, y: 2))
        p.addCurve(to: CGPoint(x: 13.856, y: 2.144), control1: CGPoint(x: 13.641, y: 2), control2: CGPoint(x: 13.759, y: 2.048))
        p.closeSubpath()
        p.move(to: CGPoint(x: 6, y: 6))
        p.addLine(to: CGPoint(x: 6, y: 3))
        p.addLine(to: CGPoint(x: 3, y: 3))
        p.addLine(to: CGPoint(x: 3, y: 6))
        p.addLine(to: CGPoint(x: 6, y: 6))
        p.closeSubpath()
        p.move(to: CGPoint(x: 13, y: 3))
        p.addLine(to: CGPoint(x: 10, y: 3))
        p.addLine(to: CGPoint(x: 10, y: 6))
        p.addLine(to: CGPoint(x: 13, y: 6))
        p.addLine(to: CGPoint(x: 13, y: 3))
        p.closeSubpath()
        p.move(to: CGPoint(x: 4, y: 4))
        p.addLine(to: CGPoint(x: 5, y: 4))
        p.addLine(to: CGPoint(x: 5, y: 5))
        p.addLine(to: CGPoint(x: 4, y: 5))
        p.addLine(to: CGPoint(x: 4, y: 4))
        p.closeSubpath()
        p.move(to: CGPoint(x: 11, y: 4))
        p.addLine(to: CGPoint(x: 12, y: 4))
        p.addLine(to: CGPoint(x: 12, y: 5))
        p.addLine(to: CGPoint(x: 11, y: 5))
        p.addLine(to: CGPoint(x: 11, y: 4))
        p.closeSubpath()
        p.move(to: CGPoint(x: 2.144, y: 9.144))
        p.addCurve(to: CGPoint(x: 2.5, y: 9), control1: CGPoint(x: 2.241, y: 9.048), control2: CGPoint(x: 2.359, y: 9))
        p.addLine(to: CGPoint(x: 6.5, y: 9))
        p.addCurve(to: CGPoint(x: 6.856, y: 9.144), control1: CGPoint(x: 6.641, y: 9), control2: CGPoint(x: 6.759, y: 9.048))
        p.addCurve(to: CGPoint(x: 7, y: 9.5), control1: CGPoint(x: 6.952, y: 9.241), control2: CGPoint(x: 7, y: 9.359))
        p.addLine(to: CGPoint(x: 7, y: 13.5))
        p.addCurve(to: CGPoint(x: 6.856, y: 13.856), control1: CGPoint(x: 7, y: 13.641), control2: CGPoint(x: 6.952, y: 13.759))
        p.addCurve(to: CGPoint(x: 6.5, y: 14), control1: CGPoint(x: 6.759, y: 13.952), control2: CGPoint(x: 6.641, y: 14))
        p.addLine(to: CGPoint(x: 2.5, y: 14))
        p.addCurve(to: CGPoint(x: 2.144, y: 13.856), control1: CGPoint(x: 2.359, y: 14), control2: CGPoint(x: 2.241, y: 13.952))
        p.addCurve(to: CGPoint(x: 2, y: 13.5), control1: CGPoint(x: 2.048, y: 13.759), control2: CGPoint(x: 2, y: 13.641))
        p.addLine(to: CGPoint(x: 2, y: 9.5))
        p.addCurve(to: CGPoint(x: 2.144, y: 9.144), control1: CGPoint(x: 2, y: 9.359), control2: CGPoint(x: 2.048, y: 9.241))
        p.closeSubpath()
        p.move(to: CGPoint(x: 6, y: 13))
        p.addLine(to: CGPoint(x: 6, y: 10))
        p.addLine(to: CGPoint(x: 3, y: 10))
        p.addLine(to: CGPoint(x: 3, y: 13))
        p.addLine(to: CGPoint(x: 6, y: 13))
        p.closeSubpath()
        p.move(to: CGPoint(x: 4, y: 11))
        p.addLine(to: CGPoint(x: 5, y: 11))
        p.addLine(to: CGPoint(x: 5, y: 12))
        p.addLine(to: CGPoint(x: 4, y: 12))
        p.addLine(to: CGPoint(x: 4, y: 11))
        p.closeSubpath()
        p.move(to: CGPoint(x: 9, y: 9))
        p.addLine(to: CGPoint(x: 11, y: 9))
        p.addLine(to: CGPoint(x: 11, y: 11))
        p.addLine(to: CGPoint(x: 9, y: 11))
        p.addLine(to: CGPoint(x: 9, y: 9))
        p.closeSubpath()
        p.move(to: CGPoint(x: 12, y: 9))
        p.addLine(to: CGPoint(x: 14, y: 9))
        p.addLine(to: CGPoint(x: 14, y: 10))
        p.addLine(to: CGPoint(x: 12, y: 10))
        p.addLine(to: CGPoint(x: 12, y: 9))
        p.closeSubpath()
        p.move(to: CGPoint(x: 12, y: 11))
        p.addLine(to: CGPoint(x: 14, y: 11))
        p.addLine(to: CGPoint(x: 14, y: 14))
        p.addLine(to: CGPoint(x: 12, y: 14))
        p.addLine(to: CGPoint(x: 12, y: 11))
        p.closeSubpath()
        p.move(to: CGPoint(x: 9, y: 14))
        p.addLine(to: CGPoint(x: 9, y: 12))
        p.addLine(to: CGPoint(x: 11, y: 12))
        p.addLine(to: CGPoint(x: 11, y: 14))
        p.addLine(to: CGPoint(x: 9, y: 14))
        p.closeSubpath()
        return p.applying(CGAffineTransform(scaleX: rect.width / 16, y: rect.height / 16))
    }
}

// QrCodeIcon().frame(width: 16, height: 16) fills with the foreground style. Keep it on whole points to stay crisp.
```

### Compose

```kotlin
// Gentleface "qr-code" (line-round), MIT. https://gentleface.com/icons/qr-code
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.vector.ImageVector
import androidx.compose.ui.graphics.vector.addPathNodes
import androidx.compose.ui.unit.dp

val QrCodeIcon: ImageVector by lazy {
    ImageVector.Builder(
        name = "qr-code", defaultWidth = 16.dp, defaultHeight = 16.dp,
        viewportWidth = 16f, viewportHeight = 16f,
    ).addPath(
        pathData = addPathNodes("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"),
        fill = SolidColor(Color.Black),
    ).build()
}

// Icon(QrCodeIcon, contentDescription = null) tints it with LocalContentColor.
```

### Android XML

```xml
<!-- res/drawable/ic_qr_code.xml · Gentleface "qr-code" (line-round), MIT. https://gentleface.com/icons/qr-code -->
<vector xmlns:android="http://schemas.android.com/apk/res/android"
    android:width="16dp"
    android:height="16dp"
    android:viewportWidth="16"
    android:viewportHeight="16"
    android:tint="?attr/colorControlNormal">
  <path
      android:fillColor="@android:color/white"
      android:pathData="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"/>
</vector>
```

### Flutter

```dart
// Gentleface "qr-code" (line-round), MIT. https://gentleface.com/icons/qr-code
import 'package:flutter/widgets.dart';

class QrCodeIcon extends StatelessWidget {
  const QrCodeIcon({super.key, this.size = 16, this.color});
  final double size;
  final Color? color;

  @override
  Widget build(BuildContext context) => CustomPaint(
        size: Size.square(size),
        painter: _QrCodeIconPainter(color ?? IconTheme.of(context).color ?? const Color(0xFF000000)),
      );
}

class _QrCodeIconPainter extends CustomPainter {
  _QrCodeIconPainter(this.color);
  final Color color;

  @override
  void paint(Canvas canvas, Size size) {
    canvas.scale(size.width / 16, size.height / 16);
    final p = Path()
      ..moveTo(2.144, 2.144)
      ..cubicTo(2.241, 2.048, 2.359, 2, 2.5, 2)
      ..lineTo(6.5, 2)
      ..cubicTo(6.641, 2, 6.759, 2.048, 6.856, 2.144)
      ..cubicTo(6.952, 2.241, 7, 2.359, 7, 2.5)
      ..lineTo(7, 6.5)
      ..cubicTo(7, 6.641, 6.952, 6.759, 6.856, 6.856)
      ..cubicTo(6.759, 6.952, 6.641, 7, 6.5, 7)
      ..lineTo(2.5, 7)
      ..cubicTo(2.359, 7, 2.241, 6.952, 2.144, 6.856)
      ..cubicTo(2.048, 6.759, 2, 6.641, 2, 6.5)
      ..lineTo(2, 2.5)
      ..cubicTo(2, 2.359, 2.048, 2.241, 2.144, 2.144)
      ..close()
      ..moveTo(13.856, 2.144)
      ..cubicTo(13.952, 2.241, 14, 2.359, 14, 2.5)
      ..lineTo(14, 6.5)
      ..cubicTo(14, 6.641, 13.952, 6.759, 13.856, 6.856)
      ..cubicTo(13.759, 6.952, 13.641, 7, 13.5, 7)
      ..lineTo(9.5, 7)
      ..cubicTo(9.359, 7, 9.241, 6.952, 9.144, 6.856)
      ..cubicTo(9.048, 6.759, 9, 6.641, 9, 6.5)
      ..lineTo(9, 2.5)
      ..cubicTo(9, 2.359, 9.048, 2.241, 9.144, 2.144)
      ..cubicTo(9.241, 2.048, 9.359, 2, 9.5, 2)
      ..lineTo(13.5, 2)
      ..cubicTo(13.641, 2, 13.759, 2.048, 13.856, 2.144)
      ..close()
      ..moveTo(6, 6)
      ..lineTo(6, 3)
      ..lineTo(3, 3)
      ..lineTo(3, 6)
      ..lineTo(6, 6)
      ..close()
      ..moveTo(13, 3)
      ..lineTo(10, 3)
      ..lineTo(10, 6)
      ..lineTo(13, 6)
      ..lineTo(13, 3)
      ..close()
      ..moveTo(4, 4)
      ..lineTo(5, 4)
      ..lineTo(5, 5)
      ..lineTo(4, 5)
      ..lineTo(4, 4)
      ..close()
      ..moveTo(11, 4)
      ..lineTo(12, 4)
      ..lineTo(12, 5)
      ..lineTo(11, 5)
      ..lineTo(11, 4)
      ..close()
      ..moveTo(2.144, 9.144)
      ..cubicTo(2.241, 9.048, 2.359, 9, 2.5, 9)
      ..lineTo(6.5, 9)
      ..cubicTo(6.641, 9, 6.759, 9.048, 6.856, 9.144)
      ..cubicTo(6.952, 9.241, 7, 9.359, 7, 9.5)
      ..lineTo(7, 13.5)
      ..cubicTo(7, 13.641, 6.952, 13.759, 6.856, 13.856)
      ..cubicTo(6.759, 13.952, 6.641, 14, 6.5, 14)
      ..lineTo(2.5, 14)
      ..cubicTo(2.359, 14, 2.241, 13.952, 2.144, 13.856)
      ..cubicTo(2.048, 13.759, 2, 13.641, 2, 13.5)
      ..lineTo(2, 9.5)
      ..cubicTo(2, 9.359, 2.048, 9.241, 2.144, 9.144)
      ..close()
      ..moveTo(6, 13)
      ..lineTo(6, 10)
      ..lineTo(3, 10)
      ..lineTo(3, 13)
      ..lineTo(6, 13)
      ..close()
      ..moveTo(4, 11)
      ..lineTo(5, 11)
      ..lineTo(5, 12)
      ..lineTo(4, 12)
      ..lineTo(4, 11)
      ..close()
      ..moveTo(9, 9)
      ..lineTo(11, 9)
      ..lineTo(11, 11)
      ..lineTo(9, 11)
      ..lineTo(9, 9)
      ..close()
      ..moveTo(12, 9)
      ..lineTo(14, 9)
      ..lineTo(14, 10)
      ..lineTo(12, 10)
      ..lineTo(12, 9)
      ..close()
      ..moveTo(12, 11)
      ..lineTo(14, 11)
      ..lineTo(14, 14)
      ..lineTo(12, 14)
      ..lineTo(12, 11)
      ..close()
      ..moveTo(9, 14)
      ..lineTo(9, 12)
      ..lineTo(11, 12)
      ..lineTo(11, 14)
      ..lineTo(9, 14)
      ..close();
    canvas.drawPath(p, Paint()..color = color);
  }

  @override
  bool shouldRepaint(_QrCodeIconPainter old) => old.color != color;
}
```
