Rainbow Flag icon
fluent-emoji-flat:rainbow-flag
The Rainbow Flag icon (fluent-emoji-flat:rainbow-flag) is a free SVG icon from the Fluent Emoji Flat set by Microsoft Corporation. It is drawn on a 32 × 32 grid. Fluent Emoji Flat 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
- Fluent Emoji Flat
- Author
- Microsoft Corporation
- License
- MIT
- Size
- 32 × 32
- Category
- Flags
- Tags
- rainbowflag
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32"><g fill="none"><path fill="#f8312f" d="m2 9l2 1h24l2-1V7a1 1 0 0 0-1-1H3a1 1 0 0 0-1 1z"/><path fill="#8d65c5" d="M2 25a1 1 0 0 0 1 1h26a1 1 0 0 0 1-1v-2l-2-1H4l-2 1z"/><path fill="#ffb02e" d="m2 12l2 1h24l2-1V9H2z"/><path fill="#3f5fff" d="M2 23h28v-3l-2-1H4l-2 1z"/><path fill="#00d26a" d="M2 20h28v-4l-2-1H4l-2 1z"/><path fill="#fff478" d="M30 16v-4H2v4z"/></g></svg>How to use the Rainbow Flag icon
React
import { Icon } from "@iconify/react";
<Icon icon="fluent-emoji-flat:rainbow-flag" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="fluent-emoji-flat:rainbow-flag" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="fluent-emoji-flat:rainbow-flag" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[fluent-emoji-flat--rainbow-flag]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/fluent-emoji-flat -->
<div class="i-fluent-emoji-flat:rainbow-flag"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="fluent-emoji-flat:rainbow-flag"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/fluent-emoji-flat/rainbow-flag.svg" alt="Rainbow Flag icon" width="24" height="24">Related icons in Fluent Emoji Flat
Rainbow Flag icon in other icon sets
Rainbow Flag icon FAQ
Is the Rainbow Flag icon free for commercial use?
Yes. Fluent Emoji Flat icons are released under the MIT license, which allows use in personal and commercial projects.
How do I use the Rainbow Flag icon in React?
Install @iconify/react and render <Icon icon="fluent-emoji-flat:rainbow-flag" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Rainbow Flag icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/fluent-emoji-flat/rainbow-flag.svg" alt="Rainbow Flag icon">, or paste the SVG code inline to style it with CSS.