Bg icon
flagpack:bg
The Bg icon (flagpack:bg) is a free SVG icon from the Flagpack set by Yummygum. It is drawn on a 32 × 24 grid. Flagpack 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.
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="32" height="24" viewBox="0 0 32 24"><g fill="none"><path fill="#5eaa22" fill-rule="evenodd" d="M0 0v24h32V0z" clip-rule="evenodd"/><mask id="SVGcFaS5cXn" width="32" height="24" x="0" y="0" maskUnits="userSpaceOnUse" style="mask-type:luminance"><path fill="#fff" fill-rule="evenodd" d="M0 0v24h32V0z" clip-rule="evenodd"/></mask><g fill-rule="evenodd" clip-rule="evenodd" mask="url(#SVGcFaS5cXn)"><path fill="#f7fcff" d="M0 0v8h32V0z"/><path fill="#e22c18" d="M0 16v8h32v-8z"/></g></g></svg>How to use the Bg icon
React
import { Icon } from "@iconify/react";
<Icon icon="flagpack:bg" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="flagpack:bg" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="flagpack:bg" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[flagpack--bg]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/flagpack -->
<div class="i-flagpack:bg"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="flagpack:bg"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/flagpack/bg.svg" alt="Bg icon" width="24" height="24">Bg icon in other icon sets
Bg icon FAQ
Is the Bg icon free for commercial use?
Yes. Flagpack icons are released under the MIT license, which allows use in personal and commercial projects.
How do I use the Bg icon in React?
Install @iconify/react and render <Icon icon="flagpack:bg" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Bg icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/flagpack/bg.svg" alt="Bg icon">, or paste the SVG code inline to style it with CSS.