Live icon · Counts · 34 styles · free
Mail with count live icon
An envelope with an unread-mail count badge: a number, "99+", a dot, or nothing at zero. Set it here, then download it or paste it anywhere.
On this page
Mail with count in all 34 styles
Same values, 34 personalities. Pick one to use it above.
Essentials Clean icons for apps, websites and documents.
Product & brand For SaaS sites, launches and bold brand graphics: tiles, app icons and loud shapes.
3D & glass Depth and shine for hero sections, decks and marketing.
Playful Cute, colourful and fun: for kids, social posts and games.
Artistic Illustrated looks with character: print, editorial and themed designs.
Holidays For festivals and seasonal campaigns: Diwali, Durga Puja, Holi, Halloween, Christmas, Lunar New Year and Valentine's.
For developers
Use it in code
One element, or a React or Vue component, with everything you set above. Change a value after the page loads and it redraws, or moves there with animate.
1Install or skip it: the script tag below loads it from a CDN
npm i @withicons/dynamic2Your element follows the values, style, colours and size you set
<script src="https://cdn.jsdelivr.net/npm/@withicons/dynamic@latest/dist/cdn/lite.js"></script> <with-live-icon name="mail-count" count="5" dot-only="false" limit="99+" corner="top-right" size="48"></with-live-icon>3Change it live from an API, a WebSocket, a timer or a click; with
animateit moves to each new valueCount 5
API: fetch() polling
<script src="https://cdn.jsdelivr.net/npm/@withicons/dynamic@latest/dist/cdn/lite.js"></script> <with-live-icon id="mail" name="mail-count" count="5" size="48" animate></with-live-icon> <script> const icon = document.getElementById('mail') // ask your API now and every 5 seconds. It answers {"count": 0} async function update() { try { const data = await fetch('/api/mail').then(r => r.json()) icon.setAttribute('count', data.count) } catch (e) { /* offline: keep the last value */ } } update() setInterval(update, 5000) </script>Numbers roll, levels ease, clock hands take the short way round and words cross-fade. One change without the attribute:
icon.animateTo({ count: 3 }). Each redraw fires awith-live-renderevent; with reduced motion, values change at once.4Attributes 4 for this icon, plus the ones every live icon takes
Setting What you can set Default Attribute Count (0 hides the badge)Number 0 to 9999 5countDot only (no number)On / off on or off offdot-onlyBiggest number shownChoice 99+, 9+ 99+limitBadge cornerChoice top-right, bottom-right top-rightcornervariantany of the 34 styles (default line) sizepx or any CSS length (default 24) colorthe outline colour (default: the text colour) varsstyle colours as JSON: vars='{"glass-pane":"#cde"}' animatevalue changes move instead of jumping; animate="900" sets the ms labelthe accessible name (default: what it shows); label="" for decoration
Questions
How do I change the count on the mail 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 mail with count icon free?
Yes. It is free for personal and commercial use under the MIT license, in all 34 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="mail-count"> with your values as attributes. React and Vue get a LiveIcon component.
Also called
unread mail email count mail badge unread email new mail email badge mail unread count
Search any of these words to find this icon.