Shopping Cart icon
typcn:shopping-cart
The Shopping Cart icon (typcn:shopping-cart) is a free SVG icon from the Typicons set by Stephen Hutchings. It is drawn on a 24 × 24 grid. Typicons are released under the CC BY-SA 4.0 license, which allows use in personal and commercial projects as long as you credit the author and share changes to the icons under the same license. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.
- Icon set
- Typicons
- Author
- Stephen Hutchings
- License
- CC-BY-SA-4.0
- Size
- 24 × 24
- Tags
- shoppingcart
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M20.756 5.345A1 1 0 0 0 20 5H6.181l-.195-1.164A1 1 0 0 0 5 3H2.75a1 1 0 1 0 0 2h1.403l1.86 11.164l.045.124l.054.151l.12.179l.095.112l.193.13l.112.065a1 1 0 0 0 .367.075H18a1 1 0 1 0 0-2H7.847l-.166-1H19a1 1 0 0 0 .99-.858l1-7a1 1 0 0 0-.234-.797M18.847 7l-.285 2H15V7zM14 7v2h-3V7zm0 3v2h-3v-2zm-4-3v2H7l-.148.03L6.514 7zm-2.986 3H10v2H7.347zM15 12v-2h3.418l-.285 2z"/><circle cx="8.5" cy="19.5" r="1.5" fill="currentColor"/><circle cx="17.5" cy="19.5" r="1.5" fill="currentColor"/></svg>How to use the Shopping Cart icon
React
import { Icon } from "@iconify/react";
<Icon icon="typcn:shopping-cart" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="typcn:shopping-cart" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="typcn:shopping-cart" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[typcn--shopping-cart]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/typcn -->
<div class="i-typcn:shopping-cart"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="typcn:shopping-cart"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/typcn/shopping-cart.svg" alt="Shopping Cart icon" width="24" height="24">Related icons in Typicons
Shopping Cart icon in other icon sets
Shopping Cart icon FAQ
Is the Shopping Cart icon free for commercial use?
Yes. Typicons are released under the CC BY-SA 4.0 license, which allows use in personal and commercial projects as long as you credit the author and share changes to the icons under the same license.
How do I use the Shopping Cart icon in React?
Install @iconify/react and render <Icon icon="typcn:shopping-cart" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Shopping Cart icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/typcn/shopping-cart.svg" alt="Shopping Cart icon">, or paste the SVG code inline to style it with CSS.