ICONYZ
English
Cart icon from Icalicons

Cart icon

il:cart

The Cart icon (il:cart) is a free SVG icon from the Icalicons set by Icalia Labs. It is drawn on a 720 × 820 grid. Icalicons 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
Icalicons
Author
Icalia Labs
License
MIT
Size
720 × 820
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="720" height="820" viewBox="0 0 720 820"><path fill="currentColor" d="M278 557q29 0 49 20t20 50t-20 49t-49 20t-49-20t-21-49t21-50t49-20m324 0q29 0 50 20t20 50t-20 49t-50 20t-49-20t-20-49t20-50t49-20M255 418v24h452q11 0 11 11v46q0 12-11 12H174q-12 0-12-12q0-81-21-159L72 79q-3-8-11-8H5q-5 0-5-5V6q0-5 5-5h129q5 0 5 5v35q0 7 7 7h561q11 0 11 11v186q0 15-9 27t-24 17z"/></svg>

How to use the Cart icon

React

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

<Icon icon="il:cart" width="24" />

Vue

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

<template>
  <Icon icon="il:cart" width="24" />
</template>

Svelte

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

<Icon icon="il:cart" width="24" />

Tailwind CSS

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

UnoCSS

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

Web component

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

<iconify-icon icon="il:cart"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/il/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. Icalicons 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="il: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/il/cart.svg" alt="Cart icon">, or paste the SVG code inline to style it with CSS.

Browse all Icalicons →