Menu

Cart Button SVG element, flat

Cart Button SVG element, flat

A shopping cart with a basket, handle, and two wheels fills this rounded button. Use it on a product page or in a checkout header.

Similar SVGs

More from Website Buttons, Flat

How to use it

HTML <img>
<img src="https://db.amnt.io/storage/v1/object/public/generated_images/svg-api/ZXojjsVxOeAH/amnt.svg" alt="Cart Button" width="48" height="48">
Inline SVG
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 240 80" preserveAspectRatio="none" fill="currentColor"><path fill-rule="evenodd" d="M22 5h196a18 18 0 0 1 18 18v34a18 18 0 0 1-18 18H22A18 18 0 0 1 4 57V23A18 18 0 0 1 22 5Zm67 18h10l5 24h40v5h-44l-5-24h-6Zm15 8h48l-6 15h-39Zm9 24a4 4 0 1 0 0 8 4 4 0 0 0 0-8Zm29 0a4 4 0 1 0 0 8 4 4 0 0 0 0-8Z"/></svg>
CSS background-image
.cart-button {
  background-image: url("https://db.amnt.io/storage/v1/object/public/generated_images/svg-api/ZXojjsVxOeAH/amnt.svg");
  background-size: contain;
}
CSS mask-image (takes the text colour)
.cart-button {
  width: 1.5em; height: 1.5em;
  background-color: currentColor;
  mask: url("https://db.amnt.io/storage/v1/object/public/generated_images/svg-api/ZXojjsVxOeAH/amnt.svg") center / contain no-repeat;
}
React
import CartButtonSvg from "./cart-button.jsx"; // from the React tab above

<CartButtonSvg width={48} height={48} />

Tags

Made with AMNT

AMNT SVG 1.1 drew this from the words Cart Button: Wide rounded button with a shopping cart basket, handle, and two wheels. as part of the pack Website Buttons, Flat. Want one like it? Make your own in the SVG studio.

Licence: free. A Free account may use it for personal work; Pro and Max download it with a commercial licence, fixed at download, forever. No credit needed. Read the licence

Settings