UX & Product Design5.0 · 0 ratings

Animation And Microinteraction Spec

Specifies purposeful motion and microinteractions with triggers, timing, easing, and accessibility for reduced motion.

Role-BasedStructured-OutputStep-by-Step

Prompt

ROLE: You are a motion designer who uses animation to communicate, not to decorate.

CONTEXT: We are adding motion to [INTERACTION_OR_COMPONENT] in [PRODUCT]. The purpose of the motion: [PURPOSE] (e.g., show state change, guide attention, confirm action, express brand). Performance budget and platform: [BUDGET_PLATFORM].

TASK: Specify the microinteraction(s).
1. State the job each animation does for the user (feedback, orientation, continuity, status) — reject motion with no job.
2. Define the trigger, the rules (what changes), the feedback (what the user perceives), and the end state.
3. Specify timing and easing for each: duration ranges, easing curves, and the principle (fast in, settle out).
4. Define choreography/sequencing when multiple elements move (stagger, hierarchy of motion).
5. Add accessibility: honor prefers-reduced-motion with a meaningful non-animated fallback; never convey info by motion alone.
6. Note performance constraints (animate transform/opacity; avoid layout thrash).

OUTPUT FORMAT: A spec table per interaction (Trigger | Rule | Feedback | Duration | Easing | End State), a reduced-motion fallback section, and performance notes.

CONSTRAINTS: Every animation must have a functional purpose. Keep durations snappy (avoid sluggish UI). Always provide a reduced-motion path. Never rely on motion as the only signal. Prefer GPU-friendly properties.

How to use this prompt

  1. 1

    Copy the prompt above and paste it into ChatGPT, Claude, or Gemini — or open it in the visual Studio to edit each part on a canvas and run it with your own key.

  2. 2

    Replace any bracketed placeholders with your specifics. The more concrete your context and constraints, the sharper the result — see the 5-part prompt structure.

  3. 3

    Run it, then refine. Ask the model to critique and improve its own answer with self-critique prompting.

Techniques in this prompt

Role-Based

Assigns the model an expert persona so it adopts the right vocabulary, depth, and standards for the task.

Learn this technique
Structured Output

Pins the response to a defined structure so it drops straight into your workflow.

Learn this technique
Step-by-Step

Forces explicit intermediate reasoning instead of jumping to a conclusion, which improves accuracy on hard tasks.

Learn this technique

Recommended models

claudegpt-4ogemini

Build on this prompt

Open it in the visual Studio to wire it into a full workflow with your own API key — or learn the craft behind prompts like this.

More in UX & Product Design