Skip to content
Motionboard
A phone tilted on a flat apricot field shows a chat with the prompt Draft a reply to Maya and a draft email card below.
Features · 10.6s film

Phone Mockup Animation

The film opens on a keyboard close-up as Draft a reply to Maya is typed and each key lights up. One long pull-back reveals a phone standing on a flat apricot field while the sent bubble lifts, a reply streams in and a draft email card appears. The phone turns a few degrees, slides left and the Tern lockup lands.

Motionboard shot: Phone Pull-back

Seen in real launch films

Notion AI 0:44–0:50YouTube ↗
Notion AI0:44–0:50YouTube ↗
ElevenLabs Captions0:04–0:15YouTube ↗

How to make a Phone Mockup Animation with Claude Code or Codex

Copy the recipe above and paste it into Claude Code or Codex. The agent installs the skill and builds the shot.

npx skills add krisyangdev/motionboard
How it's built

Draw the phone in CSS and put it in one camera element with perspective 1500px at the phone centre. Open at 3.1x on the composer and the first two key rows, type a 21-character prompt from 0.2s with a letter every 0.06–0.08s, and flash each key #ffc891 as its letter appears. Pull back over 1.8–3.8s to 0.82x with the phone centred, about 1000px tall. Ease the progress with power3.inOut, compute scale = 3.16 × (0.82 / 3.16)^progress and move x and y linearly in scale, so the move is a true zoom about a fixed point.

Let the chat answer while the camera settles. Tap send at 3.3s, lift the bubble over 0.7s with expo.out, slide the keyboard away over 0.6s, show thinking dots at 3.75s, stream the reply at 4.2s and 4.4s and raise a draft email card at 4.65s with its rows following in order. Keep chat text at 32px or more at design size so it stays above 26px on screen. Turn the phone to −18° over 3.6–6.8s, thicken its edge with twelve slabs 4px apart graded from light at the face to dark at the back, and sweep a soft white glare across the glass over 3.7–6.6s so the turn is visible. Ease it back to −6° at 7.15–8.15s.

Press the copy button to send this recipe to Claude Code or Codex, or install the skill once with npx skills add krisyangdev/motionboard. The agent builds the phone, the keyboard, the chat and the card. Slide the phone to x = 570 at 7.15–8.15s and bring the Tern lockup in from 40px to its right at 7.8s so it never overlaps the phone, then hold it still for 2.2s. Render an MP4 with HyperFrames, or port the GSAP timeline to your website.

Full recipe

Why it works

The first frame is a close-up of the keyboard and the input field, so the viewer watches a prompt being typed with each key lighting up as its letter appears, and learns what the product does before seeing any device. The single pull-back then reveals that the close-up was a phone, and the reveal is a true zoom about one fixed point, so the phone appears to stand still while the camera backs away. The pull-back ends 0.5s after the send tap, so the answer happens while the camera settles: the bubble lifts out of the field, the keyboard drops away, the reply arrives line by line and a draft email card fills the screen. Chat text is scaled to 32–38px at design size so it still reads at the final 0.82x camera. A flat apricot field is the only colour behind the black phone, so the shape reads at once and the single orange accent carries the key lights, the cursor and the Send button. The slow 3D turn after the settle gives the flat screen a physical edge. The lockup waits until the phone has slid left, so nothing overlaps it.

Spec

