ICONYZ
English
Flag icon from Mono Icons

Flag icon

mono-icons:flag

The Flag icon (mono-icons:flag) is a free SVG icon from the Mono Icons set by Mono. It is drawn on a 24 × 24 grid. Mono 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
Mono Icons
Author
Mono
License
MIT
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="currentColor" fill-rule="evenodd" d="M5 4.797c1.517-.312 2.67-.33 3.626-.211c1.119.14 2.018.473 3.023.85l.03.012c.987.37 2.08.78 3.447.95c1.104.139 2.355.118 3.874-.158v8.963c-1.517.312-2.67.33-3.626.211c-1.119-.14-2.018-.473-3.023-.85l-.03-.012c-.987-.37-2.08-.78-3.447-.95c-1.104-.139-2.355-.118-3.874.158zm14.758-.767c-1.9.475-3.275.523-4.384.384c-1.119-.14-2.018-.473-3.023-.85l-.03-.012c-.987-.37-2.08-.78-3.447-.95c-1.387-.174-3.006-.098-5.096.423A1 1 0 0 0 3 4v17a1 1 0 1 0 2 0v-5.203c1.517-.312 2.67-.33 3.626-.211c1.119.14 2.018.473 3.023.85l.03.012c.987.37 2.08.78 3.447.95c1.391.174 3.017.097 5.117-.428A1 1 0 0 0 21 16V5a1 1 0 0 0-1.242-.97" clip-rule="evenodd"/></svg>

How to use the Flag icon

React

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

<Icon icon="mono-icons:flag" width="24" />

Vue

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

<template>
  <Icon icon="mono-icons:flag" width="24" />
</template>

Svelte

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

<Icon icon="mono-icons:flag" width="24" />

Tailwind CSS

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

UnoCSS

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

Web component

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

<iconify-icon icon="mono-icons:flag"></iconify-icon>

HTML image

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

Flag icon in other icon sets

Flag icon FAQ

Is the Flag icon free for commercial use?

Yes. Mono 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="mono-icons: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/mono-icons/flag.svg" alt="Flag icon">, or paste the SVG code inline to style it with CSS.

Browse all Mono Icons →