ICONYZ
English

Flag Icons

flag · 542 icons · by Panayiotis Lipiridis · MIT · multicolor · Updated

Flag Icons is a free, open source icon set with 542 SVG icons by Panayiotis Lipiridis, released under the MIT license. The icons are multicolor, so they keep their own colors at any size.

Flag Icons design specs

  • filled
  • multicolor

The drawing rules of this set, measured from its SVG files. Use them to design new icons that match it.

Canvas512 × 512 · 52% of icons
viewBox0 0 512 512
Drawing areaFull canvas, no padding
Drawing styleFilled shapes
Corner radius9
ColorsAbout 4 colors per icon
CoordinatesUp to 1 decimal
Straight lines39% horizontal or vertical, 5% at 45°
Curves41% of drawing commands
Symmetry52% of icons are left-right symmetric
Elements per icon19.5
Drawing commands per icon287

Measured from 63 icons of this set.

AI icon generation

The license allows new icons derived from this set.

  • Credit the original authors.

Credit line: Based on Flag Icons by Panayiotis Lipiridis, licensed under MIT. https://github.com/lipis/flag-icons/blob/main/LICENSE

Style guide for an LLM prompt (English)

Paste it into a prompt with a few icons from this set, then name the icon you want.

You draw new icons for the "Flag Icons" icon set (Iconify prefix "flag") by Panayiotis Lipiridis.
Style: filled, solid, multicolor.
Iconify describes the set as: Uses Stroke.

Canvas
- Root: <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512">.
- Draw edge to edge: icons use the full canvas with no padding.
- A typical icon's bounding box covers 100% of the canvas.

Drawing
- Filled icons: draw closed filled shapes; don't use strokes.
- Round corners with a radius of about 9.

Geometry
- Coordinates are free-form; write at most 1 decimal.
- Straight lines: 39% horizontal or vertical, 5% at 45 degrees.
- About 41% of drawing commands are curves or arcs.
- Prefer left-right symmetric shapes (52% of icons are symmetric).
- Keep it simple: about 19 elements and 287 drawing commands per icon.
- Elements used by the set: path, g, use, clippath, defs, circle, ellipse.
- 25% of icons cut or clip shapes with <mask> or <clipPath>.

Color
- Multicolor, about 4 colors per icon. Use this palette: #ffffff, #000001, #000000, #ce1126, red, #000091, #d21034, #e1000f, #fcd116, #ffff00, #002d62, #0053a5.

Output
- Reply with one complete <svg> element and nothing else: no comments, <title>, ids or scripts.
- Match the examples: reuse their shapes for shared parts (arrow heads, people, documents, badges).
Page 1 of 6

About Flag Icons

Popular Flag Icons include fr 1x1, de 1x1, bh 1x1, kr 1x1, ee 1x1 and bg 1x1.

Open any icon to copy it as SVG, JSX, Vue, Svelte, Solid, Astro or CSS, or download it as SVG or PNG. Flag Icons are released under the MIT license, which allows use in personal and commercial projects.

How to use Flag Icons

Every icon on this page works in any framework. Examples use flag:fr-1x1; open an icon to copy its exact SVG, JSX, Vue, Svelte, Solid, Astro or CSS code. For sizing, color and accessibility tips, read how to use SVG icons.

React

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

<Icon icon="flag:fr-1x1" width="24" />

Vue

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

<template>
  <Icon icon="flag:fr-1x1" width="24" />
</template>

Svelte

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

<Icon icon="flag:fr-1x1" width="24" />

Tailwind CSS

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

UnoCSS

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

Web component

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

<iconify-icon icon="flag:fr-1x1"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/flag/fr-1x1.svg" alt="Fr 1x1 icon" width="24" height="24">

Flag Icons FAQ

Are Flag Icons free for commercial use?

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

How many icons are in Flag Icons?

Flag Icons contains 542 icons.

What license do Flag Icons use?

Flag Icons are licensed under MIT. The full license text is available at https://github.com/lipis/flag-icons/blob/main/LICENSE.

Who made Flag Icons?

Flag Icons are created by Panayiotis Lipiridis.

How do I use Flag Icons in React?

Install @iconify/react and render <Icon icon="flag:fr-1x1" />, or open any icon on this page and copy it as a standalone React component.

Similar icon sets