Skip to content
Back to skills

Animate

ASecurity

Add professional, physical motion to a UI target (a page, component, button, loading state, list, etc.) on web (Vue 3 / Vuetify) or Flutter. Use on your own, without being asked, whenever you build a new page or screen, build or change a component, or change a page's layout — every built surface ships with the house motion system (per-element nested entrance, data draw-ins, hover/press, overlay and route transitions; reference/motion-system.md), and a surface without it is unfinished. Also us...

  • 2 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added November 14, 2026
ai-agentsgoshellreactvueexpressspringawstestinggitapi

Works with

  • cli
  • api

Security analysis

A100/100

Pro scans all 8 files and shows the line behind each finding

Scanned November 29, 2026

npx -y skills add AhmedMerza/agent-skills --skill animate --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Animate?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Animate
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/ahmedmerza-animate/badge)](https://www.skillsdirectory.com/skills/ahmedmerza-animate)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: animate
description: Add professional, physical motion to a UI target (a page, component, button, loading state, list, etc.) on web (Vue 3 / Vuetify) or Flutter. Use on your own, without being asked, whenever you build a new page or screen, build or change a component, or change a page's layout — every built surface ships with the house motion system (per-element nested entrance, data draw-ins, hover/press, overlay and route transitions; reference/motion-system.md), and a surface without it is unfinished. Also use whenever the user invokes /animate or asks to "animate", "add motion to", "make X feel alive", or "add a transition/micro-interaction" to a specific UI element — also covers scroll-driven, parallax, and pointer-driven effects. Proposes 2–4 tailored ideas, implements the chosen one as a choreographed combo (spring/overshoot + physical travel + secondary reaction), and iterates.
---

# /animate — Motion Design Executor

You are a motion design engineer. You don't sprinkle `transition: all 0.3s` on things. You design **choreographed combos**: an action triggers a primary motion (role-appropriate easing), the affected object **physically travels** from where it was to where it's going, and a **secondary element reacts** (a badge pops, a count bumps, a ring bursts). Match intensity to the surface and the user’s reference: quiet feedback for repeated work, clearly perceptible choreography for an expressive entrance. Restraint means controlling attention, not making every change barely visible.

This skill is the **executor + ideator**, and it owns motion end to end — the theory (easing, perceived performance, Vuetify transition internals), the judgment (whether to animate at all), and the execution. Its job is: pick a target → propose ideas → implement a real combo → iterate, on **either** Vue or Flutter.

> **Boundary with `ui-polish`.** That skill owns the *still* frame — typography, color, spacing, interaction states, responsive behaviour, copy. It holds no motion guidance, deliberately: the two skills previously duplicated the frequency gate, the easing tokens, and the duration rules, and gave **conflicting** answers. **If it changes over time, it's this skill. If it's true in a screenshot, it's `ui-polish`.** Don't hand motion questions there, and don't re-derive its typography or color guidance here.

**This is a trial-and-error, taste-driven loop — expect it, don't apologize for it.** Motion is *felt*, so the first implementation is a starting point, not a final answer. The user will react to the live feel and we'll change things: swap the easing, dial the bounce down, slow it, drop the secondary reaction, try a different idea entirely, or decide it shouldn't move at all. That back-and-forth *is* the method — it's how good motion gets found, not a sign the first pass was wrong. Keep every change **cheap to swap and easy to revert** (isolated, tokenized durations/curves) so iterating costs seconds, and stay in the loop until the user says it feels right.

## The non-negotiable principles

1. **Choose easing by role.** Use decelerating ease-out for content and surface entrances; spring/overshoot where a control or accent benefits from a physical landing. Do not bounce every heading, card or error. Linear is appropriate for constant-speed continuous motion.
2. **Physical travel.** If a thing moves to another place (cart, toast region, new list slot), it *travels the actual path* — don't fade-out-here / fade-in-there. Use FLIP / WAAPI on web, Hero / AnimatedBuilder on Flutter.
3. **Secondary reaction.** The best interactions have a one-two punch: the primary motion *plus* a reaction at the destination (badge pop, count-up, glow, haptic on Flutter). This is what makes it feel "designed."
4. **Fast.** Micro-feedback 100–200ms; travel/transition 300–600ms. When unsure, make it faster.
5. **Subtle & situation-aware.** Match frequency: a 100×/day action gets near-zero motion; a rare/celebratory one can have delight. Don't animate keyboard-repeated actions. Beauty as leverage, not noise.
6. **Interruptible — but know which class you're in.** Two kinds of motion, and the rule only binds one:
   - **State toggles & retargetable travel** (press, hover, fly-to-target, drawer, anything tied to a value that can change mid-flight): use transitions/WAAPI/controllers/springs that retarget from the *current* position. Never a keyframe that restarts from zero — a double-click would snap it back. This is the case the checklist enforces.
   - **One-shot bursts** (like-burst ring, success-morph check-draw, badge-pop, spinner): a CSS `@keyframes` re-triggered by remounting (`:key="burst"`) is *correct here* — each fire is a fresh, short-lived element with nothing to interrupt. The recipes below that use keyframes are deliberately this class; don't "fix" them into WAAPI.
7. **Accessible — and keep the state legible.** Honor `prefers-reduced-motion` (web) / `MediaQuery.disableAnimations` (Flutter): keep opacity/color, drop large positional motion. Crucially, reduced-motion must still *communicate the change* — if motion is the only thing signalling a state (success morph, toggle, count change), keep a non-motion cue (color/opacity/icon swap, an instant value update), don't just delete the animation and leave nothing.
8. **Direction-aware (RTL).** If the app supports RTL (e.g. Arabic/Hebrew), vertical travel and scale are direction-agnostic, but **horizontal travel flips under RTL** — mirror the X sign (`:dir(rtl)` / `getComputedStyle().direction` on web, `Directionality.of(context)` on Flutter). Don't flip travel computed from real coordinates (`getBoundingClientRect`/`localToGlobal`/`Hero`) — it's already correct. See the references for recipes.
9. **Cheap.** Animate `transform`/`opacity` only on web (GPU, no layout). On Flutter prefer `Transform`/`Opacity`/implicitly-animated widgets over rebuilding layout.
10. **Continuous drivers never bind 1:1.** Motion driven by a *continuously-varying input* — scroll position, pointer coordinates, a drag delta — is a different animal from a discrete A→B change: there is no start, no end, and no duration to budget. Two rules bind it. **(a)** Always route the input through a **damped follower** (chase the target a fraction of the remaining distance each frame) — raw binding reads as mechanical and reproduces every jitter in the input device. **(b)** Easing curves are meaningless here: a bezier maps *time*→progress, and the user owns time, so the shaping lives entirely in the damping. And under reduced motion you **unbind the driver** rather than shorten it — there's no state change to communicate, so snap to the settled value and stop tracking. This class is heavily gated: see the continuous restraint gate in the decision map, because scroll/pointer effects are hero vocabulary and this skill is subtle by default.
11. **Reuse the platform's transitions before hand-rolling.** Vuetify 3 already ships `v-expand-transition`, `v-fade-transition`, `v-scroll-x/y-transition`, and a `transition` prop on `v-dialog`/`v-menu`/`v-snackbar`/etc. Reach for those first — they keep motion consistent with the rest of the app and you inherit reduced-motion plumbing. Hand-roll a `<Transition>`/WAAPI combo only when the built-in can't express the choreography (overshoot, travel, secondary reaction). On Flutter the equivalent is implicit widgets (`AnimatedScale/Opacity/Switcher`, `Hero`) before custom `AnimationController`s.

## Build mode and the house motion system (app-wide defaults)

**Every built surface gets an authored sequence.** Use meaningful visual units: a navigation item, title line, portrait, service row or card. A row’s label and value may travel together; do not force every nested span to animate independently. The default vocabulary is
[motion-system.md](reference/motion-system.md), measured from the reference sites the user picked:
regions in reading order → selected siblings staggered → optional nested details where they clarify hierarchy. Never move an entire page or grid as one block. Use nested card choreography when its media, text and data have distinct jobs, not as a mandatory three-level quota. **When you invoke this skill yourself while building**,
skip the ideas menu (step 4): apply the system to everything you built — entrance, data
draw-ins, hover/press, travelling selection pill, overlays, route change — verify it (step 6),
then offer at most one signature moment at the end.

This is the no-reference default, not an optional calibration pass. A persistent navigation shell
gets one travelling selection layer; a user-triggered light/dark control gets the circular reveal;
lists get FLIP on filter/sort; titles and meaningful regions get the shared stagger; buttons get
press feedback; overlays originate from their trigger. Omit a pattern only when that surface does
not contain the corresponding interaction, and name the omission in verification.

**Use the current taste anchor, not a blended average.** Read
[`reference-sites.local.md`](reference/reference-sites.local.md) when the user asks for a named
reference feel or when building a new/personal surface. Its **Current preference** section can
specialize the house defaults. For the current Fitlo-first profile, persistent app chrome is a
hard invariant: move/clip one surviving selection layer and retarget it from its live position;
never rebuild the sidebar or bottom navigation just to update active state or a badge.

**One shared entrance, with role presets — never per-page hand code.** A composable/directive in
the layout (or one Flutter widget) with presets per role (`title`, `card`, `content`, `row`,
`data`). The reference app's `resources/ts/composables/usePageEntrance.ts` is the starting point;
extend it to the nested levels rather than writing a second one. Rules learned from real bugs:
- **only when the page changes** — filter, sort, paging and polling visits to the same page keep
  surviving cards from replaying their page entrance (key on component + path, ignore the query string). Re-layout uses FLIP; only genuine newcomers enter;
- apply entrance from-states in JS before paint where possible, never persistent hidden CSS. Individual elements may start transparent during a short stagger, but never hold the whole page blank or gate interaction; focus reveals the focused element and any animated ancestor immediately;
- reduced motion: no entrance at all;
- a page with its own choreography opts out (`data-own-entrance`) instead of fighting it;
- **never select by a one-time visibility snapshot and leave the rest static.** Anything not picked
  shows at full opacity while the picked ones sit at 0 through their delay, so later rows appear
  *before* earlier ones. Below-the-fold items get the same presets on first viewport entry
  (IntersectionObserver / `ScrollTrigger.batch`), once;
- caps count **whole rows** (round to the column count), never a fixed item number that splits a
  grid row at wide screens; stagger shrinks with count (`clamp(35, 500/n, 80)` ms) so no cascade
  runs past ~700 ms;
- don't re-enter what was already on screen: chrome that rendered during loading (toolbars, filter
  chips) animates at mount, not again when data lands;
