shopping cart icon

shopping-cart from css.gg by Astrit · Outline · MIT Free for personal and commercial use.

Name
shopping-cart
Set
css.gg
Style
Outline
Viewbox
24×24
License
MIT

The same icon in other sets

Related icons in css.gg

Use the shopping cart icon

SVG

<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><g fill="currentColor"><path fill-rule="evenodd" d="M5.792 2H1v2h3.218l2.77 12.678H7V17h13v-.248l2.193-9.661L22.531 6H6.655l-.57-2.611zm14.195 6H7.092l1.529 7h9.777z" clip-rule="evenodd"/><path d="M10 22a2 2 0 1 0 0-4a2 2 0 0 0 0 4m9-2a2 2 0 1 1-4 0a2 2 0 0 1 4 0"/></g></svg>

React

import type { SVGProps } from "react";

export function GgShoppingCart(props: SVGProps<SVGSVGElement>) {
  return (
    <svg {...props} xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><g fill="currentColor"><path fillRule="evenodd" d="M5.792 2H1v2h3.218l2.77 12.678H7V17h13v-.248l2.193-9.661L22.531 6H6.655l-.57-2.611zm14.195 6H7.092l1.529 7h9.777z" clipRule="evenodd"/><path d="M10 22a2 2 0 1 0 0-4a2 2 0 0 0 0 4m9-2a2 2 0 1 1-4 0a2 2 0 0 1 4 0"/></g></svg>
  );
}

Vue

<template>
  <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><g fill="currentColor"><path fill-rule="evenodd" d="M5.792 2H1v2h3.218l2.77 12.678H7V17h13v-.248l2.193-9.661L22.531 6H6.655l-.57-2.611zm14.195 6H7.092l1.529 7h9.777z" clip-rule="evenodd"/><path d="M10 22a2 2 0 1 0 0-4a2 2 0 0 0 0 4m9-2a2 2 0 1 1-4 0a2 2 0 0 1 4 0"/></g></svg>
</template>

CSS

.icon-shopping-cart {
  width: 24px;
  height: 24px;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%221em%22%20height%3D%221em%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cg%20fill%3D%22currentColor%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20d%3D%22M5.792%202H1v2h3.218l2.77%2012.678H7V17h13v-.248l2.193-9.661L22.531%206H6.655l-.57-2.611zm14.195%206H7.092l1.529%207h9.777z%22%20clip-rule%3D%22evenodd%22%2F%3E%3Cpath%20d%3D%22M10%2022a2%202%200%201%200%200-4a2%202%200%200%200%200%204m9-2a2%202%200%201%201-4%200a2%202%200%200%201%204%200%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%221em%22%20height%3D%221em%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cg%20fill%3D%22currentColor%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20d%3D%22M5.792%202H1v2h3.218l2.77%2012.678H7V17h13v-.248l2.193-9.661L22.531%206H6.655l-.57-2.611zm14.195%206H7.092l1.529%207h9.777z%22%20clip-rule%3D%22evenodd%22%2F%3E%3Cpath%20d%3D%22M10%2022a2%202%200%201%200%200-4a2%202%200%200%200%200%204m9-2a2%202%200%201%201-4%200a2%202%200%200%201%204%200%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E") no-repeat center / contain;
}

Direct links: SVG · download · JSON · https://iconsdb.app/api/v1/icon/gg/shopping-cart.svg?color=%231a73e8&size=48