Enter and exit animations
Decides what should animate and builds enters, exits, icon swaps and drag with exact timing and easing values.
Claude's review
8/10 Exact motion values and decision rules that improve results, though recipes are split across reference files not included.
We asked Claude the question you would ask: would I be glad I installed this? We only sell skills it rates 7 or higher.
In detail
Decides what should animate and builds it, with exact values for duration, easing, scale and distance and recipes for enters, exits, icon swaps, shared layout animation and drag.
How you use it
- Add it to your pack, then download your pack (1 credit).
- In Claude, open Customize > Skills and upload the zip. Code execution needs to be on under Settings > Capabilities.
- Ask Claude for the job in your own words. It uses the skill when your request matches what it does. Step by step guide
Safety check
Nothing risky found: no hidden instructions, no download and run, no reading of saved passwords or keys.
An automated scan lowers risk but cannot promise zero risk. How we check skills
Preview
The first lines of SKILL.md
---
name: better-motion
description: Decides what should animate and builds it, with exact values for duration, easing, scale and distance and recipes for enters, exits, icon swaps, shared layout animation and drag.
---
# Motion
This skill decides whether an element should move and gives the values and recipes for when it should. It covers transitions, springs, enters and exits, icon swaps, shared layout animation, animated height and drag.
## Less motion, exact values
The first question is whether to animate at all, and the answer is often no. Add motion where the request asks for it or a principle here calls for it. Removing an animation is a valid fix.
The values come in two kinds. The press scale, the icon cross-fade, the stagger and the spring bounce are exact, so `0.96` is not `0.95`. The duration, scale and distance tables are starting points for desktop web. Adjust them by eye for the element's size and the distance it travels. Full-screen transitions on mobile run longer and travel farther.
Keep the project's motion library, tokens and curves, and match its motion language wherever no principle here gives a value. A deliberate and consistent project convention is a preference and not a finding. That covers a value too, so a project that presses to `0.95` on every button keeps it. The same detail done two ways within the project is a finding.
The reduced-motion requirement, pause controls and the single-pointer alternative to a drag belong to `better-accessibility`. Surfaces, icon weight and color and hover gating belong to `better-ui`. The layout an animation moves between belongs to `better-layout`.
## How often it is seen decides whether it moves
Keystrokes, row hovers and the content behind a tab change instantly, or with a transition of `150ms` or less on `opacity` or `background-color`. A tab's indicator may still travel between tabs. See [transitions.md](transitions.md#high-frequency-motion).
A menu people open many times a day skips its opening animation and animates only as it closes. A context menu and a command menu count, and a menu on a settings page does not. Reserve expressive motion for infrequent moments such as a view's first load, a success state or an empty state.
Every animated state change also leaves a static cue in the form of a color, icon or label. Motion is never the only feedback channel.
## Transitions, not keyframes, for interactive state
Drive interactive state changes with CSS transitions or a motion library's springs, which retarget when the user reverses mid-flight. Keyframes run a fixed timeline and cannot reverse, so reserve them for sequences that run once. See [transitions.md](transitions.md).
## Duration follows size
Small elements move fast and large ones take longer:
| Element | Enter |
| --- | --- |
| Tooltips and other small elements | `150ms` |
| Dropdowns and menus | `250ms` |
| Modals, drawers and panels | `350ms`–`450ms` |
...From jakubkrehel's repository, MIT licence.
Related skills
-
Checked
Web design builder
Builds polished web pages, dashboards and prototypes in HTML, CSS and React, then checks them in a browser.
8/101 credit -
Checked
Distinctive UI design
Builds and restyles pages and components with a clear visual direction, so they do not look AI generated.
7/101 credit -
Checked
Dimensional spec drawing
Makes an Apple style monochrome dimension drawing of a UI component or product, ready to use as a spec sheet.
8/101 credit -
Checked
UI motion design
Sets timing, easing and choreography for UI animations and transitions so the motion feels natural.
8/101 credit -
Checked
Frontend UI builder
Builds accessible, responsive interfaces that meet WCAG and look hand made rather than AI generated.
7/101 credit -
Checked
Interface motion decisions
Decides easing, duration, springs and tap targets for menus and modals, so your interface feels responsive.
8/101 credit