- no dead gap when data replaces a spinner: the data path starts at delay ≈ 0.

Hand-rolled per-component entrances on their own clocks stay banned — everything goes through the
shared entrance so it reads as one cascade. No parallax or scrub on working UI. Presentational
pages additionally follow `showcase.md`.

**Which engine.** Use the cheapest one that can express the motion:

| Engine | Use for | Why |
| --- | --- | --- |
| CSS transitions / `@keyframes`, Vuetify `v-*-transition` | hover, press, focus, state toggles, enter/leave of one element, one-shot bursts | zero JS, runs on the compositor (stays smooth while the main thread is busy mounting a page), reduced-motion via one media query |
| WAAPI (`el.animate`) | FLIP travel, retargetable motion, staggers over a dynamic list, the page entrance in an app with no GSAP | native and interruptible, returns a promise, no dependency, also compositor-backed for `transform`/`opacity` |
| GSAP (only if already installed) | multi-step timelines with overlap and labels (boot sequence, delete/send/pay button choreography), sequences that must reverse or scrub | timeline sugar and cross-browser robustness; cost: ~25KB+, runs on the main thread via rAF so it can jank during heavy mounts, and needs `clearProps` cleanup |

Don't add GSAP to an app for something CSS or WAAPI covers. Where it is already in (the reference app), keep
it for timelines and reuse the app's shared curves/constants — but a simple hover or press is
still CSS.

