Motion icon · Free
Key icon — animated SVG
A free key 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-key" overflow="visible"><style>.uah-key g.uam,.uah-key [class^=p]{transform-box:fill-box;transform-origin:center}:is(.uah-key:hover,:hover>.uah-key,:focus-visible>.uah-key) g.uam{animation:uaLkey 0.80s cubic-bezier(.65,0,.35,1) 0s 1 both}@keyframes uaLkey{0%,100%{transform:none}35%{transform:rotate(-28deg)}65%{transform:rotate(6deg)}}@media (prefers-reduced-motion:reduce){.uah-key *{animation:none!important}}</style><g class="uam" style="transform-box:view-box;transform-origin:7.5px 15.5px"><circle pathLength="1" cx="7.5" cy="15.5" r="5.5"/><path pathLength="1" d="m21 2-9.6 9.6"/><path pathLength="1" d="M15.5 7.5l3 3L22 7l-3-3"/></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-key" overflow="visible"><style>.ual-key g.uam,.ual-key [class^=p]{transform-box:fill-box;transform-origin:center}.ual-key g.uam{animation:uaLkeyL 2.08s cubic-bezier(.65,0,.35,1) 0s infinite}@keyframes uaLkeyL{0.0%,38.0%{transform:none}13.3%{transform:rotate(-28deg)}24.7%{transform:rotate(6deg)}}@media (prefers-reduced-motion:reduce){.ual-key *{animation:none!important}}</style><g class="uam" style="transform-box:view-box;transform-origin:7.5px 15.5px"><circle pathLength="1" cx="7.5" cy="15.5" r="5.5"/><path pathLength="1" d="m21 2-9.6 9.6"/><path pathLength="1" d="M15.5 7.5l3 3L22 7l-3-3"/></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"><circle pathLength="1" cx="7.5" cy="15.5" r="5.5"/><path pathLength="1" d="m21 2-9.6 9.6"/><path pathLength="1" d="M15.5 7.5l3 3L22 7l-3-3"/></svg>
Tags: key, line, outline, security, stroke
More Security motion icons
LockUnlockShieldShield CheckFingerprintInfoHelpAlert TriangleAlert CircleBanShield AlertFace IDKey RoundShield XSirenLock KeyholeShield LockPasswordLockUnlockKeyShieldShield CheckFingerprint