UI Motion Prompts CodePack $19

Pagination Part 1

6 pagination animations. Copy any short prompt for free, and open full prompt 1 to see how detailed they are. Full prompts 2–6 are in the pack.

1  Elastic Glide
The highlight springs to the new number and stretches; cards slide in.
Full prompt (free sample)
Basics: stage 470×222px, background #13131C, all coordinates in px from the stage's top-left, everything clipped to the stage (its two top corners are rounded with radius 40px; the bottom corners are square). The animation is a 4s loop that plays by itself and is seamless; the video is 12s = three loops. T = seconds since the video start; u = (T + 0.25) mod 4 (loop time 0–4; the first frame is already 0.25s after a tap). One tap every second, at u = 0, 1, 2, 3. Pages are numbered 0–4 (shown as 1–5). Page after each tap SEL = [2, 3, 0, 4]; tapped button TAPB = [3, 6, 1, 5] (button 0 = "‹", 1–5 = the numbers, 6 = "›"), i.e. u = 0 taps "3" (page 5 → 3), u = 1 taps "›" (3 → 4), u = 2 taps "1" (4 → 1), u = 3 taps "5" (1 → 5). lastTap(u): k = floor(u) (0–3), from = SEL[(k + 3) mod 4], to = SEL[k], dt = u − k (0–1), dir = sign(to − from). Every value depends only on u, so 4.0s equals 0s. Each reaction is finished before the next tap (by dt ≈ 0.85 at the latest).

The highlight springs to the new number and stretches while moving; the old page slides out and the new page slides in. 
- Springs: fa = springF(21, 0.6)(dt) (leading), fb = springF(13, 0.78)(dt) (trailing), fc = springF(15, 0.82)(dt) (page).
- Panel: drawPage(from, dx = −dir·440·fc) and drawPage(to, dx = dir·440·(1 − fc)) (both full opacity, clipped to the panel).
- Highlight: pa = from + (to − from)·fa, pb = from + (to − from)·fb; xl = min(PX(pa), PX(pb)) − 25, xr = max(PX(pa), PX(pb)) + 25; hiBox((xl + xr)/2, 172, xr − xl, 48).
- Numbers: amt[q] = 1 − |mid − PX(q)|/45, mid = (xl + xr)/2.
2  Arc Hop
The highlight balls up and hops to the new number; new cards drop in.
Full prompt · 1,773 characters
The highlight squeezes into a ball, hops over the numbers in an arc, squashes on landing and grows back into the square; the old cards fall away and …
🔒 Unlock all 6 in the pack — $19
3  Squeeze Line
It shrinks to a bar, stretches across, then grows back; cards rise up.
Full prompt · 1,840 characters
The highlight's top edge drops until it is a thin line, the line stretches to the new number (front edge first), then grows back up into the square; …
🔒 Unlock all 6 in the pack — $19
4  Bloom Reveal
The new number blooms from its center; the page opens in a circle.
Full prompt · 1,915 characters
The old highlight shrinks away in a circle, the new one blooms from the number's center with a ring; the new page is revealed by a circle growing …
🔒 Unlock all 6 in the pack — $19
5  Comet Trail
The highlight flies with a fading trail; the new page zooms in.
Full prompt · 1,652 characters
The highlight flies to the new number leaving six fading copies behind it; the old page grows and fades, the new page zooms in from smaller. - …
🔒 Unlock all 6 in the pack — $19
6  Page Turn
The panel turns in 3D like a page; the highlight flips to the number.
Full prompt · 2,043 characters
The whole panel turns around its vertical center line in 3D like a page (with perspective and shading); the highlight squeezes shut and opens again …
🔒 Unlock all 6 in the pack — $19

Get every full prompt — $19

One-time payment. Price goes up as new patterns are added. Buy once, get every update.
Team license (up to 5 people, client work): $49.
Lower price in many countries, applied automatically at checkout.
Get the pack on Gumroad
← Date Picker Part 1Copy to Clipboard Part 1 →
Full pack · $19438 prompts · 73 demos
Get the pack