Live icon · Counts · 20 styles · free
Cart with count live icon
A shopping cart with the number of items in it: a number, "99+", a dot, or an empty cart at zero. Set it here, then download it or paste it anywhere.
Set what it shows
Style Line clean outlines
Colour Style colours
On this page
Cart with count in all 20 styles
Same values, 20 personalities. Pick one to use it above.
For developersOne element or component with your settings: HTML, React or Vue
Install it with npm i @withicons/dynamic, or copy the HTML tab as is. The code follows everything you set above: values, style, colours and size.
<script src="https://cdn.jsdelivr.net/npm/@withicons/dynamic@0.2.1/dist/cdn/lite.js"></script>
<with-live-icon name="cart-count" count="2" dot-only="false" limit="99+" corner="top-right" size="48"></with-live-icon>import { LiveIcon } from '@withicons/dynamic/react'
export function Example() {
return <LiveIcon name="cart-count" count={2} dotOnly={false} limit="99+" corner="top-right" size={48} />
}<script setup>
import { LiveIcon } from '@withicons/dynamic/vue'
</script>
<template>
<LiveIcon name="cart-count" :count="2" :dot-only="false" limit="99+" corner="top-right" :size="48" />
</template>What you can change
| Setting | What you can set | Default | Attribute |
|---|---|---|---|
| Count (0 hides the badge)Number | 0 to 9999 | 2 | count |
| Dot only (no number)On / off | on or off | off | dot-only |
| Biggest number shownChoice | 99+, 9+ | 99+ | limit |
| Badge cornerChoice | top-right, bottom-right | top-right | corner |
Also called cart items cart badge basket count items in cart shopping cart count trolley count
Questions
How do I change the count on the cart with count icon?
Use the controls next to the preview. Count, Dot only, Biggest number shown, and Badge corner can all be changed, the icon redraws as you go, and the download uses exactly what you see.
Is the cart with count icon free?
Yes. It is free for personal and commercial use under the MIT license, in all 20 styles. No sign-up, no credit needed.
Can I use it in PowerPoint, Google Slides or Canva?
Yes. Download a PNG (see-through background), an SVG or a ready PowerPoint slide, then drag it into your slide or design. SVG stays sharp at any size.
How do I add it to a website?
Add the @withicons/dynamic script and write <with-live-icon name="cart-count"> with your values as attributes. React and Vue get a LiveIcon component.