Timing
Film 10.6s. Prompt typed 0.2–1.6s, one letter every 0.06–0.08s; close-up drifts 3.1x→3.16x over 0–1.8s; pull-back 1.8–3.8s (2.0s); shadow fades in 2.5–3.4s; send tap 3.3s; bubble lifts 3.4–4.1s; keyboard and composer slide down 3.55–4.15s; thinking dots 3.75–4.3s; reply lines at 4.2s and 4.4s; email card rises 4.65–5.25s, rows at 4.95s and 5.1s, four body lines from 5.3s every 0.17s, buttons from 6.0s; 3D turn 3.6–6.8s with a glare sweeping across the glass 3.7–6.6s; phone slides left and the turn eases back 7.15–8.15s; lockup 7.8–8.4s and holds still to the end (2.2s)
Easing
Pull-back uses power3.inOut on the progress, mapped to an exponential zoom (scale = 3.16 × (0.82 / 3.16)^progress) with x and y linear in scale; the close-up drift is linear (none); bubble lift, email card rise and lockup use expo.out; keyboard and composer slide use power3.inOut; reply lines, rows, body lines, buttons and tagline use power3.out; 3D turn uses power2.inOut and the glare sweep uses power1.inOut; the phone slide uses expo.inOut; key flashes use power2.out (0.03s down, 0.06s up)
Camera
One camera element scaled and translated, with perspective 1500px at the phone centre. Close-up 3.1x with the point 194px below the phone centre at the frame centre, so the phone body (600px × 3.16 = 1896px) fills the frame with about 12px of field at each side; pull-back to 0.82x with the phone centred at (960, 540), about 1000px tall; then the camera moves so the phone centre sits at x = 570. Phone turn: rotationY 0°→−18° and rotationX 0°→4° over 3.6–6.8s, then −6° and 1° at 8.15s
Subject
Generic phone built in CSS: 600x1220px body with 100px corners, a black bezel with a 5px silver rim, 12 slabs 4px apart behind the face for thickness, graded from rgb(224, 224, 230) at the face to rgb(147, 147, 153) at the back so the edge reads as lit metal, four 12px side buttons in #cfd0d6, a 572x1192px screen with 86px corners and a 160x46px camera pill. Screen: 9:41 status bar, Tern header, an empty state (What are we writing today? and two chips), a 524x96px composer with the placeholder Message Tern and a send circle, a 440px keyboard with 84px keys and 40px letters. Chat after sending: bubble Draft a reply to Maya at 38px, reply Here's a short, warm draft / you can send as is: at 35px, a 524px email card (To Maya Lindqvist, Subject Friday follow-up, four body lines at 33px, Copy, Edit and Send buttons). A 560x1200px shadow with a 46px blur sits behind the phone, and an 800x1192px glare band (100° gradient, white at 24% in the middle) sits over the glass. Lockup: a 150px ink mark with a white T, Tern at 176px and Your words, finished. at 52px
Sync
Each key flashes on the same frame its letter and cursor appear; the pull-back ends 0.5s after the send tap, and the bubble lifts 0.1s after the tap; the thinking dots start at 3.75s as the bubble settles and the first reply line arrives 0.45s later; the email card starts 0.25s after the second reply line, and its rows, body lines and buttons follow in order; the phone starts its turn at 3.6s, before the pull-back ends, with the glare band crossing the glass from 3.7s, and slides left at 7.15s, and the lockup enters at 7.8s only after the phone has cleared the right half of the frame
Style
One flat apricot field (radial gradient #ffb36a → #fba14f → #f28f3c), one orange accent #f27a22 with a tint #ffc891 for key flashes and a deeper #c9560c where white text sits on it; ink #24160c; white screen with a light keyboard; Inter throughout, wordmark weight 800; grain at 7% opacity re-rolled every 3 frames and a vignette reaching 26% at the edges

Prompt

Build a 10.6-second, 1920x1080, 30 fps light product film called Phone Pull-back for a fictional product, Tern (an AI writing assistant). The background is a flat apricot field (radial gradient #ffb36a at the centre, #fba14f at 55%, #f28f3c at the edge), the one accent colour is orange #f27a22 (tint #ffc891 for key flashes, deeper #c9560c where white text sits on it), ink is #24160c, font Inter. Draw a generic phone in CSS with no brand marks: a 600x1220px body with 100px corners, a black bezel with a 5px silver rim, 12 slabs spaced 4px apart behind the face for thickness, graded from rgb(224, 224, 230) at the face to rgb(147, 147, 153) at the back, four 12px side buttons in #cfd0d6, a 572x1192px screen with 86px corners and a 160x46px camera pill. Put it in one camera element (transform-origin 0 0, perspective 1500px, perspective-origin at the phone centre) animated with x, y and scale; the phone inside it takes rotationX and rotationY. Screen contents: a 9:41 status bar, a header with the Tern mark, an empty state (What are we writing today? and two chips), a 524x96px composer with the placeholder Message Tern and a send circle, and a 440px keyboard with QWERTY keys 84px high and 40px letters. Shot: open on an extreme close-up at 3.1x on the composer and the first two key rows (the point 194px below the phone centre at the frame centre), drifting linearly to 3.16x over 0–1.8s. From 0.2s type Draft a reply to Maya, one letter every 0.06–0.08s; each letter appears with a cursor and its key flashes #ffc891 and scales to 0.93 (0.03s down, 0.06s up, never overlapping on the same key). Pull back over 1.8–3.8s to 0.82x with the phone centred at (960, 540), about 1000px tall: ease the progress with power3.inOut, compute scale = 3.16 × (0.82 / 3.16)^progress and move x and y linearly in scale, written as one custom ease function, so it is a true zoom about a fixed point. Fade in a shadow (560x1200px, 46px blur, 42% brown, offset 26px and 54px) over 2.5–3.4s. At 3.3s tap send (scale 0.86 and back); the bubble Draft a reply to Maya (38px, ink with white text) lifts out of the field from 430px below over 0.7s with expo.out; the keyboard and composer slide down 440px and 420px over 0.6s with power3.inOut; thinking dots pulse over 3.75–4.3s; the reply Here's a short, warm draft / you can send as is: (35px) fades in line by line at 4.2s and 4.4s from a 6px blur; a draft email card (524px wide, 30px corners, To Maya Lindqvist, Subject Friday follow-up, four body lines at 33px, Copy, Edit and Send buttons) rises at 4.65s with expo.out, its rows follow at 4.95s and 5.1s, the body lines every 0.17s from 5.3s and the buttons from 6.0s. Keep all chat text at 32px or more so it is at least 26px on screen at 0.82x. Turn the phone to rotationY −18° and rotationX 4° over 3.6–6.8s with power2.inOut, and sweep an 800x1192px glare band (100° gradient, 24% white in the middle, above the screen) from x = −800 to x = 572 over 3.7–6.6s with power1.inOut. At 7.15s move the camera over 1.0s (expo.inOut) so the phone centre goes to x = 570 and ease the turn to −6° and 1°. Lockup on the right, each element starting 40px to the right of its final spot and fading in: a 150px ink mark with a white T and a forked #ffc891 stem at 7.8s, Tern at 176px weight 800 at 7.85s, and Your words, finished. at 52px at 7.95s, still until 10.6s. Finish with 7% grain re-rolled every 3 frames and a vignette. Use one paused GSAP timeline, no CSS animations.

People describe it as

  • The camera starts on the keyboard as the prompt is typed, then pulls back to show the whole phone
  • The phone stands on a bright colour field while the chat answers with a draft email
  • The screen turns a few degrees at the end and the phone slides aside for the logo

Often confused with

  • Macro Pull-out RevealMacro Pull-out Reveal drifts over a surface at extreme close range and pulls out to a device or page with shallow depth of field; in Phone Mockup Animation the close-up is a typed prompt on the keyboard, the pull-back shows a whole phone on a colour field, and the chat answers while the camera settles.
  • Chat AnimationChat Animation keeps the camera on a chat panel inside a window with tool-call cards and a preview beside it; in Phone Mockup Animation the chat lives on a phone, the camera pulls back from the keyboard to the whole device, and the answer is one reply and a draft email card.
Recipe file (.md)

FAQ

How do you make a phone mockup animation with a pull-back?

Draw the phone in CSS inside one camera element and start with a 3.1x close-up on the keyboard and input field. Pull back over about 2.0s with power3.inOut to a scale near 0.82x, computing scale exponentially and moving x and y linearly in scale so the zoom stays about one fixed point.

How do you keep the chat readable when the phone is small?

Size the chat text for the final camera scale. At 0.82x, text at 32–38px at design size reads as 26–31px on screen. Let the answer start while the camera is still settling, and keep the reply to two short lines and one card so the screen never sits empty.

Is it free to use?

Yes. Motionboard is free and MIT licensed, so you can use and modify the recipes and the films they produce in personal and commercial projects. The licence asks only that copies of the recipe files keep the copyright notice.

More Features