ICONYZ
English
Cart icon from IcoMoon Free

Cart icon

icomoon-free:cart

The Cart icon (icomoon-free:cart) is a free SVG icon from the IcoMoon Free set by Keyamoon. It is drawn on a 24 × 24 grid. IcoMoon Free icons are released under the GPL license, which allows use in personal and commercial projects; modified versions of the icon files must keep the same license. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.

Icon set
IcoMoon Free
Author
Keyamoon
License
GPL-3.0-or-later
Size
24 × 24
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M6 14.5a1.5 1.5 0 1 1-3.001-.001A1.5 1.5 0 0 1 6 14.5m10 0a1.5 1.5 0 1 1-3.001-.001A1.5 1.5 0 0 1 16 14.5M16 8V2H4a1 1 0 0 0-1-1H0v1h2l.751 6.438A2 2 0 0 0 4 12h12v-1H4a1 1 0 0 1-1-1v-.01z"/></svg>

How to use the Cart icon

React

import { Icon } from "@iconify/react";

<Icon icon="icomoon-free:cart" width="24" />

Vue

<script setup>
import { Icon } from "@iconify/vue";
</script>

<template>
  <Icon icon="icomoon-free:cart" width="24" />
</template>

Svelte

<script>
  import Icon from "@iconify/svelte";
</script>

<Icon icon="icomoon-free:cart" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[icomoon-free--cart]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/icomoon-free -->
<div class="i-icomoon-free:cart"></div>

Web component

<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>

<iconify-icon icon="icomoon-free:cart"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/icomoon-free/cart.svg" alt="Cart icon" width="24" height="24">

Cart icon in other icon sets

Cart icon FAQ

Is the Cart icon free for commercial use?

Yes. IcoMoon Free icons are released under the GPL license, which allows use in personal and commercial projects; modified versions of the icon files must keep the same license.

How do I use the Cart icon in React?

Install @iconify/react and render <Icon icon="icomoon-free:cart" />, or use “Copy code” on this page to get a standalone React component.

How do I add the Cart icon to a web page?

Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/icomoon-free/cart.svg" alt="Cart icon">, or paste the SVG code inline to style it with CSS.

Browse all IcoMoon Free icons →