ICONYZ
English
Cart icon from Memory Icons

Cart icon

memory:cart

The Cart icon (memory:cart) is a free SVG icon from the Memory Icons set by Pictogrammers. It is drawn on a 22 × 22 grid. Memory 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
Memory Icons
Author
Pictogrammers
License
Apache-2.0
Size
22 × 22
Category
Shopping
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="22" height="22" viewBox="0 0 22 22"><path fill="currentColor" d="M19 14v2H6v-1H5v-4H4V8H3V3H1V1h4v3h16v4h-1v3h-1v1H7v2zM5 7h1v3h12V7h1V6H5zm2 10h2v1h1v2H9v1H7v-1H6v-2h1zm8 0h2v1h1v2h-1v1h-2v-1h-1v-2h1z"/></svg>

How to use the Cart icon

React

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

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

Vue

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

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

Svelte

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

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

Tailwind CSS

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

UnoCSS

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

Web component

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

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

HTML image

<img src="https://iconyz.com/api/public/svg/memory/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. Memory Icons are released under the Apache 2.0 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="memory: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/memory/cart.svg" alt="Cart icon">, or paste the SVG code inline to style it with CSS.

Browse all Memory Icons →