Flag icon
raphael:flag
The Flag icon (raphael:flag) is a free SVG icon from the Raphael set by Dmitry Baranovskiy. It is drawn on a 32 × 32 grid. Raphael 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
- Raphael
- Author
- Dmitry Baranovskiy
- License
- MIT
- Size
- 32 × 32
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32"><path fill="currentColor" d="M9.5 3v10c8 0 8 4 16 4V7c-8 0-8-4-16-4m-3 26h2V3h-2z"/></svg>How to use the Flag icon
React
import { Icon } from "@iconify/react";
<Icon icon="raphael:flag" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="raphael:flag" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="raphael:flag" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[raphael--flag]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/raphael -->
<div class="i-raphael:flag"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="raphael:flag"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/raphael/flag.svg" alt="Flag icon" width="24" height="24">Related icons in Raphael
Flag icon in other icon sets
Flag icon FAQ
Is the Flag icon free for commercial use?
Yes. Raphael 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="raphael: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/raphael/flag.svg" alt="Flag icon">, or paste the SVG code inline to style it with CSS.