ICONYZ
English
Flag 24 icon from Octicons

Flag 24 icon

octicon:flag-24

The Flag 24 icon (octicon:flag-24) is a free SVG icon from the Octicons set by GitHub. It is drawn on a 24 × 24 grid. Octicons 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
Octicons
Author
GitHub
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" d="M19.99 14.37V4.92c0-.08-.02-.15-.05-.23c0-.02 0-.04-.01-.06c-.02-.05-.05-.08-.08-.12s-.05-.08-.08-.11c-.01-.01-.04-.02-.05-.03a.8.8 0 0 0-.19-.13c-3.23-1.29-5.73-.34-8.15.59c-2.2.84-4.28 1.62-6.88.65V3.75c0-.41-.34-.75-.75-.75S3 3.34 3 3.75v16.56c0 .41.34.75.75.75s.75-.34.75-.75V7.06c.85.26 1.65.37 2.41.37c1.82 0 3.43-.61 5-1.21c2.11-.81 4.12-1.55 6.58-.75v7.89c-2.79-.74-5.15.14-7.25.93c-1.62.61-3.14 1.18-4.79 1.08c-.38-.02-.77.29-.8.7s.29.77.7.8c.17.01.33.02.49.02c1.77 0 3.37-.61 4.92-1.19c2.31-.87 4.49-1.7 7.2-.61c.06.02.12.02.18.03c.03 0 .07.02.1.02c.09 0 .18-.02.26-.05h.03a.75.75 0 0 0 .29-.24c.04-.05.08-.1.11-.17c.02-.05.02-.1.03-.15c0-.04.03-.08.03-.13z"/></svg>

How to use the Flag 24 icon

React

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

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

Vue

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

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

Svelte

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

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

Tailwind CSS

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

UnoCSS

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

Web component

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

<iconify-icon icon="octicon:flag-24"></iconify-icon>

HTML image

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

Related icons in Octicons

Flag 24 icon in other icon sets

Flag 24 icon FAQ

Is the Flag 24 icon free for commercial use?

Yes. Octicons are released under the MIT license, which allows use in personal and commercial projects.

How do I use the Flag 24 icon in React?

Install @iconify/react and render <Icon icon="octicon:flag-24" />, or use “Copy code” on this page to get a standalone React component.

How do I add the Flag 24 icon to a web page?

Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/octicon/flag-24.svg" alt="Flag 24 icon">, or paste the SVG code inline to style it with CSS.

Browse all Octicons →