John KuehJohn Kueh

qr code icon

Heroicons · qr-code · MIT

Download SVG

The Heroicons qr code icon visually represents a QR code, commonly used in UIs to link to websites, share contact information, or initiate actions via a scannable code.

Common uses

  • Link to a website or app download
  • Display Wi-Fi network credentials
  • Share contact details (vCard)

Use it in React

Install
npm i @heroicons/react
Import & render
import { QrCodeIcon } from '@heroicons/react/24/outline';

<QrCodeIcon className="size-6" />

Styles

Heroicons ships this icon in 4 styles — each its own import:

24/outline
<QrCodeIcon className="size-6" />
24/solid
<QrCodeIcon className="size-6" />
20/solid
<QrCodeIcon className="size-6" />
16/solid
<QrCodeIcon className="size-6" />

Details

Library
Heroicons (324 icons)
License
MIT
viewBox
0 0 24 24
Keywords
qrcodebarcodescanlinkinformation

FAQ

What is this icon for?
This icon represents a QR code, a type of two-dimensional barcode. It's used to quickly share information or link to digital content.
How do I use this icon in React?
Import it from Heroicons like this: import { QrCodeIcon } from '@heroicons/react/24/outline'. You can then use it as a React component.
What is the license for this icon?
The Heroicons library, including the qr code icon, is available under the MIT license.

Related icons

The same idea in other libraries, and near matches in Heroicons.

Looking for something else? Search Heroicons and 4 more libraries by description →