Interface motion that feels right
Tell Claude your interface and what should move, and get exact timings, CSS code and a reduced-motion version.
See it work
You give it
A clinic booking web app where patients pick a doctor and a time. The client wants: buttons that bounce on hover, the calendar to slide between months, confetti when a booking is confirmed, the logo to spin on page load, and a toast after saving profile details.
You get back
Kind of interface: a flow people complete. Patients come to book and leave, often worried or unwell, so the budget is small: motion that shows what changed, and nothing that makes them wait.
| # | Moment | Trigger | How often | Purpose | Verdict | Why |
|---|---|---|---|---|---|---|
| 1 | Button hover | Pointer over a button | Many times a visit | Feedback | Animate tiny | A quick colour change confirms the target. A bounce on every hover distracts, and phones have no hover. |
| 2 | Button press | Tap or click | Many times | Feedback | Animate tiny | A short scale-down tells people the tap landed. |
| 3 | Calendar month change | Next or previous month | A few times a booking | Direction | Animate | A short slide shows which way time moved. |
| 4 | Time slot selected | Tap a slot | Once or twice | State | Animate tiny | The chosen slot changes state at once, with a fast fill. |
First part of a run in Claude (Opus 5.5), Nov 2026
ui-motion.zip
10 files, version 1.0. Keep it zipped.
Or save this page as Markdown.
How to use
- Download the skill above. You get one file, ui-motion.zip. Keep it zipped.
- In Claude, open Customize (Plugins on newer screens), then Skills. Press +, then Create skill, then Upload a skill, and choose ui-motion.zip. In Claude Code, run the install lines below instead.
- Start a new chat and send the first message below. Replace every word in [CAPITALS] with your own details.
- Attach the CSS, HTML, JavaScript or React files, or a live link. Screenshots show layout but not motion, so code or a link works best.
Install it and start
Install it in Claude CodeTerminal
mkdir -p ~/.claude/skills unzip ~/Downloads/ui-motion.zip -d ~/.claude/skills/ # Start it with /ui-motion. If this is your first skill, type /reload-skills once.
Your first message to ClaudeText
Use the ui motion skill. I'm working on [WHAT, E.G. A SHOP PAGE IN PLAIN HTML AND CSS]. Most people use it on [DEVICES, E.G. MID-RANGE ANDROID PHONES]. I want it to [GOAL, E.G. FEEL QUICKER AND MORE FINISHED]. The code is attached. Start with which moments should move.
What's inside
ui-motion/SKILL.mdThe method Claude follows in six stages: choosing which moments move, the spec, the build, reduced motion, the slow-phone test and the review.ui-motion/README.mdHow to install it in claude.ai or Claude Code, how to start, and the licence.ui-motion/references/motion-rules.mdWhich moments should move, durations, curves, springs, distances, cheap properties, enter and exit, hover and press, stagger, page changes, reduced motion moment by moment, and the review rules.ui-motion/references/css-recipes.mdBrowser-tested plain CSS for press, hover, menu, tooltip, dialog, drawer, toast, accordion, tabs, loading, page changes and reveals, each with reduced-motion lines, plus tested Motion and GSAP versions.ui-motion/references/facts.mdWCAG 2.2 motion rules, prefers-reduced-motion, where each phone and computer sets reduce motion, browser support, Motion and GSAP names, versions and licences, speed thresholds and Indian rules, with sources and dates.ui-motion/references/test-kit.mdThe slow-phone test step by step, how to run the static check and the headless Chrome check at phone and laptop sizes with and without reduced motion, the steps file and how to read the results.ui-motion/references/check-scripts.mdThe source of the two tested check scripts, a Python static check for motion code and a Node and Playwright browser check, with a SHA-256 for each.ui-motion/references/worked-example.mdA full run on a fictional stationery shop's page: the motion sheet, the spec, the finished tested page, the test record and a review of a first draft.ui-motion/CREDITS.mdThe open-source skills this one adapts, the commit, the MIT licence, which files contain adapted material and what was changed.ui-motion/LICENSE-EMILKOWALSKI-SKILL.txtThe MIT License text, exactly as published, covering the adapted parts.