Cart icon
ei:cart
The Cart icon (ei:cart) is a free SVG icon from the Evil Icons set by Alexander Madyankin and Roman Shamin. It is drawn on a 50 × 50 grid. Evil 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
- Evil Icons
- Author
- Alexander Madyankin and Roman Shamin
- License
- MIT
- Size
- 50 × 50
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="50" height="50" viewBox="0 0 50 50"><path fill="currentColor" d="M35 34H13c-.3 0-.6-.2-.8-.4s-.2-.6-.1-.9l1.9-4.8L12.1 10H6V8h7c.5 0 .9.4 1 .9l2 19c0 .2 0 .3-.1.5L14.5 32H36z"/><path fill="currentColor" d="m15.2 29l-.4-2L38 22.2V14H14v-2h25c.6 0 1 .4 1 1v10c0 .5-.3.9-.8 1zM36 40c-2.2 0-4-1.8-4-4s1.8-4 4-4s4 1.8 4 4s-1.8 4-4 4m0-6c-1.1 0-2 .9-2 2s.9 2 2 2s2-.9 2-2s-.9-2-2-2m-24 6c-2.2 0-4-1.8-4-4s1.8-4 4-4s4 1.8 4 4s-1.8 4-4 4m0-6c-1.1 0-2 .9-2 2s.9 2 2 2s2-.9 2-2s-.9-2-2-2"/></svg>How to use the Cart icon
React
import { Icon } from "@iconify/react";
<Icon icon="ei:cart" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="ei:cart" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="ei:cart" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[ei--cart]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/ei -->
<div class="i-ei:cart"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="ei:cart"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/ei/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. Evil Icons are released under the MIT license, which allows use in personal and commercial projects.
How do I use the Cart icon in React?
Install @iconify/react and render <Icon icon="ei: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/ei/cart.svg" alt="Cart icon">, or paste the SVG code inline to style it with CSS.