UAsset
Motion icon · Free

Keyboard icon — animated SVG

A free keyboard 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-keyboard" overflow="visible"><style>.uah-keyboard g.uam,.uah-keyboard [class^=p]{transform-box:fill-box;transform-origin:center}:is(.uah-keyboard:hover,:hover>.uah-keyboard,:focus-visible>.uah-keyboard) .pa{animation:uaLpop2 0.40s cubic-bezier(.34,1.56,.64,1) 0s 1 both}:is(.uah-keyboard:hover,:hover>.uah-keyboard,:focus-visible>.uah-keyboard) .pb{animation:uaLpop2 0.40s cubic-bezier(.34,1.56,.64,1) 0.1s 1 both}:is(.uah-keyboard:hover,:hover>.uah-keyboard,:focus-visible>.uah-keyboard) .pc{animation:uaLpop2 0.40s cubic-bezier(.34,1.56,.64,1) 0.2s 1 both}@keyframes uaLpop2{0%,100%{transform:none}40%{transform:scale(1.25)}70%{transform:scale(.94)}}@media (prefers-reduced-motion:reduce){.uah-keyboard *{animation:none!important}}</style><g class="uam"><rect pathLength="1" x="2" y="5" width="20" height="14" rx="3.5"/><g class="pa"><path pathLength="1" d="M6 9h.01"/><path pathLength="1" d="M10 9h.01"/><path pathLength="1" d="M14 9h.01"/><path pathLength="1" d="M18 9h.01"/></g><g class="pb"><path pathLength="1" d="M6 12.5h.01"/><path pathLength="1" d="M18 12.5h.01"/><path pathLength="1" d="M10 12.5h4"/></g><g class="pc"><path pathLength="1" d="M7 16h10"/></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-keyboard" overflow="visible"><style>.ual-keyboard g.uam,.ual-keyboard [class^=p]{transform-box:fill-box;transform-origin:center}.ual-keyboard .pa{animation:uaLpop2L 1.04s cubic-bezier(.34,1.56,.64,1) 0s infinite}.ual-keyboard .pb{animation:uaLpop2L 1.04s cubic-bezier(.34,1.56,.64,1) 0.1s infinite}.ual-keyboard .pc{animation:uaLpop2L 1.04s cubic-bezier(.34,1.56,.64,1) 0.2s infinite}@keyframes uaLpop2L{0.0%,38.0%{transform:none}15.2%{transform:scale(1.25)}26.6%{transform:scale(.94)}}@media (prefers-reduced-motion:reduce){.ual-keyboard *{animation:none!important}}</style><g class="uam"><rect pathLength="1" x="2" y="5" width="20" height="14" rx="3.5"/><g class="pa"><path pathLength="1" d="M6 9h.01"/><path pathLength="1" d="M10 9h.01"/><path pathLength="1" d="M14 9h.01"/><path pathLength="1" d="M18 9h.01"/></g><g class="pb"><path pathLength="1" d="M6 12.5h.01"/><path pathLength="1" d="M18 12.5h.01"/><path pathLength="1" d="M10 12.5h4"/></g><g class="pc"><path pathLength="1" d="M7 16h10"/></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="5" width="20" height="14" rx="3.5"/><g class="pa"><path pathLength="1" d="M6 9h.01"/><path pathLength="1" d="M10 9h.01"/><path pathLength="1" d="M14 9h.01"/><path pathLength="1" d="M18 9h.01"/></g><g class="pb"><path pathLength="1" d="M6 12.5h.01"/><path pathLength="1" d="M18 12.5h.01"/><path pathLength="1" d="M10 12.5h4"/></g><g class="pc"><path pathLength="1" d="M7 16h10"/></g></svg>

Tags: devices, keyboard, line, outline, stroke

More Devices motion icons

MonitorLaptopSmartphoneTabletWatchMouseCPUServerWifiBluetoothBatteryBattery ChargingPlugPowerRouterBattery LowWebcamSmartwatchRadarSatellite DishBattery FullCast ScreenScreen PlayPhone Verified

Browse categories