softicons.dev

shopping cart icon

Free shopping cart SVG icon, MIT licensed. Copy the SVG, install for React/Vue/Angular, or download. Part of the Softicons commerce set.

Setup guide
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"
     fill="none" stroke="currentColor" stroke-width="2"
     stroke-linecap="round" stroke-linejoin="round">
  <circle cx="9" cy="20" r="1.6"/>
  <circle cx="18" cy="20" r="1.6"/>
  <path d="M2 3h2.5l2.3 11.4a2 2 0 0 0 2 1.6h8.6a2 2 0 0 0 2-1.6L21 7H6"/>
</svg>
<!-- via the CDN — no build step -->
<img src="https://cdn.softicons.dev/v1/icons/commerce/shopping-cart.svg"
     width="24" height="24" alt="shopping cart icon">

<!-- …or paste the raw SVG from the SVG tab -->
import { ShoppingCartIcon } from "@softicons/react";

export default function Example() {
  return <ShoppingCartIcon size={24} strokeWidth={2} />;
}
<script setup>
import { ShoppingCartIcon } from "@softicons/vue";
</script>

<template>
  <ShoppingCartIcon :size="24" :stroke-width="2" />
</template>
import { ShoppingCartIconComponent } from "@softicons/angular";

@Component({
  standalone: true,
  imports: [ShoppingCartIconComponent],
  template: `<shopping-cart-icon [size]="24" [strokeWidth]="2" />`,
})
export class DemoComponent {}