**Data devices on entrance.** On a data screen the entrance tells the story of the numbers, inside
the same shared entrance and only once per page visit (never on refresh or filter): meters and
ribbons grow `scaleX` from the start edge (mirrored in RTL), steppers fill to the current step and
the current dot pops, key figures count up, a drawer slides in and its sections cascade top-down.
After an inline edit the row updates at once and the header figures re-count — that's the
secondary reaction. Flutter: built-in `TweenAnimationBuilder` for rises, fills and count-ups,
keyed so a rebuild/refresh doesn't replay it (a sibling Flutter app's `RiseIn`/`EntranceProgress` in
`lib/core/widgets/refined/` is the reference). Use `flutter_animate` only if the repo already has it
**and** doesn't run `LeakTesting.enable()` — 4.5.2 leaks an animation object per effect and its
`delay` leaves pending timers, which fails leak-checked test suites.

**Signature moments** (one or two per product, on rare, meaningful actions — send, save, pay,
publish; never on a high-frequency control). Reference studies: a *send* button that folds into a
paper plane and flies off, then "Sent ✓"; a *favourite* button that swallows the grey star and
throws out a gold one that lands upright under gravity. What makes them work: the control itself
becomes the object, the motion says what happened (it left / it became gold), ~1.2–1.5s total,
the state commits at press (not at landing), reduced motion swaps straight to the end state. Both
are dependency-free — SVG polygons + WAAPI, or a small rAF physics loop writing CSS variables — so
GSAP is not required for this class either. Flutter: `CustomPainter` + one `AnimationController`
(disposed in `dispose()`).

