Tag icon
keyline-icons:tag
The Tag icon (keyline-icons:tag) 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
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="M2 5C2 3.343146 3.343146 2 5 2L11.171573 2C11.702006 2 12.210714 2.210714 12.585786 2.585786L21.414213 11.414213C22.195262 12.195262 22.195262 13.461592 21.414213 14.24264L14.24264 21.414213C13.461592 22.195262 12.195262 22.195262 11.414213 21.414213L2.585786 12.585786C2.210714 12.210714 2 11.702006 2 11.171573Z"/><path fill="currentColor" d="M9.5 8C9.5 8.8284 8.8284 9.5 8 9.5C7.1716 9.5 6.5 8.8284 6.5 8C6.5 7.1716 7.1716 6.5 8 6.5C8.8284 6.5 9.5 7.1716 9.5 8Z" stroke="none"/></g></svg>How to use the Tag icon
React
import { Icon } from "@iconify/react";
<Icon icon="keyline-icons:tag" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="keyline-icons:tag" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="keyline-icons:tag" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[keyline-icons--tag]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/keyline-icons -->
<div class="i-keyline-icons:tag"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="keyline-icons:tag"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/keyline-icons/tag.svg" alt="Tag icon" width="24" height="24">Related icons in Keyline Icons
tag-duotone
tag-fill
tag-horizontal-end
tag-horizontal-end-duotone
tag-horizontal-end-fill
tag-horizontal-end-percent
tag-horizontal-end-percent-duotone
tag-horizontal-end-percent-fill
tag-horizontal-end-percent-sharp
tag-horizontal-end-percent-sharp-duotone
tag-horizontal-end-percent-sharp-fill
tag-horizontal-end-percent-sharp-two-tone
tag-horizontal-end-percent-two-tone
tag-horizontal-end-sharp
tag-horizontal-end-sharp-duotone
tag-horizontal-end-sharp-fill
tag-horizontal-end-sharp-two-tone
tag-horizontal-end-two-tone
tag-horizontal-start
tag-horizontal-start-duotone
tag-horizontal-start-fill
tag-horizontal-start-percent
tag-horizontal-start-percent-duotone
tag-horizontal-start-percent-fill
Tag icon in other icon sets
Tag icon FAQ
Is the Tag 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 Tag icon in React?
Install @iconify/react and render <Icon icon="keyline-icons:tag" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Tag icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/keyline-icons/tag.svg" alt="Tag icon">, or paste the SVG code inline to style it with CSS.