Qr Code icon
heroicons:qr-code
The Qr Code icon (heroicons:qr-code) is a free SVG icon from the HeroIcons set by Refactoring UI Inc. It is drawn on a 24 × 24 grid. HeroIcons are released under the MIT license, which allows use in personal and commercial projects. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.
- Icon set
- HeroIcons
- Author
- Refactoring UI Inc
- License
- MIT
- Size
- 24 × 24
- Tags
- qrcode
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><g fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"><path d="M3.75 4.875c0-.621.504-1.125 1.125-1.125h4.5c.621 0 1.125.504 1.125 1.125v4.5c0 .621-.504 1.125-1.125 1.125h-4.5A1.125 1.125 0 0 1 3.75 9.375zm0 9.75c0-.621.504-1.125 1.125-1.125h4.5c.621 0 1.125.504 1.125 1.125v4.5c0 .621-.504 1.125-1.125 1.125h-4.5a1.125 1.125 0 0 1-1.125-1.125zm9.75-9.75c0-.621.504-1.125 1.125-1.125h4.5c.621 0 1.125.504 1.125 1.125v4.5c0 .621-.504 1.125-1.125 1.125h-4.5A1.125 1.125 0 0 1 13.5 9.375z"/><path d="M6.75 6.75h.75v.75h-.75zm0 9.75h.75v.75h-.75zm9.75-9.75h.75v.75h-.75zm-3 6.75h.75v.75h-.75zm0 6h.75v.75h-.75zm6-6h.75v.75h-.75zm0 6h.75v.75h-.75zm-3-3h.75v.75h-.75z"/></g></svg>How to use the Qr Code icon
React
import { Icon } from "@iconify/react";
<Icon icon="heroicons:qr-code" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="heroicons:qr-code" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="heroicons:qr-code" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[heroicons--qr-code]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/heroicons -->
<div class="i-heroicons:qr-code"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="heroicons:qr-code"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/heroicons/qr-code.svg" alt="Qr Code icon" width="24" height="24">Related icons in HeroIcons
Qr Code icon in other icon sets
Qr Code icon FAQ
Is the Qr Code icon free for commercial use?
Yes. HeroIcons are released under the MIT license, which allows use in personal and commercial projects.
How do I use the Qr Code icon in React?
Install @iconify/react and render <Icon icon="heroicons:qr-code" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Qr Code icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/heroicons/qr-code.svg" alt="Qr Code icon">, or paste the SVG code inline to style it with CSS.