Motion icon · Free
Square X icon — animated SVG
A free square x 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-square-x" overflow="visible"><style>.uah-square-x g.uam,.uah-square-x [class^=p]{transform-box:fill-box;transform-origin:center}:is(.uah-square-x:hover,:hover>.uah-square-x,:focus-visible>.uah-square-x) .pa{animation:uaLr90 0.55s cubic-bezier(.34,1.56,.64,1) 0s 1 both}@keyframes uaLr90{0%{transform:rotate(0)}100%{transform:rotate(90deg)}}@media (prefers-reduced-motion:reduce){.uah-square-x *{animation:none!important}}</style><g class="uam"><rect pathLength="1" x="3" y="3" width="18" height="18" rx="3.5"/><g class="pa"><path pathLength="1" d="m15 9-6 6M9 9l6 6"/></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-square-x" overflow="visible"><style>.ual-square-x g.uam,.ual-square-x [class^=p]{transform-box:fill-box;transform-origin:center}.ual-square-x .pa{animation:uaLr90L 1.43s cubic-bezier(.34,1.56,.64,1) 0s infinite}@keyframes uaLr90L{0.0%{transform:rotate(0)}38.0%{transform:rotate(90deg)}}@media (prefers-reduced-motion:reduce){.ual-square-x *{animation:none!important}}</style><g class="uam"><rect pathLength="1" x="3" y="3" width="18" height="18" rx="3.5"/><g class="pa"><path pathLength="1" d="m15 9-6 6M9 9l6 6"/></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="3" y="3" width="18" height="18" rx="3.5"/><g class="pa"><path pathLength="1" d="m15 9-6 6M9 9l6 6"/></g></svg>
Tags: interface, line, outline, square, stroke, x
More Interface motion icons
MenuMenu LeftSidebarPanel RightLayout GridLayout ListDashboardSettingsSlidersMoreMore VerticalMaximizeMinimizeToggle OffToggle OnFilterSortEyeEye OffLoaderSquare CheckRadio ButtonColumnsPointer