ICONYZ
English
Flag icon from Mage Icons

Flag icon

mage:flag

The Flag icon (mage:flag) is a free SVG icon from the Mage Icons set by MageIcons. It is drawn on a 24 × 24 grid. Mage 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.

Icon set
Mage Icons
Author
MageIcons
License
Apache-2.0
Size
24 × 24
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M4.382 14.72s1.089-1.088 4.353-1.088c3.265 0 3.265 2.177 6.53 2.177a11.3 11.3 0 0 0 4.353-1.088V3.838a11.3 11.3 0 0 1-4.353 1.088C12 4.926 12 2.75 8.735 2.75c-3.264 0-4.353 1.088-4.353 1.088m0 17.412V3.838"/></svg>

How to use the Flag icon

React

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

<Icon icon="mage:flag" width="24" />

Vue

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

<template>
  <Icon icon="mage:flag" width="24" />
</template>

Svelte

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

<Icon icon="mage:flag" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[mage--flag]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/mage -->
<div class="i-mage:flag"></div>

Web component

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

<iconify-icon icon="mage:flag"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/mage/flag.svg" alt="Flag icon" width="24" height="24">

Related icons in Mage Icons

Flag icon in other icon sets

Flag icon FAQ

Is the Flag icon free for commercial use?

Yes. Mage Icons are released under the Apache 2.0 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="mage: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/mage/flag.svg" alt="Flag icon">, or paste the SVG code inline to style it with CSS.

Browse all Mage Icons →