Getting started

How to add polished motion to an AI-built app

Apps built with Claude, ChatGPT or an AI code editor often feel flat. Give the model real animation data with Capture Motion's LLM prompt and get motion that feels designed.

· 3 min read

AI tools are very good at building the screens of an app and not very good at making them move. Ask for "a nice animation" and you get a 300 ms ease fade on everything. The result works, but it feels generated. The fix is not a better adjective in your prompt. It is better data.

Capture Motion's LLM prompt gives a model the real thing: an instruction written for rebuilding animations, the full capture (every layer, keyframe, duration, delay and easing curve) and a visual reference of the finished component. The model's job becomes translation, which it is good at, instead of invention.

Where generated motion goes wrong

Every gallery card in Capture Motion is built around those three things, and so is anything you capture from a well-made site.

The workflow

  1. Find the motion. Browse the gallery for an interaction close to what your app needs: a tab bar, a toggle, a toast, an expanding card. Or capture one from a site you admire with the Chrome extension.
  2. Customize it in the card's popup: your brand colour, your label text, light or dark. The prompt includes these choices, so you do not need to describe them.
  3. Copy the LLM prompt from the Copy menu.
  4. Paste it into your AI tool as the start of a new conversation, and add one line of context: "Build this as a React component with Tailwind and use it for the tabs in Sidebar.tsx."
  5. Run it and compare it with the gallery card side by side.

Prompts that work well after the paste

More of these, and a checklist for the timings, are in recreating a website animation with Claude or ChatGPT.

Five upgrades that make an app feel designed

If you only add a few animations, add these. Each has a good starting card in the gallery.

WhereStart fromWhy it helps
NavigationLiquid Tabs or Liquid Pill NavThe selected state moves instead of jumping, so people see where they went.
SettingsStretch Toggle or Glass SwitchA switch that responds feels trustworthy.
FeedbackToast Status or Notify BellConfirms an action without a modal.
Risky actionsSlide to ConfirmOne deliberate gesture instead of an accidental tap.
PresenceVoice Chat Expand or Avatar ClusterShows who is here without taking over the screen.

Check the result in two minutes

  1. Play both, the gallery card and your app, a few times each. The feel should match.
  2. Spot-check one track. Pick the most visible moving element and compare its duration and easing in the code with the JSON.
  3. Count the stagger. If items should start 40 ms apart, make sure they do.
  4. Try it on a phone. Motion that feels right on a large screen can feel slow on a small one. Speed is one of the Customize options if you need to adjust it.

Prefer a ready file?

If you would rather skip the model, download the React or HTML / CSS export from the same Copy menu. It is the card exactly as you customized it. From the gallery to a React component shows how to drop it in.

New to Capture Motion? Start with the ten-minute tour.

Questions

Which AI tools does the LLM prompt work with?

Any chat model or AI code editor that accepts a long prompt, such as Claude and ChatGPT. The prompt is plain text: the instruction, the capture JSON and a visual reference.

Do I need to know CSS?

No. You copy the prompt, paste it, and add one sentence about where the animation goes. Knowing a little helps when you check the result, and the post shows what to check.

Is the LLM prompt free?

Yes. Copying the LLM prompt from a gallery card is free and does not need an account.

Why not just describe the animation in words?

Because the model fills the gaps with defaults. The prompt gives it exact durations, delays, easing curves and keyframes, which is what makes an animation feel designed rather than generic.