Logotipo de Interaction Motion Design

Interaction Motion Design

Comunidad
phazurlabs
interaction-motion-design

Microinteracciones, tiempos de animación y curvas de aceleración, física de muelles, coreografía de transiciones, vocabulario de respuesta háptica y diseño emocional. Úsalo para añadir o revisar animaciones, ajustar su duración, diseñar respuestas hápticas o admitir prefers-reduced-motion.

Add to TypingMind

Descripción general

Editorphazurlabs
Repositoriosumi
Nombre de la habilidadinteraction-motion-design
Estrellas
58
Forks
11
Archivos incluidos
3
LicenciaApache-2.0
Enlaces
  • Instrucciones en Markdown

    Un archivo SKILL.md que el modelo carga cuando lo necesita, de modo que solo consume tokens cuando la petición encaja con la habilidad.

  • Funciona con cualquier LLM

    Las habilidades de IA están en Markdown, no en código específico de un proveedor, por lo que funcionan con GPT, Claude, Gemini, Grok o un modelo local.

  • Archivos incluidos: 3

    Scripts, plantillas y referencias que el modelo puede leer mientras trabaja. Los archivos son de solo lectura y nunca se ejecutan.

  • Código abierto

    Publicada por phazurlabs en GitHub. Revisa el contenido original antes de instalarla.

Instalación

Instala la habilidad de IA Interaction Motion Design en TypingMind para usarla con cualquier LLM, o añádela a otro agente que lea SKILL.md.

1

Instalar en TypingMind

TypingMind instala una habilidad directamente desde su carpeta de GitHub: lee SKILL.md, empaqueta los archivos de recursos y guarda el resultado localmente.

  1. Abre la aplicación y ve a Plugins → Habilidades.
  2. Elige «Instalar desde GitHub».
  3. Pega la URL de la carpeta de la habilidad que se muestra a continuación y confirma.
    https://github.com/phazurlabs/sumi/tree/main/skills/interaction-motion-design
  4. Activa la habilidad en cada chat en el que quieras tenerla disponible.
Plugins → Habilidades → Añadir habilidad → URL de GitHub; después, pega la URL de la carpeta y pulsa Continuar.
2

Instalar en otro agente

Cualquier agente que lea el formato Agent Skills puede usar esta habilidad: copia la carpeta en el directorio de habilidades de ese agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/phazurlabs/sumi.git /tmp/sumi
mkdir -p .claude/skills
cp -r /tmp/sumi/skills/interaction-motion-design .claude/skills/interaction-motion-design
Reinicia Claude Code después de copiarla para que detecte la nueva habilidad.

Úsala en TypingMind

Activa Interaction Motion Design en cualquier chat de TypingMind y el modelo se encargará del resto. Su nombre y descripción se incluyen en el prompt del sistema y, en cuanto una petición encaja con la habilidad, el modelo carga las instrucciones completas por sí solo. No tienes que invocarla manualmente y no consume tokens hasta que se utiliza.

El modelo carga Interaction Motion Design automáticamente en cuanto una petición es relevante para esa habilidad.

Funciona con cualquier modelo de IA

Las habilidades de IA son instrucciones en Markdown, no código específico de un proveedor, por lo que Interaction Motion Design no está vinculada al modelo para el que se creó. Instálala una sola vez en TypingMind y úsala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modelo local que ejecutes tú, todo con tus propias claves API.

  • Se carga solo cuando se necesita

    El prompt del sistema solo incluye el nombre y la descripción. Las instrucciones se cargan con la primera petición que encaja con la habilidad, por lo que una habilidad que no se usa no supone ningún coste.

  • Cambia de modelo durante el chat

    Como la habilidad contiene instrucciones y no código, cambiar de modelo no impide que funcione: el nuevo modelo lee el mismo archivo SKILL.md.

Instrucciones de la habilidad

Este es el contenido de SKILL.md que carga el modelo. Léelo antes de instalar la habilidad: contiene instrucciones que tu modelo seguirá.

Interaction & Motion Design — Purposeful Animation Framework

Motion Design Philosophy

"Animation is not about making things move. It is about making things feel alive." Motion connects interface states, communicates causality, and creates emotional resonance. Every animation must earn its milliseconds — gratuitous motion is worse than no motion at all.

