Skip to content
Gelatin UIAlpha

Animated Arrow Icon

Free

An arrow for Next and Continue buttons. On hover it slides out to the end side and comes back. It points left in right-to-left pages.

  • Base UI
  • Motion
  • React 19
  • Tailwind CSS 4

Added Nov 13, 2026 · MIT + Commons Clause

Put it in a Button after the text. The hover or the keyboard focus of the Button plays it once.

The sample also uses Button. One command adds them with this item:

continue-button.tsx

AnimatedArrowIcon

<svg>
PropTypeDefaultDescription
direction"down""end""start""up""end"end (default): right, left in right to left. start: the other way (Back). up (Send, Submit) and down never flip.
variant"bulk""duotone""solid""stroke""twotone"—stroke (default): 1.5 strokes. solid: the body filled, inner details cut through. duotone: a 40% fill under the stroke. twotone: the details at 40%. bulk: the body filled at 40% with no outline, the details at full color.
corners"round""sharp"—round (default): round caps and joins, soft corners. sharp: square caps, miter joins.
trigger"hover""none"—hover (default) plays once per hover or keyboard focus of the control around the icon.
playnumber—Plays once each time this number changes (a new notice, a saved form).
...props<svg> attributes—Every other attribute goes to the <svg>, with a ref.