Viral Hooks
Back to Motion Prompt examples

Landing page & web effects, part 2 · #16

Loading button

Shows loading, then done, inside the button. Clicking the submit button shrinks it to a circle with a spinner inside; when it finishes it widens into a green "Done" with a check.

Mouse & input interactionsloading-buttonbuttonspinnersubmitsuccess-statemicrointeraction

Full motion specification

How the movement works

Use it on buttons that make people wait a moment for a result, such as submit, purchase or save.

  1. 01A 511 × 168 viewport with an orange pill button, 220 × 36, labeled "送信する" (Send). It is clicked at 0.8 s. One pass takes 4.7 s (twice per 9.4 s pack cycle).
  2. 02Over 0.85–1.15 s (0.3 s, cubic ease-in-out) it shrinks from 220 to 36 px wide, a circle; the label fades in the first third of the shrink.
  3. 03From 1.1 to 2.3 s a white spinner (radius 10, line width 3, 0.7π arc) turns once every 0.7 s inside the circle.
  4. 04Over 2.25–2.45 s the color goes orange → green (#1E9E5A) and a white check draws over 2.25–2.5 s; over 2.45–2.8 s (cubic ease-in-out) it widens 36 → 150 px, the check moves 26 px left and "完了" (Done) appears.
  5. 05It fades out over 3.9–4.1 s and the original "送信する" button comes back, rising 6 px, over 4.1–4.4 s (cubic ease-out).

Prompt

Make the submit button a loading button: on click, shrink it to a circle with a spinner over 0.3 s, then turn it green with a check and "Done".