ICONYZ
English
Flag 2 icon from Lineicons

Flag 2 icon

lineicons:flag-2

The Flag 2 icon (lineicons:flag-2) is a free SVG icon from the Lineicons set. It is drawn on a 25 × 25 grid. Lineicons 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
Lineicons
Author
Lineicons
License
MIT
Size
25 × 25
Category
regular
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="25" height="25" viewBox="0 0 25 25"><path fill="currentColor" d="M6.273 3.41a.75.75 0 1 0-1.5 0v18.5a.75.75 0 0 0 1.5 0v-6h5.25a2.25 2.25 0 0 0 2.25 2.25h5.25a.75.75 0 0 0 .684-1.058l-1.973-4.384a.75.75 0 0 1 0-.616l1.973-4.384a.75.75 0 0 0-.684-1.058h-6a2.25 2.25 0 0 0-2.25-2.25h-4.5zm0 2.5h4.5a.75.75 0 0 1 .75.75v7.75h-5.25zm6.75 2.25h4.84l-1.497 3.327a2.25 2.25 0 0 0 0 1.847l1.497 3.326h-4.09a.75.75 0 0 1-.75-.75z"/></svg>

How to use the Flag 2 icon

React

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

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

Vue

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

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

Svelte

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

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

Tailwind CSS

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

UnoCSS

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

Web component

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

<iconify-icon icon="lineicons:flag-2"></iconify-icon>

HTML image

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

Related icons in Lineicons

Flag 2 icon in other icon sets

Flag 2 icon FAQ

Is the Flag 2 icon free for commercial use?

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

How do I use the Flag 2 icon in React?

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

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

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

Browse all Lineicons →