Flag icon
andrsrxn:flag
The Flag icon (andrsrxn:flag) is a free SVG icon from the andrsrxn/icons set by Andrés Raxón. It is drawn on a 24 × 24 grid. andrsrxn/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
- andrsrxn/icons
- Author
- Andrés Raxón
- License
- MIT
- Size
- 24 × 24
- Category
- Tools
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><g fill="none"><path fill="currentColor" d="M3.12 5.31c0-.74 0-1.11.21-1.38c.21-.28.57-.37 1.3-.55l3.6-.93c.22-.06.34-.09.46-.09s.24.03.47.08l5.47 1.24c.19.04.28.06.38.06s.2 0 .39-.04l3.27-.54c1.08-.18 1.62-.27 1.98.03s.35.85.35 1.94v6.97c0 .8 0 1.2-.23 1.48s-.63.35-1.42.49l-3.99.7q-.24.05-.35.05t-.35-.05l-5.15-.93c-.18-.03-.26-.05-.35-.05s-.18.02-.35.05l-3.35.58c-1.08.2-1.63.29-1.98-.01s-.36-.85-.36-1.96z" opacity=".2"/><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M3.12 3.8s1.84-1.26 4.89-1.26S11.97 3.92 15 3.92c1.63 0 3.26-.53 4.4-1.02c.77-.33 1.15-.5 1.38-.35s.22.54.22 1.33v9.2c0 .29 0 .43-.08.56c-.08.12-.2.18-.45.28c-.9.39-2.86 1.08-5.46 1.08c-3.6 0-4.03-1.03-7-1.03s-4.89 1.1-4.89 1.1m0-13.2V22.4"/></g></svg>How to use the Flag icon
React
import { Icon } from "@iconify/react";
<Icon icon="andrsrxn:flag" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="andrsrxn:flag" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="andrsrxn:flag" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[andrsrxn--flag]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/andrsrxn -->
<div class="i-andrsrxn:flag"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="andrsrxn:flag"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/andrsrxn/flag.svg" alt="Flag icon" width="24" height="24">Related icons in andrsrxn/icons
Flag icon in other icon sets
Flag icon FAQ
Is the Flag icon free for commercial use?
Yes. andrsrxn/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="andrsrxn: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/andrsrxn/flag.svg" alt="Flag icon">, or paste the SVG code inline to style it with CSS.