ICONYZ
English
Flag icon from Font Awesome 5 Regular

Flag icon

fa-regular:flag

The Flag icon (fa-regular:flag) is a free SVG icon from the Font Awesome 5 Regular set by Dave Gandy. It is drawn on a 512 × 512 grid. Font Awesome 5 Regular icons are released under the CC BY 4.0 license, which allows use in personal and commercial projects as long as you credit the author. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.

Icon set
Font Awesome 5 Regular
Author
Dave Gandy
License
CC-BY-4.0
Size
512 × 512
Category
Maps, Interfaces, Objects
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="512" height="512" viewBox="0 0 512 512"><path fill="currentColor" d="M336.174 80c-49.132 0-93.305-32-161.913-32c-31.301 0-58.303 6.482-80.721 15.168a48 48 0 0 0 2.142-20.727C93.067 19.575 74.167 1.594 51.201.104C23.242-1.71 0 20.431 0 48c0 17.764 9.657 33.262 24 41.562V496c0 8.837 7.163 16 16 16h16c8.837 0 16-7.163 16-16v-83.443C109.869 395.28 143.259 384 199.826 384c49.132 0 93.305 32 161.913 32c58.479 0 101.972-22.617 128.548-39.981C503.846 367.161 512 352.051 512 335.855V95.937c0-34.459-35.264-57.768-66.904-44.117C409.193 67.309 371.641 80 336.174 80M464 336c-21.783 15.412-60.824 32-102.261 32c-59.945 0-102.002-32-161.913-32c-43.361 0-96.379 9.403-127.826 24V128c21.784-15.412 60.824-32 102.261-32c59.945 0 102.002 32 161.913 32c43.271 0 96.32-17.366 127.826-32z"/></svg>

How to use the Flag icon

React

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

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

Vue

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

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

Svelte

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

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

Tailwind CSS

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

UnoCSS

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

Web component

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

<iconify-icon icon="fa-regular:flag"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/fa-regular/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. Font Awesome 5 Regular icons are released under the CC BY 4.0 license, which allows use in personal and commercial projects as long as you credit the author.

How do I use the Flag icon in React?

Install @iconify/react and render <Icon icon="fa-regular: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/fa-regular/flag.svg" alt="Flag icon">, or paste the SVG code inline to style it with CSS.

Browse all Font Awesome 5 Regular icons →