Motion icon · Free
Dice icon — animated SVG
A free dice 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-dice" overflow="visible"><style>.uah-dice g.uam,.uah-dice [class^=p]{transform-box:fill-box;transform-origin:center}:is(.uah-dice:hover,:hover>.uah-dice,:focus-visible>.uah-dice) g.uam{animation:uaLroll 0.70s cubic-bezier(.34,1.56,.64,1) 0s 1 both}@keyframes uaLroll{0%{transform:none}100%{transform:rotate(180deg)}}@media (prefers-reduced-motion:reduce){.uah-dice *{animation:none!important}}</style><g class="uam"><rect pathLength="1" x="3" y="3" width="18" height="18" rx="3.5"/><path pathLength="1" d="M8 8h.01M16 8h.01M12 12h.01M8 16h.01M16 16h.01"/></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-dice" overflow="visible"><style>.ual-dice g.uam,.ual-dice [class^=p]{transform-box:fill-box;transform-origin:center}.ual-dice g.uam{animation:uaLrollL 1.82s cubic-bezier(.34,1.56,.64,1) 0s infinite}@keyframes uaLrollL{0.0%{transform:none}38.0%{transform:rotate(180deg)}}@media (prefers-reduced-motion:reduce){.ual-dice *{animation:none!important}}</style><g class="uam"><rect pathLength="1" x="3" y="3" width="18" height="18" rx="3.5"/><path pathLength="1" d="M8 8h.01M16 8h.01M12 12h.01M8 16h.01M16 16h.01"/></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="3" y="3" width="18" height="18" rx="3.5"/><path pathLength="1" d="M8 8h.01M16 8h.01M12 12h.01M8 16h.01M16 16h.01"/></svg>
Tags: design, dice, line, outline, stroke
More Design motion icons
LightbulbRocketCrownCoffeeSmileQR CodeGemGlassesGraduation CapInfinityAtomVerifiedHeartStarFlagBriefcasePaletteBrushSparklesLightbulbRocketCrownCoffeeSmile