interaction-design

v2026.09.24

Design and implement microinteractions, motion design, transitions, and user feedback patterns. Use when adding polish to UI interactions, implementing loading states, creating gesture-based interactions, designing hover/focus states, building notification/toast systems, adding scroll-triggered animations, implementing drag-and-drop, or creating delightful user experiences.

GitHub
Install command
npx skhub add poteto/interaction-design
Markdown
SKILL.md

Interaction Design

Create engaging, intuitive interactions through motion, feedback, and thoughtful state transitions.

Project Conventions

  • Preferred library: Framer Motion for React component animations
  • CSS animations: Use transform and opacity only for 60fps performance
  • Spring physics: Prefer spring animations over linear/eased for interactive elements
  • Interruptible: Users must be able to cancel or override any animation

Timing Scale

DurationUse Case
100-150msMicro-feedback (hovers, clicks)
200-300msSmall transitions (toggles, dropdowns)
300-500msMedium transitions (modals, page changes)
500ms+Complex choreographed animations

Accessibility

Always respect prefers-reduced-motion: reduce. Set animation duration to 0 when the user prefers reduced motion. This is non-negotiable.

Reference Files

Read these on demand based on the task:

FileWhen to read
animation-libraries.mdChoosing or configuring Framer Motion, GSAP, or CSS-based approaches
microinteraction-patterns.mdBuilding button feedback, toggles, ripples, loading indicators, toasts
scroll-animations.mdImplementing scroll-triggered reveals, parallax, or intersection-based animations
Discovery
Tags

No tags published for this skill.

Version
Latest version metadata

Version

v2026.09.24

Published

Sep 24, 2026

Category

Uncategorized

License

MIT

Source path

.agents/skills/interaction-design

Default branch

main

Latest commit

82d2921

Tree SHA

9fccb6b