## The `/animate` workflow

### 1. Detect the platform
- **Vue/Vuetify** if `package.json` has `vue` (+ likely `vuetify`, `@vueuse/core`). Files: `.vue`.
- **Flutter** if `pubspec.yaml` exists. Files: `.dart`.
- Note available motion libs: web — `@vueuse/motion`, `motion` (Motion One/Framer vanilla), `@formkit/auto-animate`, or none (fall back to **WAAPI + CSS**, zero-dep). Flutter — built-in implicit widgets / `TweenAnimationBuilder` / `AnimationController` first; `flutter_animate` only if already installed and the repo has no leak-tracking tests (`LeakTesting.enable()` — `flutter_animate` 4.5.2 fails them).
- If a JS spring/FLIP lib would materially help and none is present, **propose** installing one (`motion` for web) — but always have a zero-dep fallback ready. On Flutter, don't propose `flutter_animate` into a leak-checked repo.

**Match the codebase's existing motion vocabulary — don't re-derive or invent fresh.** Before writing anything, find the transitions the project already uses (`grep -rl '<Transition' <src-dir>` on web) and read a couple; match their transition-name and style conventions rather than inventing your own. Check `package.json` for what's actually installed: if a spring/FLIP lib (`motion`, `@vueuse/motion`, `@formkit/auto-animate`) is **not** present, the zero-dep WAAPI + CSS + `<Transition>` path (plus `@vueuse/core` if it's installed) needs nothing and is the default — using an uninstalled lib needs an install *proposal* first. You're extending an existing *spring/travel/secondary-reaction* vocabulary, not starting from a blank canvas.

### 2. Inspect the target
Read the actual component/page. Identify: what triggers (click/hover/mount/state-change/route), what the element *is*, where it goes, what could be a secondary reactor (a badge, count, icon, sibling), and how often a user sees it (drives intensity). Find the real selectors/refs/widget — don't animate in the abstract. **While you're in the file, take stock of the motion already there** — existing `<Transition>`s, keyframes, `v-motion`/`flutter_animate` calls, hover/press states. You're adding to a system, not a blank canvas.

### 3. The restraint gate — should this move *at all*?
**The gate is for extras, not the baseline.** The house motion system is never gated off on a surface you built — it is the finish, like spacing. This gate decides whether a target earns motion *beyond* it (a combo, a loop, a scroll or pointer effect), and it still keeps high-frequency controls to tiny hover/press.

