Motion Library ‹ Free tools

All / Hover

Arrow swap button

On hover the arrow exits the button on one side while a fresh arrow enters from the other.

CSSBeginner
Live demo Open full screen

Good for

Calls to action and read-more links.

Watch out for

Clip the icon box with overflow hidden so the exiting arrow never leaks outside the button.

Accessibility

Wrap motion in @media (prefers-reduced-motion: reduce) and switch it off or shorten it for people who ask for less movement.