Buy icon
icons8:buy
The Buy icon (icons8:buy) is a free SVG icon from the Icons8 Windows 10 Icons set by Icons8. It is drawn on a 32 × 32 grid. Icons8 Windows 10 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
- Icons8 Windows 10 Icons
- Author
- Icons8
- 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="M4 7a1 1 0 0 0 0 2h2.22l2.624 10.5c.223.89 1.02 1.5 1.937 1.5h12.47c.903 0 1.67-.6 1.907-1.47L27.75 10h-2.094l-2.406 9H10.78L8.157 8.5A1.984 1.984 0 0 0 6.22 7zm18 14c-1.645 0-3 1.355-3 3s1.355 3 3 3s3-1.355 3-3s-1.355-3-3-3m-9 0c-1.645 0-3 1.355-3 3s1.355 3 3 3s3-1.355 3-3s-1.355-3-3-3m3-14v5h-3l4 4l4-4h-3V7zm-3 16c.564 0 1 .436 1 1s-.436 1-1 1s-1-.436-1-1s.436-1 1-1m9 0c.564 0 1 .436 1 1s-.436 1-1 1s-1-.436-1-1s.436-1 1-1"/></svg>How to use the Buy icon
React
import { Icon } from "@iconify/react";
<Icon icon="icons8:buy" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="icons8:buy" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="icons8:buy" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[icons8--buy]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/icons8 -->
<div class="i-icons8:buy"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="icons8:buy"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/icons8/buy.svg" alt="Buy icon" width="24" height="24">Buy icon in other icon sets
Buy icon FAQ
Is the Buy icon free for commercial use?
Yes. Icons8 Windows 10 Icons are released under the MIT license, which allows use in personal and commercial projects.
How do I use the Buy icon in React?
Install @iconify/react and render <Icon icon="icons8:buy" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Buy icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/icons8/buy.svg" alt="Buy icon">, or paste the SVG code inline to style it with CSS.