ICONYZ
English
Flag icon from Font Awesome 4

Flag icon

fa:flag

The Flag icon (fa:flag) is a free SVG icon from the Font Awesome 4 set by Dave Gandy. It is drawn on a 1728 × 1536 grid. Font Awesome 4 icons are released under the Open Font 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
Font Awesome 4
Author
Dave Gandy
License
OFL-1.1
Size
1728 × 1536
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="1728" height="1536" viewBox="0 0 1728 1536"><path fill="currentColor" d="M256 128q0 72-64 110v1266q0 13-9.5 22.5T160 1536H96q-13 0-22.5-9.5T64 1504V238Q0 200 0 128q0-53 37.5-90.5T128 0t90.5 37.5T256 128m1472 64v763q0 25-12.5 38.5T1676 1021q-215 116-369 116q-61 0-123.5-22t-108.5-48t-115.5-48T817 997q-192 0-464 146q-17 9-33 9q-26 0-45-19t-19-45V346q0-32 31-55q21-14 79-43q236-120 421-120q107 0 200 29t219 88q38 19 88 19q54 0 117.5-21t110-47t88-47t54.5-21q26 0 45 19t19 45"/></svg>

How to use the Flag icon

React

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

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

Vue

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

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

Svelte

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

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

Tailwind CSS

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

UnoCSS

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

Web component

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

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

HTML image

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

Related icons in Font Awesome 4

Flag icon in other icon sets

Flag icon FAQ

Is the Flag icon free for commercial use?

Yes. Font Awesome 4 icons are released under the Open Font 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="fa: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/flag.svg" alt="Flag icon">, or paste the SVG code inline to style it with CSS.

Browse all Font Awesome 4 icons →