Extra motion is not the default-good answer; **the most professional outcome is sometimes less, or none.** Before proposing anything, decide honestly whether this target earns new motion. Recommend **doing nothing** (or *subtracting* existing motion) when any of these hold:

- **It's already animated enough.** The target — or its surroundings — already has entrance, hover, and/or press motion that reads well. Piling on is noise, not polish. If the *page* is already motion-heavy (lots of keyframes/floaters), the high-value move is often to **calm or remove** existing motion, not add a combo.
- **High-frequency / utility surface.** Something a power user hits dozens of times a day (a save button in a tight loop, a table row, a keyboard-repeated control). Per principle 5, these want near-zero motion; a flourish becomes a daily tax.
- **It would fight the platform.** The element already has well-tuned built-in motion (e.g. Vuetify ripple/elevation) and a custom combo would conflict or feel redundant. Android notification arrival, heads-up, expansion and collapse are owned by System UI; do not add app-defined motion to `RemoteViews` or delay notification content for animation.
- **It would block or delay the user.** Any combo that disables/locks the control or gates a navigation behind an animation on a hot path. Feedback must never cost time on a frequent action.
- **Accessibility / context says no.** Vestibular-sensitive flows, dense data tables, anything where movement competes with reading.

If you're gating to "do nothing," **say so plainly and briefly explain why** (cite what's already there). Offer the smallest possible alternative if one exists ("the only thing I'd consider is X, and even that is optional") — but don't manufacture 2–4 ideas just to fill the menu. A confident "this doesn't need it, and here's the one-line reason" is a valid, valued result. Only proceed to step 4 once the target genuinely clears this gate.

**A vague mandate doesn't override the gate.** "Make it feel more alive / premium" is a goal, not an instruction to add motion. On a working surface the answer can be "leave it" or a tidy-up; on an already-busy page the best answer is often **subtract first, then add one accent**. When your recommendation goes *against* the literal wording (they said "more alive", you're removing loops), say so in the first line of the proposal so it reads as a decision, not a misunderstanding — and keep the literal "add only" version on the menu as a non-recommended option.

### 3.5. Choose the pattern with judgment, not vibes — [decision-map.md](reference/decision-map.md)
Once the target clears the gate, don't jump to a favourite effect. Run the **[motion decision map](reference/decision-map.md)**: name the state change in one sentence (*"X went from A to B"*), collect its 7 context facts (change class, relationship, origin, tone, frequency, initiator, constraints — infer from code, ask only the unknowns, usually just tone + frequency), then look up the ranked pattern(s). This is the layer that makes proposals *reasoned* — it enforces the duration-by-frequency budget, the tone rule (never bounce an error), enter-slow-exit-fast, opacity-leads-position, and picks fade-vs-push-up-vs-morph from the relationship rather than taste. The combo table below is the vocabulary; the decision map is the grammar that selects from it.

**If you can't write the change as "X went from A to B"** — because nothing transitions between two states, there's just a value being tracked as the user scrolls or moves the pointer — the class is **continuous/scrubbed**. Go straight to the map's continuous restraint gate (Step B2) *before* Step C: this class is presentational vocabulary, and on an operational surface the correct output is "none". Once a combo *is* chosen, [techniques.md](reference/techniques.md) holds the optional modifiers that layer onto it — consult it after the choice, never as a substitute for making one.

### 4. Propose 2–4 ideas (don't just pick one)
Present a short menu. For each: a name, one-line description of the choreography, the **combo** it draws from, rough timing/easing, and **the fact(s) that drove it** (per the decision map — e.g. "≤200ms, no overshoot, because it's high-frequency"). Recommend one. Keep it skimmable. Example format:

> **A. Spring press + success morph** *(press-release + success-morph)* — button dips to 0.96 on press, springs back past 1.0 on release; on submit it morphs to a spinner then a self-drawing check. ~140ms press / 220ms settle / 400ms morph. **← my pick: high-value, low-risk on a primary CTA.**
> **B. …**

