mcpField
I
interaction-design

interaction-design

github.com/hachejDesign & UI160 installsUpdated 2d ago
Repository

About interaction-design

A design skill for creating intuitive interface interactions through motion, feedback, and state transitions. It guides developers on animation choices, timing, and accessibility.

Key features

  1. 01Framer Motion guidance for React
  2. 02CSS animation performance rules
  3. 03Spring-based interactive motion
  4. 04Interruptible animations
  5. 05Reduced-motion accessibility

Use cases

  1. 01Planning button and toggle feedback
  2. 02Building modal and page transitions
  3. 03Adding scroll-triggered reveals

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/hachej/boring-stack --skill interaction-design

After installing, type/interaction-designin Claude Code to confirm it loaded.

Bundled files

References and scripts installed along with SKILL.md.

LICENSE
references/
animation-libraries.md
microinteraction-patterns.md
scroll-animations.md

Details

From the project README

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

Comments

Markdown supported