ICONYZ
English
Flag Straight icon from Pepicons

Flag Straight icon

pepicons:flag-straight

The Flag Straight icon (pepicons:flag-straight) is a free SVG icon from the Pepicons set by CyCraft. It is drawn on a 20 × 20 grid. Pepicons 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
Pepicons
Author
CyCraft
License
CC-BY-4.0
Size
20 × 20
Tags
flagstraight, flag2
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><g fill="currentColor" fill-rule="evenodd" clip-rule="evenodd"><path d="M4.5 4v6h10.159l-1.197-1.71a2.25 2.25 0 0 1 0-2.58L14.659 4H4.5Zm-1-2a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h13.08a1 1 0 0 0 .819-1.573L15.1 7.143a.25.25 0 0 1 0-.286l2.3-3.284A1 1 0 0 0 16.579 2H3.5Z"/><path d="M3.5 3a1 1 0 0 1 1 1v13a1 1 0 1 1-2 0V4a1 1 0 0 1 1-1Z"/></g></svg>

How to use the Flag Straight icon

React

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

<Icon icon="pepicons:flag-straight" width="24" />

Vue

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

<template>
  <Icon icon="pepicons:flag-straight" width="24" />
</template>

Svelte

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

<Icon icon="pepicons:flag-straight" width="24" />

Tailwind CSS

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

UnoCSS

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

Web component

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

<iconify-icon icon="pepicons:flag-straight"></iconify-icon>

HTML image

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

Related icons in Pepicons

Flag Straight icon in other icon sets

Flag Straight icon FAQ

Is the Flag Straight icon free for commercial use?

Yes. Pepicons 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 Straight icon in React?

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

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

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

Browse all Pepicons →