Bag icon
uit:bag
The Bag icon (uit:bag) is a free SVG icon from the Unicons Thin Line set by Iconscout. It is drawn on a 24 × 24 grid. Unicons Thin Line icons are released under the Apache 2.0 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
- Unicons Thin Line
- Author
- Iconscout
- License
- Apache-2.0
- Size
- 24 × 24
- Category
- Business
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M19.5 6H16V5a2.003 2.003 0 0 0-2-2h-4a2.003 2.003 0 0 0-2 2v1H4.5A2.5 2.5 0 0 0 2 8.5v10A2.5 2.5 0 0 0 4.5 21h15a2.5 2.5 0 0 0 2.5-2.5v-10A2.5 2.5 0 0 0 19.5 6M9 5a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v1H9zm12 13.5a1.5 1.5 0 0 1-1.5 1.5h-15A1.5 1.5 0 0 1 3 18.5v-6.473l5.842 1.948A.5.5 0 0 0 9 14h6a.5.5 0 0 0 .158-.025L21 12.027zm0-7.494a.5.5 0 0 0-.158.02L14.919 13H9.081l-5.923-1.975a.5.5 0 0 0-.158-.02V8.5A1.5 1.5 0 0 1 4.5 7h15A1.5 1.5 0 0 1 21 8.5z"/></svg>How to use the Bag icon
React
import { Icon } from "@iconify/react";
<Icon icon="uit:bag" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="uit:bag" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="uit:bag" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[uit--bag]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/uit -->
<div class="i-uit:bag"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="uit:bag"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/uit/bag.svg" alt="Bag icon" width="24" height="24">Bag icon in other icon sets
Bag icon FAQ
Is the Bag icon free for commercial use?
Yes. Unicons Thin Line icons are released under the Apache 2.0 license, which allows use in personal and commercial projects.
How do I use the Bag icon in React?
Install @iconify/react and render <Icon icon="uit:bag" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Bag icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/uit/bag.svg" alt="Bag icon">, or paste the SVG code inline to style it with CSS.