Core Principles (Disney's 12 Principles, Adapted for UI)

  1. Purpose over polish — every animation must serve a functional role: guide attention, show relationships, confirm actions, or create continuity
  2. Physics-based movement — natural motion follows physical laws (acceleration, deceleration, spring, gravity)
  3. Performance is non-negotiable — animations must run at 60fps; a janky animation is worse than no animation
  4. Respect user preference — honor prefers-reduced-motion unconditionally; motion sensitivity is real and common
  5. Subtlety scales — small animations compound; individually subtle, collectively they define the interface's personality

Animation Timing and Duration

Duration Guidelines

Instant:          0ms       — Hover state color changes, cursor changes
Micro:           100-150ms  — Button press feedback, checkbox toggle, ripple
Small:           150-250ms  — Tooltip appear/dismiss, dropdown open, fade
Medium:          250-400ms  — Panel slide, card expand, page transition
Large:           400-600ms  — Complex layout reflow, modal open with backdrop
Extra Large:     600-1000ms — Onboarding sequences, celebratory moments (rare)

Critical Rules

  • Interface responses under 100ms feel instantaneous — do not animate these.
  • User-initiated actions: 150-300ms (responsive, not sluggish).
  • System-initiated changes: 200-500ms (smooth, noticeable enough to orient).
  • Never exceed 1000ms for any single transition in regular workflows.
  • Mobile animations should be approximately 30% shorter than desktop equivalents for a faster feel.

Easing Curves

Standard Easing Library

Ease-out (decelerate) — Use for elements entering the screen.

css
transition-timing-function: cubic-bezier(0.0, 0.0, 0.2, 1.0);
/* Enters fast, slows to rest — feels responsive */

Ease-in (accelerate) — Use for elements leaving the screen.

css
transition-timing-function: cubic-bezier(0.4, 0.0, 1.0, 1.0);
/* Starts slow, accelerates out — feels like natural exit */

Ease-in-out (standard) — Use for elements changing state on screen.

css
transition-timing-function: cubic-bezier(0.4, 0.0, 0.2, 1.0);
/* Smooth transition between two states */

Spring curve — Use for playful, physics-based interactions.

css
/* CSS spring() not yet standard; use JavaScript spring physics */
/* Parameters: stiffness ~170, damping ~26, mass ~1 for natural feel */

Rule: Never Use Linear Easing for UI Motion

Linear easing (ease: linear) feels mechanical and robotic. The only exceptions are infinite progress indicators and color transitions.

Micro-Interaction Patterns

Button Interactions

  • Press: Apply slight scale down (0.97-0.98) plus subtle darkening on press — immediate, under 100ms.
  • Release: Spring back to 1.0 scale — 150-200ms with ease-out.
  • Loading: Replace label with inline spinner, maintain button dimensions — prevent layout shift.
  • Success: Apply brief color transition to success state (green) plus checkmark icon swap — 300ms.
  • Disabled: Reduce opacity (0.5-0.6), remove hover effects, change cursor.

Toggle and Switch

  • Thumb translation: 200ms ease-in-out.
  • Track color transition: 150ms.
  • Add slight bounce (overshoot spring) for personality.
  • Trigger haptic feedback on state change (mobile).

Form Interactions

  • Focus: Transition input border color — 150ms.
  • Validation success: Apply subtle green border plus checkmark icon fade-in — 200ms.
  • Validation error: Apply red border plus shake animation (2-3px horizontal, 300ms) plus error text slide-down.
  • Character counter: Transition color as limit approaches (neutral to warning to error).

Notification and Toast

  • Enter: Slide in from edge plus fade — 300ms ease-out.
  • Persist: 3-5 seconds for success, persistent for errors.
  • Exit: Fade out plus slight vertical slide — 200ms ease-in.
  • Stack: Push existing notifications when new ones arrive, with 200ms stagger.

Transition Design

Page and View Transitions

Forward navigation (deeper in hierarchy):

  • Slide new view in from right (LTR) — 300ms ease-out.
  • Slide previous view left and slightly scale down (0.95) — 300ms ease-out.
  • Maintain visual continuity for shared elements (hero transitions).

Backward navigation (up in hierarchy):

  • Reverse the forward animation — slide previous view in from left.
  • Match gesture velocity for swipe-back (iOS-style).

Modal/Dialog:

  • Backdrop: fade in black overlay (opacity 0.5) — 200ms.
  • Dialog: scale from 0.95 to 1.0 plus fade in — 250ms ease-out.
  • Dismiss: reverse with ease-in — 200ms.
  • Trap focus on open, restore focus on close.

Tab/Segment Change:

  • Content crossfade: 150-200ms.
  • Slide active indicator to new position — 250ms ease-in-out.
  • Avoid sliding content left/right for tabs (it implies hierarchy, not peers).

Shared Element Transitions (View Transitions API)

css
/* Modern approach using View Transitions API */
::view-transition-old(hero) {
  animation: fade-out 250ms ease-in;
}
::view-transition-new(hero) {
  animation: fade-in 250ms ease-out;
}
  • Maintain visual continuity when elements persist across views.
  • Anchor transitions to the shared element — the eye follows it naturally.
  • Use the View Transitions API for declarative cross-view animation.

Loading State Choreography

Skeleton Screens (Preferred)

  • Show content structure with animated placeholder shapes before data loads.
  • Pulse animation: opacity 0.3 to 0.7 — 1.5s ease-in-out infinite.
  • Match skeleton shapes to actual content dimensions.
  • Stagger skeleton appearance slightly (50ms between groups) for natural feel.

Progress Indicators

  • Determinate: Use when progress percentage is known — smooth bar fill.
  • Indeterminate: Use when duration is unknown — continuous animation loop.
  • Combined: Start indeterminate, switch to determinate when progress data arrives.
  • Position at the top of the content area being loaded.

Optimistic UI

  • Show the expected result immediately upon user action.
  • If the action fails, smoothly revert with clear error notification.
  • This eliminates perceived loading time for common operations (like, save, send).

Emotional Design Through Motion (Don Norman)

The Three Levels of Emotional Design

Visceral (instinctive):

  • First-impression motion: smooth, fluid transitions signal quality and care.
  • Avoid janky, delayed, or inconsistent animations — they signal low quality.
  • Natural physics (spring, gravity) feel better than mechanical motion.

Behavioral (usability):

  • Motion must support task completion, not hinder it.
  • Confirmations (checkmark, success state) reinforce correct actions.
  • Error animations (shake, pulse) communicate problems clearly.

Reflective (self-image):

  • Deploy celebratory animations for milestones (confetti, progress completion).
  • Embed subtle delight in repeated interactions (easter eggs for power users).
  • Express personality through motion style: playful brands move differently than corporate ones.

Emotional Motion Vocabulary

  • Confidence: Smooth, direct, no hesitation — ease-out curves.
  • Playfulness: Bounce, overshoot, spring physics — slight exaggeration.
  • Urgency: Fast, sharp transitions — short durations, ease-in.
  • Calm: Slow, gentle fades — longer durations, ease-in-out.
  • Celebration: Explosive, radial, particle effects — reserve for significant moments.

Haptic Feedback (Mobile and Spatial)

iOS Haptic Types

  • Impact (light/medium/heavy): Physical button feel — for selections, toggles.
  • Notification (success/warning/error): System feedback — for action outcomes.
  • Selection changed: Subtle tick — for picker scroll, slider steps.

Haptic Design Rules

  • Pair haptics with visual feedback — never rely on haptics alone.
  • Keep haptic patterns short (under 100ms) for UI feedback.
  • Match haptic intensity to action significance.
  • Disable haptics when user has reduced motion preferences.

Reduced Motion Accessibility

Implementation Strategy

css
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

Preferred approach: Replace motion with non-motion alternatives rather than removing all animation.

  • Replace slide transitions with instant state changes or opacity fades.
  • Replace bouncing/spinning with static state indicators.
  • Keep essential functional animations (progress bars) but simplify them.
  • Remove parallax, auto-playing video backgrounds, and decorative animations entirely.

Routing

For timing and easing — CSS animation fundamentals, the cubic-bezier deep dive, the standard easing library, spring physics, duration calculation, stagger patterns, performance, the @keyframes pattern library, and the View Transitions API: read references/animation-timing-curves.md.

For why motion makes people feel something — Norman's three levels, Saffer's micro-interaction anatomy, the micro-interaction catalog, haptic design, sound design, brand personality through motion, and the line between delight and annoyance: read references/emotional-design-patterns.md.

For the haptic feedback system specifically: read references/haptic-feedback-design-system.md.

Cross-Referencing

  • For performance impact on mobile, reference mobile-ux-design.
  • For accessibility requirements, reference accessibility-inclusive-design.
  • For visual design integration, reference ui-visual-design-system.
  • For AI and spatial motion, reference ai-spatial-voice-ux.

v3.0 Cross-References

The v3.0 upgrade introduces dedicated reference materials that significantly extend this skill's coverage of haptic design and spring-based motion.

Haptic Feedback Design System See references/haptic-feedback-design-system.md for the comprehensive haptic design reference covering iOS Core Haptics engine parameters (intensity, sharpness, CHHapticPattern), Android HapticFeedbackConstants (CONFIRM, REJECT, GESTURE_START, GESTURE_END), Apple Watch Taptic Engine patterns, brand haptic vocabulary development, and accessibility considerations for haptic feedback (pairing with visual/audio cues, respecting reduced-motion preferences, providing haptic-off toggles). This reference replaces the abbreviated haptic section above with production-depth guidance.

M3 Expressive Spring-Based Motion Model See mobile-ux-design/references/ios26-liquid-glass-material3-expressive.md for the Material 3 Expressive motion system that fundamentally replaces duration-based easing with physics-based spring parameters (stiffness, damping ratio, mass). Key spring presets to reference:

  • Responsive: stiffness 1500, damping ratio 1.0 — critically damped, snappy UI feedback
  • Expressive: stiffness 380, damping ratio 0.7 — slight overshoot, personality-rich transitions
  • Gentle: stiffness 200, damping ratio 0.85 — soft, elegant movements for subtle state changes
  • Bouncy: stiffness 500, damping ratio 0.5 — pronounced overshoot for playful, celebratory moments

This spring model supersedes the traditional cubic-bezier easing approach for M3-based design systems and aligns with Apple's spring animation defaults in SwiftUI. When advising on motion design for modern mobile and cross-platform projects, prefer spring parameters over duration-plus-easing-curve specifications.

Key Sources

  • Thomas, F. & Johnston, O. "The Illusion of Life" (Disney animation principles)
  • Norman, D. (2004). "Emotional Design"
  • Material Design motion guidelines
  • Apple Human Interface Guidelines — Motion
  • Google Web Vitals animation performance guidance

Archivos incluidos

El modelo los lee según los necesita mientras la habilidad está cargada. Son archivos de solo lectura y nunca se ejecutan.

Preguntas frecuentes

¿Qué hace la habilidad de IA Interaction Motion Design?

Microinteracciones, tiempos de animación y curvas de aceleración, física de muelles, coreografía de transiciones, vocabulario de respuesta háptica y diseño emocional. Úsalo para añadir o revisar animaciones, ajustar su duración, diseñar respuestas hápticas o admitir prefers-reduced-motion.

¿Por qué usar Interaction Motion Design en TypingMind?

Porque la instalas una vez y la usas con cualquier modelo. Interaction Motion Design está escrita en Markdown, no en código específico de un proveedor, por lo que la misma habilidad funciona con GPT-5, Claude, Gemini, Grok o un modelo local, y puedes cambiar de modelo en mitad del chat sin que deje de funcionar. TypingMind utiliza tus propias claves API, de modo que pagas directamente a los proveedores en lugar de pagar una suscripción por puesto, y tus habilidades y chats permanecen en tu propio almacenamiento.

¿Cómo instalo Interaction Motion Design en TypingMind?

Abre Plugins → Habilidades → Instalar desde GitHub en TypingMind y pega https://github.com/phazurlabs/sumi/tree/main/skills/interaction-motion-design. TypingMind lee el archivo SKILL.md de esa carpeta, empaqueta los archivos de la carpeta e instala el conjunto como una habilidad que puedes activar en cada chat.

¿Qué modelos de IA pueden usar Interaction Motion Design?

Cualquier modelo que conectes en TypingMind. Las habilidades de IA son instrucciones en Markdown, no código específico de un proveedor, por lo que GPT, Claude, Gemini, Grok y los modelos locales pueden cargar esta habilidad cuando una solicitud se corresponda con ella.

¿Con cuántos modelos de IA puedo usar Interaction Motion Design?

Con tantos como quieras. Siempre que un modelo admita habilidades, puedes usar Interaction Motion Design con él: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama y muchos más, todos en TypingMind con tus propias claves API.

¿Es gratuita la habilidad de IA Interaction Motion Design?

Sí. phazurlabs la ha publicado en GitHub bajo la licencia Apache-2.0. Solo pagas a tu proveedor de IA por los tokens que utilizas.

¿Qué son las habilidades de IA?

Una habilidad de IA es un conjunto de instrucciones reutilizables que enseña a un modelo de IA a realizar una tarea concreta. Sigue el formato abierto Agent Skills: un archivo SKILL.md con un nombre y una descripción, además de los scripts, plantillas o archivos de referencia que pueda necesitar el modelo. El modelo solo lee las instrucciones cuando tu solicitud se corresponde con la habilidad, por lo que una habilidad instalada no supone ningún coste hasta que se utiliza.

¿En qué se diferencian las habilidades de IA de los plugins o los servidores MCP?

Un plugin o un servidor MCP proporciona al modelo nuevas herramientas que puede invocar: código que se ejecuta en algún lugar y devuelve un resultado. En cambio, una habilidad de IA aporta conocimientos y procedimientos al modelo: cómo abordar una tarea, qué pasos seguir y qué se considera un buen resultado. Las habilidades son instrucciones en Markdown, por lo que no necesitan servidor, clave API ni entorno de ejecución, y funcionan con cualquier modelo.

Ver el directorio

Crea ya tu propio espacio de trabajo con IA

Suscríbete a nuestro boletín para recibir avisos sobre nuevas funciones y próximos sorteos 👇