Flag icon
prime:flag
The Flag icon (prime:flag) is a free SVG icon from the Prime Icons set by PrimeTek. It is drawn on a 24 × 24 grid. Prime 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
- Prime Icons
- Author
- PrimeTek
- License
- MIT
- Size
- 24 × 24
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M19.42 4.45a.74.74 0 0 0-.69-.08a13.8 13.8 0 0 1-3.73 1a8.5 8.5 0 0 1-2.3-1a8.8 8.8 0 0 0-3-1.16a20 20 0 0 0-5 1.1a.75.75 0 0 0-.51.71V20a.75.75 0 0 0 1.5 0v-5.85a15.8 15.8 0 0 1 3.86-.87a8.5 8.5 0 0 1 2.4 1a9.1 9.1 0 0 0 2.82 1.13H15a16 16 0 0 0 4.21-1.13a.75.75 0 0 0 .48-.7V5.07a.74.74 0 0 0-.27-.62m-1.17 8.63a12 12 0 0 1-3.25.84a8.5 8.5 0 0 1-2.3-1a8.8 8.8 0 0 0-3-1.16h-.2a16.3 16.3 0 0 0-3.78.8v-7a15.8 15.8 0 0 1 3.86-.87a8.5 8.5 0 0 1 2.4 1a9.1 9.1 0 0 0 2.82 1.13a10.3 10.3 0 0 0 3.42-.73Z"/></svg>How to use the Flag icon
React
import { Icon } from "@iconify/react";
<Icon icon="prime:flag" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="prime:flag" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="prime:flag" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[prime--flag]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/prime -->
<div class="i-prime:flag"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="prime:flag"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/prime/flag.svg" alt="Flag icon" width="24" height="24">Related icons in Prime Icons
Flag icon in other icon sets
Flag icon FAQ
Is the Flag icon free for commercial use?
Yes. Prime Icons are released under the MIT license, which allows use in personal and commercial projects.
How do I use the Flag icon in React?
Install @iconify/react and render <Icon icon="prime:flag" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Flag icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/prime/flag.svg" alt="Flag icon">, or paste the SVG code inline to style it with CSS.