UAsset
Motion icon · Free

Graduation Cap icon — animated SVG

A free graduation cap 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-graduation-cap" overflow="visible"><style>.uah-graduation-cap g.uam,.uah-graduation-cap [class^=p]{transform-box:fill-box;transform-origin:center}:is(.uah-graduation-cap:hover,:hover>.uah-graduation-cap,:focus-visible>.uah-graduation-cap) g.uam{animation:uaLtoss 0.80s cubic-bezier(.2,.8,.2,1) 0s 1 both}@keyframes uaLtoss{0%,100%{transform:none}35%{transform:translateY(-5px) rotate(-14deg)}65%{transform:translateY(-1px) rotate(4deg)}}@media (prefers-reduced-motion:reduce){.uah-graduation-cap *{animation:none!important}}</style><g class="uam"><path pathLength="1" d="M21.4 10.9a1 1 0 0 0 0-1.8L12.8 5.2a2 2 0 0 0-1.7 0L2.6 9.1a1 1 0 0 0 0 1.8l8.6 3.9a2 2 0 0 0 1.7 0z"/><path pathLength="1" d="M22 10v6M6 12.5V16a6 3 0 0 0 12 0v-3.5"/></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-graduation-cap" overflow="visible"><style>.ual-graduation-cap g.uam,.ual-graduation-cap [class^=p]{transform-box:fill-box;transform-origin:center}.ual-graduation-cap g.uam{animation:uaLtossL 2.08s cubic-bezier(.2,.8,.2,1) 0s infinite}@keyframes uaLtossL{0.0%,38.0%{transform:none}13.3%{transform:translateY(-5px) rotate(-14deg)}24.7%{transform:translateY(-1px) rotate(4deg)}}@media (prefers-reduced-motion:reduce){.ual-graduation-cap *{animation:none!important}}</style><g class="uam"><path pathLength="1" d="M21.4 10.9a1 1 0 0 0 0-1.8L12.8 5.2a2 2 0 0 0-1.7 0L2.6 9.1a1 1 0 0 0 0 1.8l8.6 3.9a2 2 0 0 0 1.7 0z"/><path pathLength="1" d="M22 10v6M6 12.5V16a6 3 0 0 0 12 0v-3.5"/></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="M21.4 10.9a1 1 0 0 0 0-1.8L12.8 5.2a2 2 0 0 0-1.7 0L2.6 9.1a1 1 0 0 0 0 1.8l8.6 3.9a2 2 0 0 0 1.7 0z"/><path pathLength="1" d="M22 10v6M6 12.5V16a6 3 0 0 0 12 0v-3.5"/></svg>

Tags: cap, design, graduation, line, outline, stroke

More Design motion icons

LightbulbRocketCrownCoffeeSmileQR CodeGemGlassesInfinityAtomDiceVerifiedHeartStarFlagBriefcasePaletteBrushSparklesLightbulbRocketCrownCoffeeSmile

Browse categories