/design:ui-animationfrom design
Creates, reviews, and debugs UI motion and animation implementations. Covers springs, gestures, drag interactions, clip-path reveals, easing, timing, and animation review. Use when designing, implementing, or reviewing motion, CSS transitions, keyframes, framer-motion, spring animations, asking "add animations to", "make this feel smooth", "review my animations", "should this animate", or "add a swipe gesture"
Ships in design. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
| File | Read when |
|---|---|
| references/decision-framework.md | Default: animation decisions, easing, duration, and which tool |
| references/opportunities.md | Asked to add motion with no named element ("make this feel alive", "what could animate here?") |
| references/spring-animations.md | Using spring physics, framer-motion useSpring, configuring spring params |
| references/component-patterns.md | Building buttons, popovers, tooltips, drawers, modals, toasts with animation |
| references/clip-path-techniques.md | Using clip-path for reveals, tabs, hold-to-delete, comparison sliders |
| references/gesture-drag.md | Implementing drag, swipe-to-dismiss, momentum, pointer capture |
| references/performance-deep-dive.md | Debugging jank, CSS vs JS, WAAPI, CSS variables trap, Framer Motion caveats |
| references/react-view-transitions.md | Animating route changes, shared elements, list reorders or Suspense reveals in React or Next.js with <ViewTransition> |
| references/review-format.md | Reviewing animation code — Before/After/Why table and issue checklist |
| references/contextual-animations.md | Implementing contextual icon swaps, word-level stagger entrances, or fixed-offset exit animations |
@starting-style for DOM entry animations; fall back to data-mounted.filter: blur(2px) can hide rough crossfades.transform and opacity only.color, background-color, and opacity are acceptable.width, height, top, left); never use transition: all.filter animation for core interactions; keep blur <= 20px if unavoidable.<g> wrapper with transform-box: fill-box; transform-origin: center.[data-theme-switching] * { transition: none !important }).| Element | Duration | Easing |
|---|---|---|
| Button press feedback | 100–160ms | cubic-bezier(0.22, 1, 0.36, 1) |
| Tooltips, small popovers | 125–200ms | ease-out or enter curve |
| Dropdowns, selects | 150–250ms | cubic-bezier(0.22, 1, 0.36, 1) |
| Modals, drawers | 200–350ms | cubic-bezier(0.22, 1, 0.36, 1) |
| Slide in from an edge | 200–300ms | cubic-bezier(0.25, 1, 0.5, 1) |
| Reposition/morph on screen | 200–300ms | cubic-bezier(0.77, 0, 0.175, 1) |
| Simple hover (colour/opacity) | 200ms | ease |
| Illustrative/marketing | Up to 1000ms | Spring or custom |
Named curves
cubic-bezier(0.22, 1, 0.36, 1) — entrances and transform-based hovercubic-bezier(0.25, 1, 0.5, 1) — slides, drawers, panelscubic-bezier(0.77, 0, 0.175, 1) — an element already on screen travelling A to B (tab indicator, reorder)cubic-bezier(0.32, 0.72, 0, 1)Avoid ease-in for UI. Prefer custom curves from easing.dev.
transform-origin at the trigger point for popovers; keep center for modals.scale(0.85–0.9). Never scale(0).@media (hover: hover) and (pointer: fine) to avoid false positives on touch.prefers-reduced-motion ships with the animation, not as a follow-up. Reduced means fewer and gentler, not zero: keep opacity and color changes that explain a state, drop translation, scale, parallax and overshoot. In Motion, useReducedMotion() and branch the transform values (const x = reduce ? 0 : "-100%"). A global 0.01ms kill also removes feedback the user needs, so prefer per-animation alternatives.transform and opacity — these skip layout and paint.IntersectionObserver.will-change only during heavy motion and only for transform/opacity — remove after.x/y values are the normal choice for axis-based movement and drag. Use full transform strings when you need one transform owner for combined transforms or interop.transition: all — triggers layout recalc and animates unintended properties.width, height, top, left) for interactive feedback.ease-in for UI entrances — feels sluggish.scale(0) — nothing in the real world appears from nothing. Use scale(0.85–0.95).will-change — toggle it only during heavy motion.x/y props with a handwritten transform string on the same element.Copy and track this checklist:
Animation progress:
- [ ] Step 1: Decide whether the interaction should animate
- [ ] Step 2: Choose purpose, easing, and duration
- [ ] Step 3: Pick the implementation style
- [ ] Step 4: Load the relevant component or technique reference
- [ ] Step 5: Validate timing, interruption, and device behavior
- [ ] Step 6: Name what still needs a feel check
Credit: adapted from emilkowalski/skills skills/animate/SKILL.md and skills/apple-design/SKILL.md @ 2d22863 (MIT).
width, height, top, left).will-change is toggled only during animation, not permanently set.references/clip-path-techniques.md (opens in a new tab)references/component-patterns.md (opens in a new tab)references/contextual-animations.md (opens in a new tab)references/decision-framework.md (opens in a new tab)references/gesture-drag.md (opens in a new tab)references/opportunities.md (opens in a new tab)references/performance-deep-dive.md (opens in a new tab)references/react-view-transitions.md (opens in a new tab)references/review-format.md (opens in a new tab)references/spring-animations.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub tomaspalsson/flow --plugin design12 skills in this plugin
/designDesign process: UX and usability first, then fit to the client's real content, then a project-specific look with none of the AI-made tells (indigo, Inter, centred hero + 3 cards, cream + serif, mono eyebrow labels, "Build the future of X"). Ships the feel layer: every control answers hover, press and focus, changes are explained by small tiered transitions, one authored interaction, no scroll fade-ups or idle loops; verified by driving the page in a browser (scripts/probe.mjs). Use when generating, building, improving, polishing, critiquing or evaluating any UI or frontend, or when asked for microinteractions, transitions or polish. Phases: understand → UX (Nielsen) → direction → execute with interaction layer → graphics → polish and tell sweep → feel pass → external evaluator. Keywords: UI, UX, landing page, dashboard, not AI slop, microinteractions, design review. For a brand-new page that should differ between runs, prefer `vary`; use `design` for critique, audits, polish, or by name./diagramDraws clear, good-looking diagrams as one self-contained HTML file with inline SVG (export to SVG or PNG on request): architecture, AWS architecture with the official AWS icons (VPC, subnets, regions, Lambda, API Gateway, DynamoDB, S3 and 800 more), architecture delta, deployment, flowchart, sequence, state machine, ER/data model, database schema, UML class, timeline, Gantt, swimlane, process, data flow, service blueprint, user journey, story map, kanban, quadrant, radar, polar, loop/flywheel, nested, tree, org chart, layer stack, exploded axonometric, axonometric plan, Venn, pyramid/funnel, treemap/marimekko, heatmap, bar/dumbbell, waterfall, line/slopegraph/ridgeline/streamgraph/bump, scatter/bubble/beeswarm, Sankey, fishbone, Wardley map, dependency graph, high-level, medallion, DP integration, DP security matrix, IT current-state; also redraws .drawio, Mermaid and .excalidraw files. Use when the user says "draw a diagram", "diagram this", "architecture diagram", "AWS diagram", "draw our infra", "flowchart of", "sequence diagram", "make this Mermaid look good", or when design, graphics or explainer need a diagram. Not for illustrations, icon sets or brand art (use design:graphics) and not for live data dashboards.