transitions
Skill1 starsChanged 59 days agoMITView on GitHub
Enter/exit patterns for overlays and lists without layout jump. Use when animating drawers, dialogs, popovers, route changes, or staggered lists.
5 other projects use a version of this.
Adopted by
Most recently taken up by
- soilmass/motion-design-agenttheir own version, first seen Nov 8, 2026
- illodev/drawn-by-codetheir own version, first seen Nov 4, 2026
- crfldrxyz/AuthorOps-Skillstheir own version, first seen Sep 1, 2026
- bybren-llc/story-systems-templatetheir own version, first seen Aug 4, 2026
- alebgl77/claude-inctheir own version, first seen Jul 28, 2026
Other versions5 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 5
- bybren-llc/story-systems-template★ 66same name
- illodev/drawn-by-code★ 45same name
- alebgl77/claude-inc★ 21same name
- soilmass/motion-design-agent★ 7same name
- crfldrxyz/AuthorOps-Skills★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository20 other files it gives its agents.
- motionSkill
- reduced-motionSkill
- ux-auditSkill
- empty-statesSkill
- loadersSkill
- defaultsSkill
- formsSkill
- icon-buttonsSkill
- keyboardSkill
- page-patternsSkill
- surfacesSkill
- setup-ui-ux-skillsSkill
- anti-slopSkill
- colour-paletteSkill
- spacingSkill
- typographySkill
- viewportsSkill
- errorsSkill
- labelsSkill
- verbsSkill
The file
We split this skill into the rules it gives an agent
2 rules. 0 are common, 1 is distinctive, and 1 is very specific to this project.
0
Common
Most of the 3 edited versions we read keep these.
1
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 11
If .ux-profile.md exists at the project root, read it before changing overlay or list motion.
- Distinctive: line 27
Prefer animating the overlay panel, not the entire page backdrop blur radius.
“Common” is measured: kept by at least 6 in 10 of the 3 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
If .ux-profile.md exists at the project root, read it before changing overlay or list motion. Pair with surfaces for which surface type to use, and motion for duration/easing tokens.
Intent
Enter and exit should reinforce the surface model: slide-overs slide, popovers fade/scale lightly, routes swap without fighting focus. Motion must never steal Escape, trap focus incorrectly, or shove surrounding layout.
Hard Rules (Non-Negotiable)
- Overlay enter/exit matches
surfaces: slide-over uses horizontal translate; popover uses opacity (± slight scale ≤1.02); full-page routes do not fake a modal slide unless the surface skill chose a drawer. - Esc and focus stay available during motion. Exit animation can cancel; never block Escape until the animation finishes. Focus trap rules from
keyboardstill apply while the overlay is open. - List stagger ≤30ms per item, total stagger budget ≈200ms. Longer cascades feel theatrical and slow.
- Reserve space so open/close does not shift siblings (fixed drawer width, absolute overlay, or reserved inline-edit height). Zero layout jump — same spirit as inline edit in
surfaces.
Design Heuristics & Taste Principles
- Exit slightly faster than enter (e.g. enter 200ms, exit 150ms).
- Prefer animating the overlay panel, not the entire page backdrop blur radius.
- Backdrop opacity may fade in 150–200ms; keep backdrop static in reduced motion.
- Stagger only when it clarifies grouping (new list batch); never stagger every keystroke filter update.
- Coordinate with
loaders: do not run a dramatic enter on a skeleton that will immediately swap.
See reference/enter-exit.md for surface-specific patterns.
Concrete Scenarios (Before vs. After)
❌ Anti-Pattern
Opening a slide-over expands document height and pushes the list down. List items cascade in over 80ms × 40 rows (~3s). Escape is ignored until the 500ms close animation completes.
✅ Best Practice
Slide-over is position: fixed with translateX enter/exit. Esc closes immediately (exit may continue visually). A 12-row list uses ≤30ms stagger with a 200ms total cap — or no stagger for filter updates.
Framework-Agnostic Implementation Blueprint
.slide-over {
position: fixed;
inset-block: 0;
inset-inline-end: 0;
width: min(420px, 100vw);
transform: translateX(100%);
opacity: 0;
transition:
transform var(--motion-200) var(--ease-out),
opacity var(--motion-200) var(--ease-out);
}
.slide-over[data-open="true"] {
transform: translateX(0);
opacity: 1;
}
.list-item {
transition: opacity var(--motion-150) var(--ease-out);
}
/* stagger via --i * 30ms, clamp total ≤200ms — see enter-exit.md */Agent Checklist
- Confirm surface type with
surfacesbefore choosing enter/exit. - Overlay is fixed/absolute so siblings do not reflow.
- Esc works during enter/exit; focus restore still happens on close.
- Stagger ≤30ms/item and ≤~200ms total (or none).
- Durations/easing match
motiontokens. - Review patterns in reference/enter-exit.md.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

