web-animation-design
Skill5.8k starsChanged 10 months agoMITView on GitHub
Design and implement web animations that feel natural and purposeful. Use this skill proactively whenever the user asks questions about animations, motion, easing, timing, duration, springs, transitions, or animation performance. This includes questions about how to animate specific UI elements, which easing to use, animation best practices, or accessibility considerations for motion. Triggers on: easing, ease-out, ease-in, ease-in-out, cubic-bezier, bounce, spring physics, keyframes, transform, opacity, fade, slide, scale, hover effects, microinteractions, Framer Motion, React Spring, GSAP, CSS transitions, entrance/exit animations, page transitions, stagger, will-change, GPU acceleration, prefers-reduced-motion, modal/dropdown/tooltip/popover/drawer animations, gesture animations, drag interactions, button press feel, feels janky, make it smooth.
1 other project uses a version of this.
Trending
Quiet since October.about the whole repository
Most recently taken up by
- gokulkrishh/skillsword for word, first seen Mar 8, 2026
Who's talking about vercel-labs/open-agents
- @dailygithubtrends.bsky.social“今日のGitHubトレンド vercel-labs/open-agents Vercel上でバックグラウンドで動作するコーディングエージェントを構築・実行するためのオープンソースのリファレンスアプリです。 Web…”Bluesky · May 7, 2026 · 2 likes
- A Hacker News story“Open Agents from Vercel is now open source”Hacker News · May 6, 2026 · 2 points
- @github-trending.bsky.social“💎 Hidden Gem! 💎 (1000+ new stars) 📦 vercel-labs / open-agents ⭐ 2,227 (+1,020) 🗒 TypeScript An open …”Bluesky · Apr 15, 2026 · 2 likes
- dennisonbertram/fork-open-agents“fix(github): typed 4xx instead of 500 when GitHub rejects stored credentials”GitHub · Aug 2, 2026 · 1 reactions
- @postgresql.activitypub.awakari.com.ap.brid.gy“vercel-labs/open-agents An open source template for building cloud agents. Open Agents Open Agents is an …”Bluesky · May 8, 2026 · 1 likes
The biggest 5 of 21 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 21
Talked about on GitHub, Bluesky and Hacker News (21 times).
On GitHub · 12
- Aug 2, 2026fix(github): typed 4xx instead of 500 when GitHub rejects stored credentials — dennisonbertram/fork-open-agents1 reaction · 2 comments
- Oct 3, 2026agent-skills.github.vercel-labs.open-agents: init at 0-unstable-2026-04-20 — sudosubin/agents.nix0 reactions
- Aug 2, 2026POST /api/sandbox returns an uncaught 500 (HttpError: Bad credentials) when the GitHub token is stale — dennisonbertram/fork-open-agents0 reactions · 1 comment
- Jun 17, 2026feat(codemods): add codemods for v6 to v7 migration — vercel/ai0 reactions
- May 23, 2026Epic: Trusted dev/staging/prod pipeline and sandbox secret broker — dennisonbertram/fork-open-agents0 reactions · 4 comments
7 more on GitHub
- Apr 16, 2026📱 SNS 콘텐츠 - 2026-04-16 22:47 KST — leaf468/autothreads0 reactions
- Apr 16, 2026🤖 AI 트렌드 리포트 - 2026-04-16 22:47 KST — leaf468/autothreads0 reactions
- Apr 16, 2026📱 SNS 콘텐츠 - 2026-04-16 14:32 KST — leaf468/autothreads0 reactions
- Apr 16, 2026🤖 AI 트렌드 리포트 - 2026-04-16 14:32 KST — leaf468/autothreads0 reactions
- Apr 15, 20263 more links to add — joanmarcriera/Home-office-automations0 reactions · 2 comments
- Apr 14, 2026Cloud execution roadmap: evaluate Vercel Open Agents as reference architecture — hurttlocker/o80 reactions · 2 comments
- Apr 14, 2026[Resource] Vercel Open Agents — Open-Source Cloud Agent Template — nexu-io/harness-engineering-guide0 reactions
On Bluesky · 7
- May 7, 2026今日のGitHubトレンド vercel-labs/open-agents Vercel上でバックグラウンドで動作するコーディングエージェントを構築・実行するためのオープンソースのリファレンスアプリです。 Web… — @dailygithubtrends.bsky.social2 likes and reposts
- Apr 15, 2026💎 Hidden Gem! 💎 (1000+ new stars) 📦 vercel-labs / open-agents ⭐ 2,227 (+1,020) 🗒 TypeScript An open source template for building cloud… — @github-trending.bsky.social2 likes and reposts · 1 reply
- May 8, 2026vercel-labs/open-agents An open source template for building cloud agents. Open Agents Open Agents is an open-source reference app for… — @postgresql.activitypub.awakari.com.ap.brid.gy1 likes and repost
- May 7, 2026🚀 Skyrocketing! 🚀 (200+ new stars) 📦 vercel-labs / open-agents ⭐ 4,889 (+406) 🗒 TypeScript An open source template for building cloud… — @github-trending.bsky.social1 likes and repost · 1 reply
- May 6, 2026🚀 Skyrocketing! 🚀 (200+ new stars) 📦 vercel-labs / open-agents ⭐ 4,760 (+366) 🗒 TypeScript An open source template for building cloud… — @github-trending-js.bsky.social1 likes and repost · 1 reply
2 more on Bluesky
- Apr 17, 2026vercel-labs/open-agents An open source template for building cloud agents. Open Agents Open Agents is an open-source reference app for… — @postgresql.activitypub.awakari.com.ap.brid.gy1 likes and repost
- Apr 15, 2026💎 Hidden Gem! 💎 (1000+ new stars) 📦 vercel-labs / open-agents ⭐ 2,227 (+1,020) 🗒 TypeScript An open source template for building cloud… — @github-trending-js.bsky.social1 likes and repost · 1 reply
On Hacker News · 2
- May 6, 2026Open Agents from Vercel is now open source2 points
- Apr 15, 2026An open source template for building cloud agents1 point
Other versions1 project uses a version of this.
Word for word · 1
- gokulkrishh/skills★ 3100% same
Edited · 0
None found.
Wrote their own version · 0
None found.
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 repository15 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .agents/skills/vercel-react-best-practices/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- agent-browserSkill
- ai-sdkSkill
- baseline-uiSkill
- chat-sdkSkill
- code-reviewSkill
- deploy-open-harnessSkill
- emil-design-engSkill
- frontend-designSkill
- plan-modeSkill
- remove-demo-limitsSkill
- vercel-react-best-practicesSkill
- workflowSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
13 rules. About 0 are common, 11 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈11
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 14
When this skill is first invoked without a specific question, respond only with:
- Distinctive: line 18
Do not provide any other information until the user asks a question.
- Distinctive: line 22
When reviewing animations, you MUST use a markdown table.
- Distinctive: line 44
Every animation decision starts with these questions:
- Distinctive: line 55
Use for user-initiated interactions: dropdowns, modals, tooltips, any element entering or exiting the screen.
- Distinctive: line 71
Use when elements already on screen need to move or morph.
- Distinctive: line 85
Use for hover states and color transitions.
- Distinctive: line 158
When speed matters more than smoothness
- Distinctive: line 196
Keep bounce subtle (0.1-0.3) when used
- Very specific: line 206
Only animate transform and opacity.
- Distinctive: line 226
Use refs to update styles directly instead of state
- Very specific: line 268
Every animated element needs its own prefers-reduced-motion media query
- Distinctive: line 270
No exceptions for opacity or color - disable all animations
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Web Animation Design
A comprehensive guide for creating animations that feel right, based on Emil Kowalski's "Animations on the Web" course.
Initial Response
When this skill is first invoked without a specific question, respond only with:
I'm ready to help you with animations based on Emil Kowalski's animations.dev course.
Do not provide any other information until the user asks a question.
Review Format (Required)
When reviewing animations, you MUST use a markdown table. Do NOT use a list with "Before:" and "After:" on separate lines. Always output an actual markdown table like this:
| Before | After |
transform: scale(0) | transform: scale(0.95) |
animation: fadeIn 400ms ease-in | animation: fadeIn 200ms ease-out |
| No reduced motion support | @media (prefers-reduced-motion: reduce) {...} |
Wrong format (never do this):
Before: transform: scale(0)
After: transform: scale(0.95)
────────────────────────────
Before: 400ms duration
After: 200msCorrect format: A single markdown table with | Before | After | columns, one row per issue.
Quick Start
Every animation decision starts with these questions:
- Is this element entering or exiting? → Use
ease-out - Is an on-screen element moving? → Use
ease-in-out - Is this a hover/color transition? → Use
ease - Will users see this 100+ times daily? → Don't animate it
The Easing Blueprint
ease-out (Most Common)
Use for user-initiated interactions: dropdowns, modals, tooltips, any element entering or exiting the screen.
/* Sorted weak to strong */
--ease-out-quad: cubic-bezier(0.25, 0.46, 0.45, 0.94);
--ease-out-cubic: cubic-bezier(0.215, 0.61, 0.355, 1);
--ease-out-quart: cubic-bezier(0.165, 0.84, 0.44, 1);
--ease-out-quint: cubic-bezier(0.23, 1, 0.32, 1);
--ease-out-expo: cubic-bezier(0.19, 1, 0.22, 1);
--ease-out-circ: cubic-bezier(0.075, 0.82, 0.165, 1);Why it works: Acceleration at the start creates an instant, responsive feeling. The element "jumps" toward its destination then settles in.
ease-in-out (For Movement)
Use when elements already on screen need to move or morph. Mimics natural motion like a car accelerating then braking.
/* Sorted weak to strong */
--ease-in-out-quad: cubic-bezier(0.455, 0.03, 0.515, 0.955);
--ease-in-out-cubic: cubic-bezier(0.645, 0.045, 0.355, 1);
--ease-in-out-quart: cubic-bezier(0.77, 0, 0.175, 1);
--ease-in-out-quint: cubic-bezier(0.86, 0, 0.07, 1);
--ease-in-out-expo: cubic-bezier(1, 0, 0, 1);
--ease-in-out-circ: cubic-bezier(0.785, 0.135, 0.15, 0.86);ease (For Hover Effects)
Use for hover states and color transitions. The asymmetrical curve (faster start, slower end) feels elegant for gentle animations.
transition: background-color 150ms ease;linear (Avoid in UI)
Only use for:
- Constant-speed animations (marquees, tickers)
- Time visualization (hold-to-delete progress indicators)
Linear feels robotic and unnatural for interactive elements.
ease-in (Almost Never)
Avoid for UI animations. Makes interfaces feel sluggish because the slow start delays visual feedback.
Paired Elements Rule
Elements that animate together must use the same easing and duration. Modal + overlay, tooltip + arrow, drawer + backdrop—if they move as a unit, they should feel like a unit.
/* Both use the same timing */
.modal {
transition: transform 200ms ease-out;
}
.overlay {
transition: opacity 200ms ease-out;
}Timing and Duration
Duration Guidelines
| Element Type | Duration |
| Micro-interactions | 100-150ms |
| Standard UI (tooltips, dropdowns) | 150-250ms |
| Modals, drawers | 200-300ms |
Rules:
- UI animations should stay under 300ms
- Larger elements animate slower than smaller ones
- Exit animations can be ~20% faster than entrance
- Match duration to distance - longer travel = longer duration
The Frequency
Determine how often users will see the animation:
- 100+ times/day → No animation (or drastically reduced)
- Occasional use → Standard animation
- Rare/first-time → Can be more special
Example: Raycast never animates because users open it hundreds of times a day.
When to Animate
Do animate:
- Enter/exit transitions for spatial consistency
- State changes that benefit from visual continuity
- Responses to user actions (feedback)
- Rarely-used interactions where delight adds value
Don't animate:
- Keyboard-initiated actions
- Hover effects on frequently-used elements
- Anything users interact with 100+ times daily
- When speed matters more than smoothness
Marketing vs. Product:
- Marketing: More elaborate, longer durations allowed
- Product: Fast, purposeful, never frivolous
Spring Animations
Springs feel more natural because they don't have fixed durations—they simulate real physics.
When to Use Springs
- Drag interactions with momentum
- Elements that should feel "alive" (Dynamic Island)
- Gestures that can be interrupted mid-animation
- Organic, playful interfaces
Configuration
Apple's approach (recommended):
// Duration + bounce (easier to understand)
{ type: "spring", duration: 0.5, bounce: 0.2 }Traditional physics:
// Mass, stiffness, damping (more complex)
{ type: "spring", mass: 1, stiffness: 100, damping: 10 }Bounce Guidelines
- Avoid bounce in most UI contexts
- Use bounce for drag-to-dismiss, playful interactions
- Keep bounce subtle (0.1-0.3) when used
Interruptibility
Springs maintain velocity when interrupted—CSS animations restart from zero. This makes springs ideal for gestures users might change mid-motion.
Performance
The Golden Rule
Only animate transform and opacity. These skip layout and paint stages, running entirely on the GPU.
Avoid animating:
padding,margin,height,width(trigger layout)blurfilters above 20px (expensive, especially Safari)- CSS variables in deep component trees
Optimization Techniques
/* Force GPU acceleration */
.animated-element {
will-change: transform;
}React-specific:
- Animate outside React's render cycle when possible
- Use refs to update styles directly instead of state
- Re-renders on every frame = dropped frames
Framer Motion:
// Hardware accelerated (transform as string)
<motion.div animate={{ transform: "translateX(100px)" }} />
// NOT hardware accelerated (more readable)
<motion.div animate={{ x: 100 }} />CSS vs. JavaScript
- CSS animations run off main thread (smoother under load)
- JS animations (Framer Motion, React Spring) use
requestAnimationFrame - CSS better for simple, predetermined animations
- JS better for dynamic, interruptible animations
Accessibility
Animations can cause motion sickness or distraction for some users.
prefers-reduced-motion
Whenever you add an animation, also add a media query to disable it:
.modal {
animation: fadeIn 200ms ease-out;
}
@media (prefers-reduced-motion: reduce) {
.modal {
animation: none;
}
}Reduced Motion Guidelines
- Every animated element needs its own
prefers-reduced-motionmedia query - Set
animation: noneortransition: none(no!important) - No exceptions for opacity or color - disable all animations
- Show play buttons instead of autoplay videos
Framer Motion Implementation
import { useReducedMotion } from "framer-motion";
function Component() {
const shouldReduceMotion = useReducedMotion();
return (
<motion.div
initial={shouldReduceMotion ? false : { opacity: 0, y: 20 }}
animate={{ opacity: 1, y: 0 }}
/>
);
}Touch Device Considerations
/* Disable hover animations on touch devices */
@media (hover: hover) and (pointer: fine) {
.element:hover {
transform: scale(1.05);
}
}Touch devices trigger hover on tap, causing false positives.
Practical Tips
Quick reference for common scenarios. See PRACTICAL-TIPS.md for detailed implementations.
| Scenario | Solution |
| Make buttons feel responsive | Add transform: scale(0.97) on :active |
| Element appears from nowhere | Start from scale(0.95), not scale(0) |
| Shaky/jittery animations | Add will-change: transform |
| Hover causes flicker | Animate child element, not parent |
| Popover scales from wrong point | Set transform-origin to trigger location |
| Sequential tooltips feel slow | Skip delay/animation after first tooltip |
| Small buttons hard to tap | Use 44px minimum hit area (pseudo-element) |
| Something still feels off | Add subtle blur (under 20px) to mask it |
| Hover triggers on mobile | Use @media (hover: hover) and (pointer: fine) |
Easing Decision Flowchart
Is the element entering or exiting the viewport? ├── Yes → ease-out └── No ├── Is it moving/morphing on screen? │ └── Yes → ease-in-out └── Is it a hover change? ├── Yes → ease └── Is it constant motion? ├── Yes → linear └── Default → ease-out
Reference Files
- PRACTICAL-TIPS.md - Detailed implementations for common animation scenarios
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.

