Micro Interactions

Small interaction details that communicate state changes, provide feedback, and add delight.

dragoon0x 6f175af 1.2 KB Updated

File contents

Micro-Interactions

The Four Parts

  1. Trigger: User action or system event
  2. Rules: What happens
  3. Feedback: What the user sees/feels
  4. Loops & Modes: Ongoing behavior

Essential Micro-Interactions

Interaction Feedback Duration
Button click Scale down 95%, opacity change 100ms
Toggle switch Slide + color change 200ms
Checkbox Scale + checkmark draw 150ms
Like/heart Scale up + color + particle 300ms
Delete Slide out + height collapse 250ms
Add to cart Item flies to cart icon 400ms
Copy to clipboard Tooltip confirms 200ms
Error shake Horizontal shake 3x 300ms

Rules

  1. Every user action gets feedback (even if subtle)
  2. Feedback is immediate (under 100ms for direct manipulation)
  3. Match the energy: destructive actions feel different from creative ones
  4. Don't animate things that happen frequently (typing, scrolling)
  5. Delight sparingly: if every interaction is delightful, none are

dragoon0x/everything-design-taste/tree/main/skills/micro-interactions commit 6f175afd80

Frequently asked questions

npx skillmds@latest add dragoon0x/micro-interactions