240

Send Plane Button

Press send and a paper plane flies off as the text changes to “Sent”, then restores

ButtonHover & clickSwitchUI interactionApp UIGSAPGSAP timeline

Hannah's Motion Library
Web motion effects × AI prompts

AI prompt

A send button with a paper-plane icon on the left: when pressed, the button squishes and springs back, the text fades out to the right, and the plane pulls back before accelerating off to the upper right and out of the button; then the text changes to “Sent” and slides in from the left; after about 1 s the text returns to the original and the plane flies back into place from the lower left. (GSAP timeline: button scale 0.94→1, text x and opacity, the plane's keyframes up-right in x/y/rotation accelerating with power2.in, then add() to swap the text; button overflow:hidden so the plane is clipped as it leaves)

When you copy it, a note to “match the site’s existing theme colors” is added automatically, so you don’t need to specify colors.

How to use it

  1. Tap “Copy AI prompt”.
  2. Paste it into an AI such as ChatGPT or Claude, and tell it which element on your site to apply it to (for example, the homepage headline or a buy button).
  3. The AI writes code that matches your site’s colors. Paste it into your project, then fine-tune the timing and distances.

More button effects

346 more motion effectsText, buttons, cards, backgrounds, cursors… preview them all and copy AI prompts

Browse all effects →