ICONYZ
English
Flag icon from Icalicons

Flag icon

il:flag

The Flag icon (il:flag) is a free SVG icon from the Icalicons set by Icalia Labs. It is drawn on a 640 × 850 grid. Icalicons 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
Icalicons
Author
Icalia Labs
License
MIT
Size
640 × 850
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="640" height="850" viewBox="0 0 640 850"><path fill="currentColor" d="M628 340q10 11 5 25t-22 14H182q-11 0-18 8t-5 19l56 316q2 11-5 19t-18 9h-45q-20 0-23-20L1 35q-2-11 5-19t18-8h535q14 0 21 11t-1 24l-78 136q-9 15 3 27z"/></svg>

How to use the Flag icon

React

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

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

Vue

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

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

Svelte

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

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

Tailwind CSS

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

UnoCSS

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

Web component

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

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

HTML image

<img src="https://iconyz.com/api/public/svg/il/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. Icalicons 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="il: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/il/flag.svg" alt="Flag icon">, or paste the SVG code inline to style it with CSS.

Browse all Icalicons →