Flag icon
pajamas:flag
The Flag icon (pajamas:flag) is a free SVG icon from the Gitlab SVGs set by GitLab B.V.. It is drawn on a 24 × 24 grid. Gitlab SVGs icons 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
- Gitlab SVGs
- Author
- GitLab B.V.
- License
- MIT
- Size
- 24 × 24
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" fill-rule="evenodd" d="M13.5 10.174v.012c-1.393.72-2.81.247-4.959-.585l-.17-.066C6.763 8.91 4.685 8.105 2.5 8.63V2.814c1.393-.72 2.81-.247 4.959.585l.17.066c1.607.624 3.685 1.43 5.871.904zM8 11c-1.83-.708-3.659-1.416-5.5-.81v4.06a.75.75 0 0 1-1.5 0V2C3.35.2 5.675 1.1 8 2c1.83.708 3.659 1.416 5.5.81A5 5 0 0 0 15 2v9c-2.35 1.8-4.675.9-7 0" clip-rule="evenodd"/></svg>How to use the Flag icon
React
import { Icon } from "@iconify/react";
<Icon icon="pajamas:flag" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="pajamas:flag" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="pajamas:flag" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[pajamas--flag]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/pajamas -->
<div class="i-pajamas:flag"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="pajamas:flag"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/pajamas/flag.svg" alt="Flag icon" width="24" height="24">Flag icon in other icon sets
Flag icon FAQ
Is the Flag icon free for commercial use?
Yes. Gitlab SVGs icons are released under the MIT 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="pajamas: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/pajamas/flag.svg" alt="Flag icon">, or paste the SVG code inline to style it with CSS.