Qr Code icon
carbon:qr-code
The Qr Code icon (carbon:qr-code) is a free SVG icon from the Carbon set by IBM. It is drawn on a 32 × 32 grid. Carbon icons are released under the Apache 2.0 license, which allows use in personal and commercial projects. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32"><path fill="currentColor" d="M24 28v-2h2v2zm-6-4v-2h2v2zm0 6h4v-2h-2v-2h-2zm8-4v-4h2v4zm2 0h2v4h-4v-2h2zm-2-6v-2h4v4h-2v-2zm-2 0h-2v4h-2v2h4zm-6 0v-2h4v2zM6 22h4v4H6z"/><path fill="currentColor" d="M14 30H2V18h12ZM4 28h8v-8H4ZM22 6h4v4h-4z"/><path fill="currentColor" d="M30 14H18V2h12Zm-10-2h8V4h-8ZM6 6h4v4H6z"/><path fill="currentColor" d="M14 14H2V2h12ZM4 12h8V4H4Z"/></svg>How to use the Qr Code icon
React
import { Icon } from "@iconify/react";
<Icon icon="carbon:qr-code" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="carbon:qr-code" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="carbon:qr-code" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[carbon--qr-code]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/carbon -->
<div class="i-carbon:qr-code"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="carbon:qr-code"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/carbon/qr-code.svg" alt="Qr Code icon" width="24" height="24">Qr Code icon in other icon sets
Qr Code icon FAQ
Is the Qr Code icon free for commercial use?
Yes. Carbon icons are released under the Apache 2.0 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="carbon: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/carbon/qr-code.svg" alt="Qr Code icon">, or paste the SVG code inline to style it with CSS.