Animated shape subtract icon
The shape subtract icon with a draw animation. Try other motions, change the color and speed, then download an animated SVG for the web, or a GIF or WebP for email, Slack, Notion and slides.
16
20
24
32
48
Style
Animation
Strokes draw themselves in, then out. Works on every line icon.
Color
GIF and WebP size
Animated SVG for websites and apps (plays in browsers, stops for people who prefer reduced motion). GIF for email, Slack, Notion and slides. WebP for sharp, small web animations. Free for personal and commercial use. No attribution required.
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" overflow="visible" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><style>@keyframes ip-draw{0%{transform:translate(0px,0px) rotate(0deg) scale(1,1);opacity:1}100%{transform:translate(0px,0px) rotate(0deg) scale(1,1);opacity:1}}.ip-draw{animation:ip-draw 2.4s cubic-bezier(.65,0,.35,1) infinite;transform-box:view-box;transform-origin:12px 12px}@keyframes ip-draw{0%{stroke-dashoffset:1}45%{stroke-dashoffset:0}80%{stroke-dashoffset:0}100%{stroke-dashoffset:-1}}.ip-draw .ip-d{stroke-dasharray:1;stroke-dashoffset:1;animation:ip-draw 2.4s cubic-bezier(.65,0,.35,1) infinite both}@media (prefers-reduced-motion:reduce){.ip-draw,.ip-draw .ip-d{animation:none!important;stroke-dashoffset:0!important}}</style><g class="ip-draw"><path pathLength="1" class="ip-d" d="M15 9V5a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v8a2 2 0 0 0 2 2h4"/><path pathLength="1" class="ip-d" style="animation-delay:0.144s" d="M9 11V9h2m8 0h2v2m0 8v2h-2m-8 0H9v-2m6-10h1m5 6v1m-6 5h1m-7-6v1"/></g></svg>