Cart icon
system-uicons:cart
The Cart icon (system-uicons:cart) is a free SVG icon from the System UIcons set by Corey Ginnivan. It is drawn on a 21 × 21 grid. System UIcons are released under the Unlicense, which allows use in personal and commercial projects. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.
- Icon set
- System UIcons
- Author
- Corey Ginnivan
- License
- Unlicense
- Size
- 21 × 21
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="21" height="21" viewBox="0 0 21 21"><g fill="none" fill-rule="evenodd"><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" d="M5 6.5h12.5l-1.586 5.55a2 2 0 0 1-1.923 1.45h-6.7a2 2 0 0 1-1.989-1.78L4.5 4.5h-2"/><g fill="currentColor" transform="translate(2 4)"><circle cx="5" cy="12" r="1"/><circle cx="13" cy="12" r="1"/></g></g></svg>How to use the Cart icon
React
import { Icon } from "@iconify/react";
<Icon icon="system-uicons:cart" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="system-uicons:cart" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="system-uicons:cart" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[system-uicons--cart]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/system-uicons -->
<div class="i-system-uicons:cart"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="system-uicons:cart"></iconify-icon>HTML image
<img src="https://icons.sys.karaztherapy.ma/api/public/svg/system-uicons/cart.svg" alt="Cart icon" width="24" height="24">Cart icon in other icon sets
Cart icon FAQ
Is the Cart icon free for commercial use?
Yes. System UIcons are released under the Unlicense, which allows use in personal and commercial projects.
How do I use the Cart icon in React?
Install @iconify/react and render <Icon icon="system-uicons:cart" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Cart icon to a web page?
Link the SVG file in an image tag: <img src="https://icons.sys.karaztherapy.ma/api/public/svg/system-uicons/cart.svg" alt="Cart icon">, or paste the SVG code inline to style it with CSS.