ICONYZ
English
Qr Code icon from Keyline Icons

Qr Code icon

keyline-icons:qr-code

The Qr Code icon (keyline-icons:qr-code) is a free SVG icon from the Keyline Icons set. It is drawn on a 24 × 24 grid. Keyline 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
Keyline Icons
Author
Keyline Icons
License
MIT
Size
24 × 24
Tags
qrcode
Download SVG

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="2"><path d="M4 3L7 3C7.5523 3 8 3.4477 8 4L8 7C8 7.5523 7.5523 8 7 8L4 8C3.4477 8 3 7.5523 3 7L3 4C3 3.4477 3.4477 3 4 3ZM17 3L20 3C20.5523 3 21 3.4477 21 4L21 7C21 7.5523 20.5523 8 20 8L17 8C16.4477 8 16 7.5523 16 7L16 4C16 3.4477 16.4477 3 17 3ZM17 16L20 16C20.5523 16 21 16.4477 21 17L21 20C21 20.5523 20.5523 21 20 21L17 21C16.4477 21 16 20.5523 16 20L16 17C16 16.4477 16.4477 16 17 16ZM12 7L12 10C12 11.1046 12.8954 12 14 12L17 12M12 21L12 18C12 16.8954 11.1046 16 10 16L7 16M8 12L3 12M3 16L3 21"/><path fill="currentColor" d="M22 12C22 12.5523 21.5523 13 21 13C20.4477 13 20 12.5523 20 12C20 11.4477 20.4477 11 21 11C21.5523 11 22 11.4477 22 12ZM8 21C8 21.5523 7.5523 22 7 22C6.4477 22 6 21.5523 6 21C6 20.4477 6.4477 20 7 20C7.5523 20 8 20.4477 8 21ZM13 3C13 3.5523 12.5523 4 12 4C11.4477 4 11 3.5523 11 3C11 2.4477 11.4477 2 12 2C12.5523 2 13 2.4477 13 3Z" stroke="none"/></g></svg>

How to use the Qr Code icon

React

import { Icon } from "@iconify/react";

<Icon icon="keyline-icons:qr-code" width="24" />

Vue

<script setup>
import { Icon } from "@iconify/vue";
</script>

<template>
  <Icon icon="keyline-icons:qr-code" width="24" />
</template>

Svelte

<script>
  import Icon from "@iconify/svelte";
</script>

<Icon icon="keyline-icons:qr-code" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[keyline-icons--qr-code]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/keyline-icons -->
<div class="i-keyline-icons:qr-code"></div>

Web component

<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>

<iconify-icon icon="keyline-icons:qr-code"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/keyline-icons/qr-code.svg" alt="Qr Code icon" width="24" height="24">

Related icons in Keyline Icons

Qr Code icon in other icon sets

Qr Code icon FAQ

Is the Qr Code icon free for commercial use?

Yes. Keyline Icons 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="keyline-icons: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/keyline-icons/qr-code.svg" alt="Qr Code icon">, or paste the SVG code inline to style it with CSS.

Browse all Keyline Icons →