Prompts for animation: how to ask an AI for motion that looks good
Why AI makes cheap animations and how to fix it: prompt structure, words that work and ready examples for buttons, menus and cards.

Ask an AI to “add animation” and you get a bouncing button and everything sliding in from the side. The model is fine, the task is vague. Here is how to set it so the motion feels premium.
Structure of a good prompt
- What: the element and the moment (hover, press, appear).
- Why: what the motion should tell the user.
- How: properties, duration, easing curve.
- Limits: performance, mobile, reduced motion.
Words that work
- “transform and opacity only” keeps it smooth;
- “ease-out, 200–300 ms” gives quick feedback without harshness;
- “spring without strong bounce” feels alive, not cartoonish;
- “respect prefers-reduced-motion” is kind to motion-sensitive people.
Example: a button
Make the main button feel alive. On hover: soft glow and a 2px
lift in 200 ms (ease-out). On press: scale to 0.97 in 120 ms.
Transform and opacity only. No bounce.
Respect prefers-reduced-motion.
Example: a menu
The sidebar opens in 300 ms, labels appear one by one
with a 30 ms stagger. The active highlight glides to the new
item. On phones the menu is full screen and the page
scroll underneath is locked.What to avoid
- “make a wow effect”: the AI will add everything;
- animations longer than 500 ms on buttons and menus;
- everything on the page appearing at once.
The shortcut
Skip writing from scratch: take a ready catalog component and only ask the AI to adapt colors, font and copy. It keeps the polished motion.





