Qrcode icon
heroicons-solid:qrcode
The Qrcode icon (heroicons-solid:qrcode) is a free SVG icon from the HeroIcons v1 Solid set by Refactoring UI Inc. It is drawn on a 20 × 20 grid. HeroIcons v1 Solid icons 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 v1 Solid
- Author
- Refactoring UI Inc
- License
- MIT
- Size
- 20 × 20
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><g fill="currentColor"><path fill-rule="evenodd" d="M3 4a1 1 0 0 1 1-1h3a1 1 0 0 1 1 1v3a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1zm2 2V5h1v1zm-2 7a1 1 0 0 1 1-1h3a1 1 0 0 1 1 1v3a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1zm2 2v-1h1v1zm8-12a1 1 0 0 0-1 1v3a1 1 0 0 0 1 1h3a1 1 0 0 0 1-1V4a1 1 0 0 0-1-1zm1 2v1h1V5z" clip-rule="evenodd"/><path d="M11 4a1 1 0 1 0-2 0v1a1 1 0 0 0 2 0zm-1 3a1 1 0 0 1 1 1v1h2a1 1 0 1 1 0 2h-3a1 1 0 0 1-1-1V8a1 1 0 0 1 1-1m6 2a1 1 0 1 0 0 2a1 1 0 0 0 0-2m-7 4a1 1 0 0 1 1-1h1a1 1 0 1 1 0 2v2a1 1 0 1 1-2 0zm-2-2a1 1 0 1 0 0-2H4a1 1 0 1 0 0 2zm10 2a1 1 0 0 1-1 1h-2a1 1 0 1 1 0-2h2a1 1 0 0 1 1 1m-1 4a1 1 0 1 0 0-2h-3a1 1 0 1 0 0 2z"/></g></svg>How to use the Qrcode icon
React
import { Icon } from "@iconify/react";
<Icon icon="heroicons-solid:qrcode" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="heroicons-solid:qrcode" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="heroicons-solid:qrcode" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[heroicons-solid--qrcode]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/heroicons-solid -->
<div class="i-heroicons-solid:qrcode"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="heroicons-solid:qrcode"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/heroicons-solid/qrcode.svg" alt="Qrcode icon" width="24" height="24">Qrcode icon in other icon sets
Qrcode icon FAQ
Is the Qrcode icon free for commercial use?
Yes. HeroIcons v1 Solid icons are released under the MIT license, which allows use in personal and commercial projects.
How do I use the Qrcode icon in React?
Install @iconify/react and render <Icon icon="heroicons-solid:qrcode" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Qrcode icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/heroicons-solid/qrcode.svg" alt="Qrcode icon">, or paste the SVG code inline to style it with CSS.