Skip to content
tablericons
Category
general
Styles
Outline, filled
Component
IconFlag

general

Flag icon

Download the Flag icon as free SVG or PNG. Compare outline and filled styles. Copy React, Vue or Svelte code.

  • report
  • banner
  • milestone
  • mark
  • country
  • goal
  • nation
  • finish
Style
Size
Stroke
Color
Download SVG

Press C to copy SVG, J for JSX, D to download.

Code

Copy it the way you use it

flag.svg
<svg
  xmlns="http://www.w3.org/2000/svg"
  width="24"
  height="24"
  viewBox="0 0 24 24"
  fill="none"
  stroke="currentColor"
  stroke-width="2"
  stroke-linecap="round"
  stroke-linejoin="round"
 
>
  <path d="M5 5a5 5 0 0 1 7 0a5 5 0 0 0 7 0v9a5 5 0 0 1 -7 0a5 5 0 0 0 -7 0v-9" />
  <path d="M5 21v-7" />
</svg>

Use the Flag icon

For a decorative icon beside text, add aria-hidden="true" to the SVG. For an icon-only control, put its accessible name on the button or link.

React example
import { IconFlag } from '@tabler/icons-react';

<IconFlag size={24} stroke={2} />
Read the React guide
Vue example
import { IconFlag } from '@tabler/icons-vue';

<IconFlag :size="24" :stroke="2" />
Read the Vue guide
Svelte 5 example
import { IconFlag } from '@tabler/icons-svelte-runes';

<IconFlag size={24} stroke={2} />
Read the Svelte guide

Compare variants and alternatives

Related

Related icons

See all 788 general icons