Two iPhones showing a habit completion popup and a vertical timer slider

Designing motion with AI,
handed off as code

Year: 2026 Role: Senior Product Designer Company: Wellness Tech Company

Challenge: Explain motion to developers beyond what static specs or videos can show.

My role: Owned the flow, states and design choices; used AI to explore and code the animations.

Status: 2 coded prototypes handed off to the dev team.


I explored how AI could help me design, test and communicate motion. Two interactions, a reward popup and a timer control, ended as working prototypes that developers could read, run and build from.

The process

More or less the same, with differences arising from the explorations.

STEP 1

Write down the ideas. I took note of the brief, the requirements and the constraints. One motion was for a reward popup, when a habit is completed, and the other was for adding a timer when background music is playing in another app.

STEP 2

Set the look. A premium game feel for the popup, midnight blue with gold accents. A calm, dark interface for the timer, driven by one accent color. I explored looks with ChatGPT, Gemini and Claude and refined them in Figma.

STEP 3

Explore motion with Claude Code. For the Define phase, Claude was the most appropriate tool. I tested ideas in HTML prototypes. To explain intent, I extracted frames from Figma, where I designed the first iterations.

STEP 4

Hand off a coded prototype. Each result became one self-contained HTML file with the timings, easings and haptics written in, ready for the dev team. Delivered in early 2026.

The reward moment after each habit. The counter takes a +1, the next day unlocks and the week fills in, in about three seconds.

  • Reward
  • Streak
  • Sequenced motion

Timer feature

A vertical slider to set a duration. The handle widens into a value pill while you drag, and a +5 min button extends a running timer.

  • Gesture
  • Micro-interaction
  • Accessibility

Who did what?

AI sped up the exploration. The design calls stayed mine.

My decisions

  • The userflow
  • The states, the steps and the rules of each interaction
  • Which details to keep: the +1 that morphs into the number, the handle that widens under the finger, the haptic proposition…
  • The color palette, the UI design

What AI helped with

  • Drafting animation and interaction code from my frames and notes
  • Producing variants quickly to compare
  • Turning Figma exports into a timed, playable sequence
  • Packaging each result as a single file for the team

Key Takeaways