UAsset
Motion icon · Free

Toggle On icon — animated SVG

A free toggle on 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-toggle-right" overflow="visible"><style>.uah-toggle-right g.uam,.uah-toggle-right [class^=p]{transform-box:fill-box;transform-origin:center}:is(.uah-toggle-right:hover,:hover>.uah-toggle-right,:focus-visible>.uah-toggle-right) .pa{animation:uaLnL8 0.70s cubic-bezier(.65,0,.35,1) 0s 1 both}@keyframes uaLnL8{0%,100%{transform:none}50%{transform:translateX(-8px)}}@media (prefers-reduced-motion:reduce){.uah-toggle-right *{animation:none!important}}</style><g class="uam"><rect pathLength="1" x="2" y="6" width="20" height="12" rx="6"/><g class="pa"><circle pathLength="1" cx="16" cy="12" r="2.5"/></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-toggle-right" overflow="visible"><style>.ual-toggle-right g.uam,.ual-toggle-right [class^=p]{transform-box:fill-box;transform-origin:center}.ual-toggle-right .pa{animation:uaLnL8L 1.82s cubic-bezier(.65,0,.35,1) 0s infinite}@keyframes uaLnL8L{0.0%,38.0%{transform:none}19.0%{transform:translateX(-8px)}}@media (prefers-reduced-motion:reduce){.ual-toggle-right *{animation:none!important}}</style><g class="uam"><rect pathLength="1" x="2" y="6" width="20" height="12" rx="6"/><g class="pa"><circle pathLength="1" cx="16" cy="12" r="2.5"/></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="6" width="20" height="12" rx="6"/><g class="pa"><circle pathLength="1" cx="16" cy="12" r="2.5"/></g></svg>

Tags: interface, line, outline, right, stroke, toggle

More Interface motion icons

MenuMenu LeftSidebarPanel RightLayout GridLayout ListDashboardSettingsSlidersMoreMore VerticalMaximizeMinimizeToggle OffFilterSortEyeEye OffLoaderSquare CheckRadio ButtonColumnsPointerHand Pointer

Browse categories