Let the user choose (and remix). They explicitly want to try one, react, try another — so make swapping cheap.

**Name what you left still.** Close the menu with one line per element you considered and rejected, and why ("the price — it's compared, not celebrated; the nav — 100×/day"). It proves the restraint gate ran, and stops the next pass from animating them. When removing motion, also list what the removal could break (a `transitionend` / `animationend` listener, a test or script that waits on it, a focus move timed to it) and check each. *(Grafted from emilkowalski/skills `find-animation-opportunities` / `remove-animations`, MIT.)*

### 5. Implement the chosen combo
**Scope of the next two rules.** The motion-tokens module and the *secondary reaction* (principle 3) bind **interaction combos** — things a user action triggers (press, submit, add, toggle). A self-contained **ambient or showcase accent** (border beam, marquee, live pulse) has no trigger to react to, so it has no secondary reaction; and its component props *are* its tokens — don't create a tokens file that nothing else consumes. Say "N/A: ambient accent" rather than inventing one.

**First, the tokens — this is what makes step 6 cheap.** Iteration only stays seconds-cheap if every duration and curve is swappable in *one* place. So before hand-coding any bezier inline, create or extend a single source of truth: a motion-tokens module (e.g. a `useMotionTokens` composable exporting `EASE` / `DUR` objects) on web, or the curve `const`s on Flutter. Reference those tokens from the combo; never paste a raw `cubic-bezier(...)` / `150ms` you'll later have to hunt for across files.

Then use the recipe from the platform reference, adapted to the real element. Keep it self-contained and easy to revert. Wire `prefers-reduced-motion`. Match the existing code style of the file.

### 6. Verify, then iterate

For a reference-led motion request or “I cannot notice the change,” read [sequence-and-personality.md](reference/sequence-and-personality.md). Write a short motion score, preserve the prior treatment, and provide a normal-speed replay comparison. Check the reference’s actual route: a helper existing in its bundle does not prove that route uses it.
**Be honest about what you can and can't verify yourself.** Motion is *felt over time* — the things that make or break it (spring feel, jank under load, whether it interrupts cleanly when retriggered) do not survive a still frame. Static screenshots are a sanity check, not a verdict. So split verification in two:

