UAsset
Motion icon · Free

Battery icon — animated SVG

A free battery 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 UAsset

Hover 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-battery" overflow="visible"><style>.uah-battery g.uam,.uah-battery [class^=p]{transform-box:fill-box;transform-origin:center}:is(.uah-battery:hover,:hover>.uah-battery,:focus-visible>.uah-battery) .pa{animation:uaLfade 0.50s cubic-bezier(.65,0,.35,1) 0s 1 both}:is(.uah-battery:hover,:hover>.uah-battery,:focus-visible>.uah-battery) .pb{animation:uaLfade 0.50s cubic-bezier(.65,0,.35,1) 0.15s 1 both}@keyframes uaLfade{0%,100%{opacity:1}30%{opacity:.1}}@media (prefers-reduced-motion:reduce){.uah-battery *{animation:none!important}}</style><g class="uam"><rect pathLength="1" x="2" y="7" width="16" height="10" rx="3.5"/><path pathLength="1" d="M22 11v2"/><g class="pa"><path pathLength="1" d="M6 11v2"/></g><g class="pb"><path pathLength="1" d="M10 11v2"/></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-battery" overflow="visible"><style>.ual-battery g.uam,.ual-battery [class^=p]{transform-box:fill-box;transform-origin:center}.ual-battery .pa{animation:uaLfadeL 1.30s cubic-bezier(.65,0,.35,1) 0s infinite}.ual-battery .pb{animation:uaLfadeL 1.30s cubic-bezier(.65,0,.35,1) 0.15s infinite}@keyframes uaLfadeL{0.0%,38.0%{opacity:1}11.4%{opacity:.1}}@media (prefers-reduced-motion:reduce){.ual-battery *{animation:none!important}}</style><g class="uam"><rect pathLength="1" x="2" y="7" width="16" height="10" rx="3.5"/><path pathLength="1" d="M22 11v2"/><g class="pa"><path pathLength="1" d="M6 11v2"/></g><g class="pb"><path pathLength="1" d="M10 11v2"/></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"><rect pathLength="1" x="2" y="7" width="16" height="10" rx="3.5"/><path pathLength="1" d="M22 11v2"/><g class="pa"><path pathLength="1" d="M6 11v2"/></g><g class="pb"><path pathLength="1" d="M10 11v2"/></g></svg>

Tags: battery, devices, line, outline, stroke

More Devices motion icons

MonitorLaptopSmartphoneTabletWatchKeyboardMouseCPUServerWifiBluetoothBattery ChargingPlugPowerRouterBattery LowWebcamSmartwatchRadarSatellite DishBattery FullCast ScreenScreen PlayPhone Verified

Browse categories