ICONYZ
English
Shopping Cart icon from Keyline Icons

Shopping Cart icon

keyline-icons:shopping-cart

The Shopping Cart icon (keyline-icons:shopping-cart) is a free SVG icon from the Keyline Icons set. It is drawn on a 24 × 24 grid. Keyline 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
Keyline Icons
Author
Keyline Icons
License
MIT
Size
24 × 24
Tags
shoppingcart
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><g fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"><path d="M2 3H3.2192C3.6781 3 4.0781 3.3123 4.1894 3.7575L5 7M5 7H20.9978C21.7204 7 22.2044 7.74289 21.9126 8.40393L19.2632 14.4039C19.1032 14.7662 18.7445 15 18.3484 15H7.78078C7.32191 15 6.92193 14.6877 6.81063 14.2425L5 7Z"/><path fill="currentColor" d="M10.5 20.5C10.5 21.3284 9.8284 22 9 22C8.1716 22 7.5 21.3284 7.5 20.5C7.5 19.6716 8.1716 19 9 19C9.8284 19 10.5 19.6716 10.5 20.5ZM18.5 20.5C18.5 21.3284 17.8284 22 17 22C16.1716 22 15.5 21.3284 15.5 20.5C15.5 19.6716 16.1716 19 17 19C17.8284 19 18.5 19.6716 18.5 20.5Z" stroke="none"/></g></svg>

How to use the Shopping Cart icon

React

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

<Icon icon="keyline-icons:shopping-cart" width="24" />

Vue

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

<template>
  <Icon icon="keyline-icons:shopping-cart" width="24" />
</template>

Svelte

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

<Icon icon="keyline-icons:shopping-cart" width="24" />

Tailwind CSS

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

UnoCSS

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

Web component

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

<iconify-icon icon="keyline-icons:shopping-cart"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/keyline-icons/shopping-cart.svg" alt="Shopping Cart icon" width="24" height="24">

Related icons in Keyline Icons

Shopping Cart icon in other icon sets

Shopping Cart icon FAQ

Is the Shopping Cart icon free for commercial use?

Yes. Keyline Icons are released under the MIT license, which allows use in personal and commercial projects.

How do I use the Shopping Cart icon in React?

Install @iconify/react and render <Icon icon="keyline-icons: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/keyline-icons/shopping-cart.svg" alt="Shopping Cart icon">, or paste the SVG code inline to style it with CSS.

Browse all Keyline Icons →