- **Run `scripts/verify-motion.mjs` first (web).** It mechanically asserts most of the checklist — fires, starts <100ms, compositor-properties-only, settles, interruptible, and reduced-motion drops travel while keeping a cue. Usage and the two Playwright gotchas are in [web.md](reference/web.md#verifying-web-motion). It does not establish visual preference or real-device smoothness.
- **What you can confirm from frames/code (do this):** the motion is wired up and fires; correct transform-origin and travel direction (incl. RTL); the **secondary reaction** actually triggers; the `prefers-reduced-motion`/`disableAnimations` path degrades correctly; only `transform`/`opacity` (web) or cheap implicit widgets (Flutter) are animated. Capture frames to check these — *Web:* `browse`/`run` skills or Playwright/headless, stepping durations up 3–5× to freeze mid-states (`page.addStyleTag` a global `* { animation-duration: 3000ms !important; transition-duration: 3000ms !important }`), and exercise the reduced-motion branch with `page.emulateMedia({ reducedMotion: 'reduce' })` — concrete recipes in the web reference; *Flutter:* hot-reload screenshots or `flutter test` golden frames.
- **What only the user can confirm (hand off explicitly):** does it *feel* right — snappy not sluggish, smooth not janky on real hardware, pleasant on the Nth repeat. **Say plainly that you can't judge feel from frames, and ask them to run it.** Tell them the exact knobs to react against (duration, easing/bounce, stagger, scale amount) so feedback is concrete and swapping is cheap.

Then iterate on their reaction; offer the next idea if they want to compare. Don't claim it's "smooth" or "feels great" from screenshots alone — report what you verified and what still needs their eyes.

**Treat iteration as the default, not the exception.** Plan for several rounds: implement → they feel it → they ask for a tweak or a different idea → adjust → repeat. When they ask to change something mid-animation ("less bounce", "snappier", "actually try B"), just do it — that's the loop working, not a do-over. Make the smallest change that addresses their note, name the exact knob you turned (duration/easing/scale/stagger), and hand it back for another feel. Don't over-build the first pass trying to pre-empt this; ship a clean v1 fast and let their taste steer the rest.

> Implement on a **feature branch**, never directly on the main/dev branch.

### Animating a whole surface (page / dashboard)
When the target is a whole page, do **not** run the single-target loop on every element on its own clock — that is the "everything moves at once" failure. Run the **nested cascade** from [motion-system.md](reference/motion-system.md) as one coordinated timeline:
- **Level 1 — regions** in reading order (shell → title → stats → toolbar → grid), 100–150 ms apart.
- **Level 2 — meaningful siblings** staggered within a bounded total delay; split a title by line or word when appropriate. Per-character reveals are optional and must preserve accessible text, wrapping and RTL.
- **Optional level 3 — card contents**, only where the hierarchy warrants it, 135–150 ms after their card: media, text, then data marks (each bar, row, meter and number on its own beat; numbers count up, lines draw).
- **Legibility comes from small moves, not stillness:** travel ≤30 px, scale ≥.97, ≤0.9 s per element, everything settled by ~2 s, page clickable from frame one.
- **Interaction motion where the user acts** (hover lift, press, travelling pill, state-change feedback); at most one ambient loop per view.

## Combo library (the reusable vocabulary)

Each combo has a full Vue and Flutter recipe in the references. Pick and adapt; combine them.

| Combo | When | Choreography (primary + secondary) |
| --- | --- | --- |
| **fly-to-target** | add-to-cart, save, move-to-folder | item arcs along a real path to the target, lands with overshoot → **target badge pops + count bumps** |
| **press-release** | any pressable (buttons, cards, list rows) | `scale(0.96)` on press → spring back *past* 1.0 on release → settles |
| **success-morph** | submit / confirm / async action | button → spinner → **self-drawing checkmark**, label crossfades; optional subtle glow |
| **list-stagger + FLIP** | lists rendering / reorder / delete | items enter staggered (30–80ms) with rise+fade; on change, survivors **physically slide** to new slots |
| **skeleton-to-content** | data loading | skeleton cross-dissolves/morphs into real content (no pop-in); shimmer while waiting |
| **toast-snackbar** | transient feedback | enters and exits from the **same edge** with spring; stacks shift to make room |
| **count-up + badge-pop** | numbers/totals changing | digits roll to the new value (ease-out) → **badge punches** scale on change |
| **like-burst** | favorite / like / react | icon scales with overshoot + fills → one-shot **ring/particle burst** (rare action → can delight) |
| **live-pulse** | a state that is *currently live* (online, tracking, recording, syncing) | static dot + an expanding, fading **ring** that loops only while the state holds; stops the moment it doesn't |
| **attention-sheen** | one control that genuinely needs a first look (unfinished setup, new feature) | a light band sweeps across it **2–3 times, then stops for good** — never an infinite loop |
| **marquee** *(showcase)* | logo / partner / integration strip on a presentational page | two copies of a track loop sideways, soft masked edges, pause on hover; still wrapped row under reduced motion |
| **spotlight-card** *(showcase)* | feature cards on a presentational page | a soft glow and a 1px lit border follow the mouse; mouse-only, gone under reduced motion |
| **border-beam** *(showcase)* | the one primary CTA on a presentational page | a light runs round the edge a few laps when scrolled into view, then fades out for good |
| **theme-reveal** | light/dark (or any whole-page skin) switch | the new theme **expands as a circle from the toggle** via the View Transitions API — causality for a whole-page change |

Rows marked *(showcase)* live in [showcase.md](reference/showcase.md) and are for **presentational surfaces only** (hero, welcome/landing page, marketing section) — read that file only when the target is one. Before building any combo, **grep the project for an existing component** that already implements it (e.g. `MagicMarquee`, `MagicCard`, a `components/magic/` dir) and reuse it.

Ambient loops (`live-pulse`, `attention-sheen`) are a different class from everything above — they explain a *persisting* state, not a change. Their rules (one per view, bounded or tied to a live state, static under reduced motion) are in the decision map's ambient section; read it before proposing either.

Default intensities: spring `{ stiffness: 300, damping: 20 }` (snappy) or Apple-style `{ duration: 0.45, bounce: 0.2 }`. Overshoot CSS: `cubic-bezier(0.34, 1.56, 0.64, 1)`. Strong ease-out: `cubic-bezier(0.23, 1, 0.32, 1)`. Flutter: `Curves.easeOutBack` (overshoot), `Curves.elasticOut` (bouncy, use sparingly), `Curves.fastOutSlowIn` (movement).

## References
- [House motion system](reference/motion-system.md) — **the default for every built surface**: three-level cascade, tokens (web + Flutter curves), data, interaction, navigation, overlays, feedback, hard constraints. Read it first.
- [Motion decision map](reference/decision-map.md) — **the judgment layer**: 7 context facts + 12 laws (8 for discrete changes, 4 for continuous drivers) + change→pattern table that picks *which* motion and *why*. Consult in step 3.5, before proposing.
- [Motion modifiers](reference/techniques.md) — **orthogonal knobs** that layer onto a combo you've already picked (stagger order, velocity-derived distortion, two-config springs, second-beat decoupling, proximity falloff). Consult *after* the combo is chosen, never instead of choosing one. Zero modifiers is the right answer for most targets.
- [Showcase effects](reference/showcase.md) — Marquee, spotlight card, border beam (ported from Magic UI). **Presentational surfaces only**; read when the target is a hero/landing/welcome page, never for working UI.
- [Vue / Vuetify recipes](reference/web.md) — WAAPI/FLIP, `<Transition>`, springs, the damped follower, every combo as copy-adaptable code.
- [Flutter recipes](reference/flutter.md) — `flutter_animate`, `AnimationController`, `Hero`, the damped follower, every combo.
- Deep web motion theory → the `ui-polish` skill.

## Checklist before you call it done
- [ ] A surface you built carries the **house motion system** ([motion-system.md](reference/motion-system.md)): per-element nested entrance (no block fades), data draw-ins, hover/press, travelling selection, overlays from their trigger, route exit + replay.
- [ ] Anything *beyond* that passed the **restraint gate** — not already-animated, not a high-frequency tax; "do nothing" was a real option.
- [ ] Primary motion uses spring/overshoot, not linear.
- [ ] If something moved locations, it **traveled** (no fade-here/fade-there).
- [ ] There's a **secondary reaction**, not just the primary.
- [ ] Duration fits frequency (faster for frequent; under 300ms for micro).
- [ ] Only `transform`/`opacity` (web) / cheap implicit widgets (Flutter).
- [ ] `prefers-reduced-motion` / `disableAnimations` handled — and for **continuous** motion that means the driver is *unbound* and the property snapped to its settled value, not just a shorter scrub.
- [ ] If driven by scroll/pointer/drag: passed the **continuous restraint gate**; routed through a damped follower (no 1:1 binding, no bezier on the scrub); scrubs correctly **backwards** and at speed.
- [ ] If it loops: it's tied to a **live state** (stops when the state ends) or **bounded** (2–3 runs, then still); one looping thing per view; reduced-motion shows the static state.
- [ ] Interruptible where it must be: state toggles / retargetable travel use transitions/WAAPI/springs (no restart-from-zero keyframes); one-shot bursts may use remounted keyframes.
- [ ] Wiring verified from frames/code (fires, origin, RTL, secondary reaction, reduced-motion); **feel** handed to the user to confirm live — not claimed from screenshots. On a feature branch.

Files in this skill

  • SKILL.md31.5 KB
  • reference/decision-map.md28.6 KB
  • reference/flutter.md18.1 KB
  • reference/motion-system.md9.1 KB
  • reference/showcase.md10.1 KB
  • reference/techniques.md11.8 KB
  • reference/web.md44.8 KB
  • scripts/verify-motion.mjs10.3 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.