Motion icon · Free
Spray Can icon — animated SVG
A free spray can motion icon that acts out its meaning. The animation is pure CSS inside the SVG, so it works in any website or app without Lottie or JavaScript. 24px grid, 2px stroke, round caps. Free for personal and commercial use.
Open in UAssetHover SVG code (plays when hovered)
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" class="uah-spray-can" overflow="visible"><style>.uah-spray-can g.uam,.uah-spray-can [class^=p]{transform-box:fill-box;transform-origin:center}:is(.uah-spray-can:hover,:hover>.uah-spray-can,:focus-visible>.uah-spray-can) .pa{animation:uaLspray 0.60s cubic-bezier(.2,.8,.2,1) 0s 1 both}:is(.uah-spray-can:hover,:hover>.uah-spray-can,:focus-visible>.uah-spray-can) g.uam{animation:uaLpress 0.40s cubic-bezier(.65,0,.35,1) 0s 1 both}@keyframes uaLspray{0%{transform:scale(.3);opacity:0}50%{transform:scale(1.15);opacity:1}100%{transform:none;opacity:1}}@keyframes uaLpress{0%,100%{transform:none}30%{transform:scale(.84)}62%{transform:scale(1.07)}}@media (prefers-reduced-motion:reduce){.uah-spray-can *{animation:none!important}}</style><g class="uam"><path pathLength="1" d="M 5.3,9.61 a 1.91,1.91 0 0,1 1.91,-1.91 l 3.83,0 a 1.91,1.91 0 0,1 1.91,1.91 l 0,10.52 a 1.91,1.91 0 0,1 -1.91,1.91 L 7.22,22.05 a 1.91,1.91 0 0,1 -1.91,-1.91 z M 7.22,7.7 L 7.22,4.83 l 3.83,0 l 0,2.87"/><g class="pa"><path pathLength="1" d="M 14.87,4.83 l 0.01,0 M 17.74,3.87 l 0.01,0 M 17.74,6.74 l 0.01,0 M 20.61,4.83 l 0.01,0 M 20.61,7.7 l 0.01,0 M 20.61,1.96 l 0.01,0"/></g></g></svg>Looping SVG code
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" class="ual-spray-can" overflow="visible"><style>.ual-spray-can g.uam,.ual-spray-can [class^=p]{transform-box:fill-box;transform-origin:center}.ual-spray-can .pa{animation:uaLsprayL 1.56s cubic-bezier(.2,.8,.2,1) 0s infinite}.ual-spray-can g.uam{animation:uaLpressL 1.04s cubic-bezier(.65,0,.35,1) 0s infinite}@keyframes uaLsprayL{0.0%{transform:scale(.3);opacity:0}19.0%{transform:scale(1.15);opacity:1}38.0%{transform:none;opacity:1}}@keyframes uaLpressL{0.0%,38.0%{transform:none}11.4%{transform:scale(.84)}23.6%{transform:scale(1.07)}}@media (prefers-reduced-motion:reduce){.ual-spray-can *{animation:none!important}}</style><g class="uam"><path pathLength="1" d="M 5.3,9.61 a 1.91,1.91 0 0,1 1.91,-1.91 l 3.83,0 a 1.91,1.91 0 0,1 1.91,1.91 l 0,10.52 a 1.91,1.91 0 0,1 -1.91,1.91 L 7.22,22.05 a 1.91,1.91 0 0,1 -1.91,-1.91 z M 7.22,7.7 L 7.22,4.83 l 3.83,0 l 0,2.87"/><g class="pa"><path pathLength="1" d="M 14.87,4.83 l 0.01,0 M 17.74,3.87 l 0.01,0 M 17.74,6.74 l 0.01,0 M 20.61,4.83 l 0.01,0 M 20.61,7.7 l 0.01,0 M 20.61,1.96 l 0.01,0"/></g></g></svg>
Static SVG code
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path pathLength="1" d="M 5.3,9.61 a 1.91,1.91 0 0,1 1.91,-1.91 l 3.83,0 a 1.91,1.91 0 0,1 1.91,1.91 l 0,10.52 a 1.91,1.91 0 0,1 -1.91,1.91 L 7.22,22.05 a 1.91,1.91 0 0,1 -1.91,-1.91 z M 7.22,7.7 L 7.22,4.83 l 3.83,0 l 0,2.87"/><g class="pa"><path pathLength="1" d="M 14.87,4.83 l 0.01,0 M 17.74,3.87 l 0.01,0 M 17.74,6.74 l 0.01,0 M 20.61,4.83 l 0.01,0 M 20.61,7.7 l 0.01,0 M 20.61,1.96 l 0.01,0"/></g></svg>
Tags: can, creative, line, outline, spray, stroke
More Creative motion icons
LayersPaletteBrushPen ToolCropTypeSparklesEraserHighlighterPaint BucketPipetteMagic WandBezier CurveShapesColor SwatchesFramePaint RollerPencil RulerStickerGridVideo EditBrand MarkPen ToolCrop