mobileui-os 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (123) hide show
  1. package/AGENTS.md +47 -0
  2. package/CHANGELOG.md +25 -0
  3. package/README.md +78 -0
  4. package/bin/cli.mjs +375 -0
  5. package/knowledge/android/00-apple-to-android-adaption.md +1499 -0
  6. package/knowledge/android/accessibility.md +333 -0
  7. package/knowledge/android/components-controls.md +270 -0
  8. package/knowledge/android/material-design-3.md +174 -0
  9. package/knowledge/android/navigation-patterns.md +212 -0
  10. package/knowledge/apple/00-skill-reading-protocol.md +1296 -0
  11. package/knowledge/apple/Accessibility, Inclusive Design & Human Factors Intelligence.md +735 -0
  12. package/knowledge/apple/Advanced Interaction Patterns, Gestures, Feedback & State Transitions.md +1140 -0
  13. package/knowledge/apple/Advanced Navigation, Information Architecture & Wayfinding.md +551 -0
  14. package/knowledge/apple/Autonomus Ui-UX Improvement Loop.md +611 -0
  15. package/knowledge/apple/Color, Materials, Contrast, Themes & Visual Depth.md +1351 -0
  16. package/knowledge/apple/Content, Copy, Microinteractions & UX Communication.md +642 -0
  17. package/knowledge/apple/Data-Heavy Interfaces, Tables, Lists, Search, Filtering & Large-Scale Content.md +721 -0
  18. package/knowledge/apple/Design Systems & Component Architecture.md +412 -0
  19. package/knowledge/apple/Forms, Input, Data Entry & Validation Intelligence.md +705 -0
  20. package/knowledge/apple/Interaction, State & Edge-Case Engineering.md +491 -0
  21. package/knowledge/apple/Interaction-behaviour.md +1378 -0
  22. package/knowledge/apple/Layout Architecture, Responsive Design & Spatial Systems.md +1365 -0
  23. package/knowledge/apple/MASTER UI-UX ORCHESTRATOR.md +1210 -0
  24. package/knowledge/apple/Navigation Architecture, Routing, Deep Linking & State Restoration.md +1392 -0
  25. package/knowledge/apple/Navigation, Information Architecture & Spatial Hierarchy.md +1613 -0
  26. package/knowledge/apple/Notifications, Permissions, Privacy and Trust.md +1540 -0
  27. package/knowledge/apple/Patterns-templates-composition.md +647 -0
  28. package/knowledge/apple/Performance, Perceived Speed, Motion & Rendering Intelligence.md +855 -0
  29. package/knowledge/apple/Responsive, Adaptive & Cross-Platform UI Intelligence.md +669 -0
  30. package/knowledge/apple/Responsive, Adaptive, Accessible & Performant UI.md +545 -0
  31. package/knowledge/apple/Tablet Adaptation & Multi-Device UX.md +1447 -0
  32. package/knowledge/apple/UI Implementation & Refactoring.md +498 -0
  33. package/knowledge/apple/UI-UX Decision-Making, Prioritization & Trade-offs.md +533 -0
  34. package/knowledge/apple/UI-UX Project Lifecycle & Delivery.md +544 -0
  35. package/knowledge/apple/User Flows & Experience Architecture.md +335 -0
  36. package/knowledge/apple/Visual Design Systems, Theming, Tokens & Brand Intelligence.md +764 -0
  37. package/knowledge/apple/Visual QA, Testing & Validation.md +557 -0
  38. package/knowledge/apple/accessibility-inclusive-interaction.md +1361 -0
  39. package/knowledge/apple/accessibility.md +2162 -0
  40. package/knowledge/apple/color.md +1933 -0
  41. package/knowledge/apple/component-architecture.md +2208 -0
  42. package/knowledge/apple/components.md +2172 -0
  43. package/knowledge/apple/design-decision-framework.md +1883 -0
  44. package/knowledge/apple/design-review-engine.md +2108 -0
  45. package/knowledge/apple/design-tokens.md +1943 -0
  46. package/knowledge/apple/designing-for-ios.md +1680 -0
  47. package/knowledge/apple/gestures, touch behavior, feedback, motion, and micro-interactions.md +1538 -0
  48. package/knowledge/apple/hig-foundation.md +1806 -0
  49. package/knowledge/apple/iconography.md +1903 -0
  50. package/knowledge/apple/interaction-patterns.md +2513 -0
  51. package/knowledge/apple/interaction.md +2141 -0
  52. package/knowledge/apple/ios-alerts-confirmations-destructive-actions.md +1342 -0
  53. package/knowledge/apple/ios-components-and-controls.md +1634 -0
  54. package/knowledge/apple/ios-components-patterns.md +1343 -0
  55. package/knowledge/apple/ios-design-system-architecture.md +1520 -0
  56. package/knowledge/apple/ios-empty-error-offline-states.md +1370 -0
  57. package/knowledge/apple/ios-empty-loading-error-recovery.md +1674 -0
  58. package/knowledge/apple/ios-forms-and-input.md +1458 -0
  59. package/knowledge/apple/ios-forms-input-data-entry.md +1308 -0
  60. package/knowledge/apple/ios-gestures-and-touch.md +1272 -0
  61. package/knowledge/apple/ios-lists-collections-and-data-display.md +1735 -0
  62. package/knowledge/apple/ios-loading-progress-async-states.md +1378 -0
  63. package/knowledge/apple/ios-materials-and-surfaces.md +1543 -0
  64. package/knowledge/apple/ios-motion-animation-transitions.md +1178 -0
  65. package/knowledge/apple/ios-navigation-and-information-architecture.md +1674 -0
  66. package/knowledge/apple/ios-navigation-user-flows-design-architecture.md +1195 -0
  67. package/knowledge/apple/ios-search-and-discovery.md +1456 -0
  68. package/knowledge/apple/ios-search-filtering-discovery.md +1402 -0
  69. package/knowledge/apple/ios-sheets-modals-popovers.md +1205 -0
  70. package/knowledge/apple/ios-typography-icons-visual-hierarchy.md +1431 -0
  71. package/knowledge/apple/layout.md +2331 -0
  72. package/knowledge/apple/media-centric-content-ui-patterns.md +1470 -0
  73. package/knowledge/apple/motion, transitions, physics, and animation language.md +1535 -0
  74. package/knowledge/apple/motion-and-animation.md +1698 -0
  75. package/knowledge/apple/motion.md +2087 -0
  76. package/knowledge/apple/navigation.md +2281 -0
  77. package/knowledge/apple/responsive-adaptive.md +2159 -0
  78. package/knowledge/apple/screen-architecture.md +2067 -0
  79. package/knowledge/apple/typography, Content Hierarchy & Readability.md +1411 -0
  80. package/knowledge/apple/typography.md +1802 -0
  81. package/knowledge/apple/ui-ux inteligence audit.md +106 -0
  82. package/knowledge/apple/visual-design-and-premium-ui.md +1555 -0
  83. package/knowledge/apple/visual-hierarchy-engine.md +1647 -0
  84. package/knowledge/apple/visual-materials.md +2189 -0
  85. package/package.json +53 -0
  86. package/principles/design-principles.md +37 -0
  87. package/principles/platform-principles.md +25 -0
  88. package/principles/ux-principles.md +16 -0
  89. package/references/official-links.md +11 -0
  90. package/skills/accessibility-engineer/SKILL.md +125 -0
  91. package/skills/analytics-engineer/SKILL.md +283 -0
  92. package/skills/animation-engineer/SKILL.md +316 -0
  93. package/skills/component-designer/SKILL.md +75 -0
  94. package/skills/component-library-engineer/SKILL.md +140 -0
  95. package/skills/component-library-ops/SKILL.md +155 -0
  96. package/skills/design-system/SKILL.md +77 -0
  97. package/skills/design-token-engineer/SKILL.md +203 -0
  98. package/skills/design-token-pipeline/SKILL.md +277 -0
  99. package/skills/device-lab-engineer/SKILL.md +387 -0
  100. package/skills/forms-engineer/SKILL.md +79 -0
  101. package/skills/internationalization-engineer/SKILL.md +256 -0
  102. package/skills/motion-designer/SKILL.md +77 -0
  103. package/skills/native-data-fetching/SKILL.md +50 -0
  104. package/skills/navigation-architect/SKILL.md +65 -0
  105. package/skills/performance-engineer/SKILL.md +250 -0
  106. package/skills/platform-specialist/SKILL.md +95 -0
  107. package/skills/pre-release-gate/SKILL.md +75 -0
  108. package/skills/screen-designer/SKILL.md +117 -0
  109. package/skills/security-engineer/SKILL.md +375 -0
  110. package/skills/skills.json +134 -0
  111. package/skills/testing-auditor/SKILL.md +62 -0
  112. package/skills/ui-architect/SKILL.md +86 -0
  113. package/skills/ui-implementer/SKILL.md +188 -0
  114. package/skills/ux-architect/SKILL.md +49 -0
  115. package/skills/ux-auditor/SKILL.md +52 -0
  116. package/skills/visual-auditor/SKILL.md +71 -0
  117. package/templates/audit-report.md +29 -0
  118. package/templates/design-tokens.ts +33 -0
  119. package/templates/screen-spec.md +61 -0
  120. package/workflows/new-screen.md +17 -0
  121. package/workflows/pre-release.md +21 -0
  122. package/workflows/redesign.md +14 -0
  123. package/workflows/ui-audit.md +22 -0
@@ -0,0 +1,1538 @@
1
+ # Gestures, Touch Interaction, Motion & Micro-Interactions
2
+
3
+ > Advanced agent module for designing tactile, responsive, expressive, and
4
+ > platform-appropriate interactions across iOS, iPadOS, React Native, and Expo.
5
+
6
+ Version: 1.0
7
+ Platform: iOS / iPadOS / React Native / Expo
8
+ Layer: Advanced interaction intelligence
9
+
10
+ ---
11
+
12
+ # 1. PURPOSE
13
+
14
+ A premium interface is not defined only by its visual design.
15
+
16
+ It is defined by how it responds.
17
+
18
+ The user should feel:
19
+
20
+ ```text
21
+ Tap
22
+ → Response
23
+
24
+ Swipe
25
+ → Movement
26
+
27
+ Drag
28
+ → Physical relationship
29
+
30
+ Navigation
31
+ → Continuity
32
+
33
+ Action
34
+ → Confirmation
35
+ ```
36
+
37
+ The interface should feel responsive, intentional, and predictable.
38
+
39
+ ---
40
+
41
+ # 2. INTERACTION PRINCIPLE
42
+
43
+ Every interaction should communicate:
44
+
45
+ ```text
46
+ What can I touch?
47
+ What happened?
48
+ What changed?
49
+ What can I do next?
50
+ ```
51
+
52
+ ---
53
+
54
+ # 3. DIRECT MANIPULATION
55
+
56
+ Whenever possible, let users manipulate objects directly.
57
+
58
+ Examples:
59
+
60
+ ```text
61
+ Drag file
62
+ Swipe card
63
+ Reorder playlist
64
+ Pinch image
65
+ Scrub media
66
+ Pull to refresh
67
+ ```
68
+
69
+ Direct manipulation reduces abstraction between intention and result.
70
+
71
+ ---
72
+
73
+ # 4. TOUCH TARGETS
74
+
75
+ Interactive elements must provide sufficiently large touch targets.
76
+
77
+ Do not optimize visual compactness at the expense of usability.
78
+
79
+ ---
80
+
81
+ # 5. VISUAL SIZE VS HIT AREA
82
+
83
+ An element may visually appear small while maintaining a larger invisible
84
+ interaction area.
85
+
86
+ Example:
87
+
88
+ ```text
89
+ Visual icon
90
+ ↓
91
+ Larger interactive region
92
+ ```
93
+
94
+ This is especially useful for:
95
+
96
+ ```text
97
+ Toolbar icons
98
+ Navigation icons
99
+ Close buttons
100
+ Overflow menus
101
+ ```
102
+
103
+ ---
104
+
105
+ # 6. TOUCH FEEDBACK
106
+
107
+ Interactive controls should provide immediate feedback.
108
+
109
+ Possible responses:
110
+
111
+ ```text
112
+ Highlight
113
+ Scale
114
+ Opacity change
115
+ Background change
116
+ Haptic feedback
117
+ Motion
118
+ ```
119
+
120
+ Use only the feedback that supports the interaction.
121
+
122
+ ---
123
+
124
+ # 7. PRESS STATE
125
+
126
+ A button should visually communicate that it is being pressed when appropriate.
127
+
128
+ Conceptually:
129
+
130
+ ```text
131
+ Idle
132
+ ↓
133
+ Pressed
134
+ ↓
135
+ Released
136
+ ↓
137
+ Result
138
+ ```
139
+
140
+ ---
141
+
142
+ # 8. TOUCH DELAY
143
+
144
+ Avoid interactions that feel unnecessarily delayed.
145
+
146
+ The user should receive acknowledgment quickly even if the underlying operation
147
+ takes longer.
148
+
149
+ ---
150
+
151
+ # 9. OPTIMISTIC INTERACTION
152
+
153
+ When safe, update the interface immediately and perform the underlying operation
154
+ afterward.
155
+
156
+ Example:
157
+
158
+ ```text
159
+ Favorite tapped
160
+ ↓
161
+ Favorite immediately appears active
162
+ ↓
163
+ Persistence occurs
164
+ ```
165
+
166
+ Do not use optimistic behavior where failure would create dangerous or
167
+ misleading state.
168
+
169
+ ---
170
+
171
+ # 10. HAPTIC FEEDBACK
172
+
173
+ Haptics can reinforce:
174
+
175
+ ```text
176
+ Selection
177
+ Completion
178
+ Error
179
+ Toggle
180
+ Threshold crossing
181
+ Drag interaction
182
+ ```
183
+
184
+ Haptics should remain subtle.
185
+
186
+ ---
187
+
188
+ # 11. HAPTIC RESTRAINT
189
+
190
+ Do not generate haptic feedback for every tap.
191
+
192
+ Excessive haptics become noise.
193
+
194
+ ---
195
+
196
+ # 12. SEMANTIC HAPTICS
197
+
198
+ Use haptics according to meaning.
199
+
200
+ For example:
201
+
202
+ ```text
203
+ Toggle
204
+ → Light feedback
205
+
206
+ Successful completion
207
+ → Stronger confirmation
208
+
209
+ Error
210
+ → Distinct feedback
211
+ ```
212
+
213
+ The exact implementation depends on platform APIs.
214
+
215
+ ---
216
+
217
+ # 13. HAPTIC ACCESSIBILITY
218
+
219
+ The interface should remain understandable even when haptics are unavailable
220
+ or disabled.
221
+
222
+ Haptics should reinforce visual/audio feedback rather than replace it.
223
+
224
+ ---
225
+
226
+ # 14. GESTURE PRINCIPLE
227
+
228
+ Gestures should be:
229
+
230
+ ```text
231
+ Discoverable
232
+ Predictable
233
+ Forgiving
234
+ Reversible where possible
235
+ ```
236
+
237
+ ---
238
+
239
+ # 15. SWIPE
240
+
241
+ Swipe is useful for:
242
+
243
+ ```text
244
+ Dismiss
245
+ Navigate
246
+ Reveal actions
247
+ Move between content
248
+ ```
249
+
250
+ Do not overload the same swipe gesture with unrelated meanings.
251
+
252
+ ---
253
+
254
+ # 16. SWIPE ACTIONS
255
+
256
+ For list items, swipe actions should prioritize the most useful contextual
257
+ operations.
258
+
259
+ Examples:
260
+
261
+ ```text
262
+ Delete
263
+ Archive
264
+ Favorite
265
+ Mark read
266
+ ```
267
+
268
+ ---
269
+
270
+ # 17. DESTRUCTIVE SWIPES
271
+
272
+ Destructive swipe actions should require enough interaction certainty to prevent
273
+ accidental activation.
274
+
275
+ Where appropriate, support undo.
276
+
277
+ ---
278
+
279
+ # 18. EDGE SWIPES
280
+
281
+ Navigation gestures should not conflict with application-specific horizontal
282
+ gestures.
283
+
284
+ Avoid designing content interactions that make system navigation difficult.
285
+
286
+ ---
287
+
288
+ # 19. HORIZONTAL PAGING
289
+
290
+ Use horizontal gestures for peer-level content:
291
+
292
+ ```text
293
+ Photo 1
294
+ → Photo 2
295
+ → Photo 3
296
+ ```
297
+
298
+ rather than unrelated hierarchical navigation.
299
+
300
+ ---
301
+
302
+ # 20. VERTICAL SCROLLING
303
+
304
+ Vertical scrolling should normally represent content depth.
305
+
306
+ Avoid unnecessary nested scrolling.
307
+
308
+ ---
309
+
310
+ # 21. NESTED SCROLLING
311
+
312
+ If nested scrolling is necessary, establish a clear interaction hierarchy.
313
+
314
+ The user should not feel that scrolling is fighting against them.
315
+
316
+ ---
317
+
318
+ # 22. PULL TO REFRESH
319
+
320
+ Pull-to-refresh is useful when:
321
+
322
+ ```text
323
+ Content can become stale
324
+ Refreshing is meaningful
325
+ The user benefits from manual control
326
+ ```
327
+
328
+ Do not add it to static content simply because it is familiar.
329
+
330
+ ---
331
+
332
+ # 23. REFRESH FEEDBACK
333
+
334
+ Refresh should communicate:
335
+
336
+ ```text
337
+ Initiated
338
+ Loading
339
+ Updated
340
+ Failed
341
+ ```
342
+
343
+ where relevant.
344
+
345
+ ---
346
+
347
+ # 24. LONG PRESS
348
+
349
+ Long press can expose:
350
+
351
+ ```text
352
+ Context actions
353
+ Selection
354
+ Preview
355
+ Reordering
356
+ Additional controls
357
+ ```
358
+
359
+ But critical functionality should not depend exclusively on hidden long-press
360
+ gestures.
361
+
362
+ ---
363
+
364
+ # 25. CONTEXTUAL DISCOVERY
365
+
366
+ If a gesture contains important functionality, provide another discoverable
367
+ path when appropriate.
368
+
369
+ ---
370
+
371
+ # 26. DRAG
372
+
373
+ Drag interactions should communicate object ownership and destination.
374
+
375
+ Example:
376
+
377
+ ```text
378
+ Grab item
379
+ ↓
380
+ Move
381
+ ↓
382
+ Potential destination highlights
383
+ ↓
384
+ Release
385
+ ↓
386
+ Item moves
387
+ ```
388
+
389
+ ---
390
+
391
+ # 27. DRAG FEEDBACK
392
+
393
+ During dragging, consider:
394
+
395
+ ```text
396
+ Lift effect
397
+ Scale
398
+ Shadow
399
+ Opacity
400
+ Insertion indicator
401
+ Destination highlight
402
+ ```
403
+
404
+ The goal is to communicate physical manipulation.
405
+
406
+ ---
407
+
408
+ # 28. DROP ZONES
409
+
410
+ Valid destinations should become visually distinguishable.
411
+
412
+ Invalid destinations should communicate rejection without excessive disruption.
413
+
414
+ ---
415
+
416
+ # 29. REORDERING
417
+
418
+ Reordering should provide immediate positional feedback.
419
+
420
+ The user should know where the item will land before release.
421
+
422
+ ---
423
+
424
+ # 30. PINCH
425
+
426
+ Pinch is appropriate for continuous scale adjustment.
427
+
428
+ Common examples:
429
+
430
+ ```text
431
+ Image zoom
432
+ Document zoom
433
+ Map zoom
434
+ ```
435
+
436
+ Avoid using pinch for unrelated actions.
437
+
438
+ ---
439
+
440
+ # 31. ZOOM
441
+
442
+ Zoom should preserve the user's focal point.
443
+
444
+ When possible:
445
+
446
+ ```text
447
+ Touch location
448
+ → becomes zoom center
449
+ ```
450
+
451
+ rather than always zooming around the center.
452
+
453
+ ---
454
+
455
+ # 32. DOUBLE TAP
456
+
457
+ Double tap should only be used when users can reasonably discover or infer the
458
+ behavior.
459
+
460
+ Avoid hiding critical functionality behind double tap.
461
+
462
+ ---
463
+
464
+ # 33. MULTI-TOUCH
465
+
466
+ Multi-touch interactions should be introduced only when they provide clear
467
+ value.
468
+
469
+ ---
470
+
471
+ # 34. GESTURE CONFLICTS
472
+
473
+ Every gesture should be evaluated against:
474
+
475
+ ```text
476
+ System gestures
477
+ Navigation gestures
478
+ Scroll gestures
479
+ Other application gestures
480
+ Accessibility gestures
481
+ ```
482
+
483
+ ---
484
+
485
+ # 35. GESTURE PRIORITY
486
+
487
+ When gestures conflict, define which interaction wins.
488
+
489
+ Do not rely on accidental gesture recognition.
490
+
491
+ ---
492
+
493
+ # 36. GESTURE CANCELLATION
494
+
495
+ Users should be able to abandon a gesture naturally.
496
+
497
+ For example:
498
+
499
+ ```text
500
+ Drag
501
+ ↓
502
+ Move away
503
+ ↓
504
+ Cancel
505
+ ```
506
+
507
+ without causing unintended actions.
508
+
509
+ ---
510
+
511
+ # 37. THRESHOLDS
512
+
513
+ Gesture-driven actions should generally use meaningful thresholds.
514
+
515
+ Example:
516
+
517
+ ```text
518
+ Swipe distance
519
+ ↓
520
+ Threshold reached
521
+ ↓
522
+ Action becomes committed
523
+ ```
524
+
525
+ Avoid activating actions from tiny accidental movements.
526
+
527
+ ---
528
+
529
+ # 38. VELOCITY
530
+
531
+ Velocity can communicate intention in gesture-based interfaces.
532
+
533
+ For example, a fast swipe may naturally indicate paging or dismissal.
534
+
535
+ Use carefully and consistently.
536
+
537
+ ---
538
+
539
+ # 39. SPRING MOTION
540
+
541
+ Spring-like motion can communicate physical continuity.
542
+
543
+ Useful for:
544
+
545
+ ```text
546
+ Sheets
547
+ Cards
548
+ Drag interactions
549
+ Toggles
550
+ Expandable elements
551
+ ```
552
+
553
+ ---
554
+
555
+ # 40. MOTION PRINCIPLE
556
+
557
+ Motion should explain change.
558
+
559
+ It should communicate:
560
+
561
+ ```text
562
+ Where something came from
563
+ Where it went
564
+ What changed
565
+ What is connected
566
+ ```
567
+
568
+ ---
569
+
570
+ # 41. MOTION SHOULD NOT DECORATE
571
+
572
+ Do not animate simply because animation is possible.
573
+
574
+ Every significant animation should have a purpose.
575
+
576
+ ---
577
+
578
+ # 42. TRANSITION CONTINUITY
579
+
580
+ When navigating between related content:
581
+
582
+ ```text
583
+ List item
584
+ ↓
585
+ Detail
586
+ ```
587
+
588
+ motion can reinforce the relationship.
589
+
590
+ ---
591
+
592
+ # 43. ENTER ANIMATION
593
+
594
+ New content may enter through:
595
+
596
+ ```text
597
+ Fade
598
+ Slide
599
+ Scale
600
+ Spring
601
+ Shared transition
602
+ ```
603
+
604
+ Choose according to hierarchy.
605
+
606
+ ---
607
+
608
+ # 44. EXIT ANIMATION
609
+
610
+ Exiting content should visually communicate where the user is returning.
611
+
612
+ ---
613
+
614
+ # 45. MODAL MOTION
615
+
616
+ Modal movement should communicate that the modal is temporary and related to
617
+ the underlying context.
618
+
619
+ ---
620
+
621
+ # 46. SHEET MOTION
622
+
623
+ Sheets should behave like surfaces that can be:
624
+
625
+ ```text
626
+ Presented
627
+ Expanded
628
+ Collapsed
629
+ Dismissed
630
+ ```
631
+
632
+ where the pattern is appropriate.
633
+
634
+ ---
635
+
636
+ # 47. DRAGGABLE SHEETS
637
+
638
+ If a sheet can be dragged, the gesture should feel physically connected to the
639
+ sheet.
640
+
641
+ Avoid separating finger movement from visual response.
642
+
643
+ ---
644
+
645
+ # 48. SPRING SETTLING
646
+
647
+ After release, interactive surfaces may settle naturally into a stable state.
648
+
649
+ The settling should be fast enough to avoid making the interface feel sluggish.
650
+
651
+ ---
652
+
653
+ # 49. ANIMATION DURATION
654
+
655
+ Do not standardize every animation to the same duration.
656
+
657
+ Consider:
658
+
659
+ ```text
660
+ Distance
661
+ Complexity
662
+ Importance
663
+ Interaction frequency
664
+ ```
665
+
666
+ ---
667
+
668
+ # 50. FREQUENT INTERACTIONS
669
+
670
+ Frequent actions should generally use shorter, less disruptive motion.
671
+
672
+ Users should not wait for decorative animation.
673
+
674
+ ---
675
+
676
+ # 51. MAJOR TRANSITIONS
677
+
678
+ Larger transitions can take slightly longer when they communicate significant
679
+ context changes.
680
+
681
+ ---
682
+
683
+ # 52. STAGGERED ANIMATION
684
+
685
+ Staggering can help establish hierarchy when introducing multiple elements.
686
+
687
+ Avoid excessive sequential delays.
688
+
689
+ ---
690
+
691
+ # 53. STAGGERING ANTI-PATTERN
692
+
693
+ Do not force users to wait for every card to animate into existence.
694
+
695
+ Content should become usable quickly.
696
+
697
+ ---
698
+
699
+ # 54. MICRO-INTERACTIONS
700
+
701
+ Micro-interactions provide feedback for small state changes.
702
+
703
+ Examples:
704
+
705
+ ```text
706
+ Favorite
707
+ Toggle
708
+ Copy
709
+ Save
710
+ Download
711
+ Complete
712
+ ```
713
+
714
+ ---
715
+
716
+ # 55. FAVORITE ANIMATION
717
+
718
+ A favorite interaction might communicate:
719
+
720
+ ```text
721
+ Inactive
722
+ ↓
723
+ Pressed
724
+ ↓
725
+ Active
726
+ ```
727
+
728
+ The animation should reinforce the state change rather than obscure it.
729
+
730
+ ---
731
+
732
+ # 56. TOGGLE INTERACTION
733
+
734
+ A toggle should provide:
735
+
736
+ ```text
737
+ Visual state
738
+ Immediate response
739
+ Optional haptic feedback
740
+ ```
741
+
742
+ when appropriate.
743
+
744
+ ---
745
+
746
+ # 57. COPY FEEDBACK
747
+
748
+ After copying content, provide lightweight confirmation.
749
+
750
+ Examples:
751
+
752
+ ```text
753
+ Copied
754
+ Checkmark
755
+ Subtle toast
756
+ Haptic
757
+ ```
758
+
759
+ Avoid disruptive alerts for simple operations.
760
+
761
+ ---
762
+
763
+ # 58. SAVE FEEDBACK
764
+
765
+ Saving may require stronger feedback when the operation takes time.
766
+
767
+ Possible state:
768
+
769
+ ```text
770
+ Saving
771
+ ↓
772
+ Saved
773
+ ```
774
+
775
+ ---
776
+
777
+ # 59. DOWNLOAD FEEDBACK
778
+
779
+ Downloads may communicate:
780
+
781
+ ```text
782
+ Queued
783
+ Downloading
784
+ Paused
785
+ Completed
786
+ Failed
787
+ ```
788
+
789
+ ---
790
+
791
+ # 60. PROGRESSIVE FEEDBACK
792
+
793
+ Long-running operations should expose meaningful progress.
794
+
795
+ Prefer:
796
+
797
+ ```text
798
+ 42%
799
+ ```
800
+
801
+ over a generic spinner when exact progress is available and useful.
802
+
803
+ ---
804
+
805
+ # 61. INDETERMINATE PROGRESS
806
+
807
+ Use an indeterminate indicator when progress cannot reasonably be measured.
808
+
809
+ Do not fake precise percentages.
810
+
811
+ ---
812
+
813
+ # 62. SUCCESS FEEDBACK
814
+
815
+ Success should match the importance of the action.
816
+
817
+ ```text
818
+ Minor action
819
+ → subtle confirmation
820
+
821
+ Major action
822
+ → stronger confirmation
823
+ ```
824
+
825
+ ---
826
+
827
+ # 63. ERROR FEEDBACK
828
+
829
+ Errors should be:
830
+
831
+ ```text
832
+ Visible
833
+ Understandable
834
+ Actionable
835
+ ```
836
+
837
+ when recovery is possible.
838
+
839
+ ---
840
+
841
+ # 64. ERROR ANIMATION
842
+
843
+ Use restrained motion for errors.
844
+
845
+ Do not make failure visually entertaining.
846
+
847
+ ---
848
+
849
+ # 65. SHAKE ANIMATION
850
+
851
+ A shake can communicate invalid input or rejection, but it should not be the
852
+ only error signal.
853
+
854
+ ---
855
+
856
+ # 66. DISABLED STATES
857
+
858
+ Disabled controls should communicate why they are unavailable when the reason
859
+ is not obvious.
860
+
861
+ ---
862
+
863
+ # 67. LOADING STATES
864
+
865
+ Loading indicators should match the expected duration.
866
+
867
+ Short:
868
+
869
+ ```text
870
+ Immediate transition
871
+ ```
872
+
873
+ Longer:
874
+
875
+ ```text
876
+ Progress
877
+ Skeleton
878
+ Loading state
879
+ ```
880
+
881
+ ---
882
+
883
+ # 68. SKELETON MOTION
884
+
885
+ Skeleton animations should remain subtle.
886
+
887
+ They should indicate activity rather than attract attention.
888
+
889
+ ---
890
+
891
+ # 69. SHIMMER RESTRAINT
892
+
893
+ Shimmer effects are optional.
894
+
895
+ Do not automatically add shimmer to every loading component.
896
+
897
+ ---
898
+
899
+ # 70. PLACEHOLDER TRANSITIONS
900
+
901
+ When content arrives:
902
+
903
+ ```text
904
+ Placeholder
905
+ ↓
906
+ Content
907
+ ```
908
+
909
+ the transition should avoid unnecessary visual jumping.
910
+
911
+ ---
912
+
913
+ # 71. LAYOUT STABILITY
914
+
915
+ Prefer stable layouts during loading.
916
+
917
+ Avoid moving important controls dramatically as content arrives.
918
+
919
+ ---
920
+
921
+ # 72. CONTENT INSERTION
922
+
923
+ When a new item appears in a list, animate insertion only when it helps the user
924
+ understand what changed.
925
+
926
+ ---
927
+
928
+ # 73. CONTENT REMOVAL
929
+
930
+ When removing an item:
931
+
932
+ ```text
933
+ Item disappears
934
+ ↓
935
+ Remaining content settles
936
+ ```
937
+
938
+ The user should understand what changed.
939
+
940
+ ---
941
+
942
+ # 74. UNDO ANIMATION
943
+
944
+ For reversible actions:
945
+
946
+ ```text
947
+ Delete
948
+ ↓
949
+ Item removed
950
+ ↓
951
+ Undo
952
+ ↓
953
+ Item restored
954
+ ```
955
+
956
+ motion can help communicate restoration.
957
+
958
+ ---
959
+
960
+ # 75. STATE TRANSITIONS
961
+
962
+ A state change should feel continuous when possible.
963
+
964
+ Example:
965
+
966
+ ```text
967
+ Play
968
+ ↓
969
+ Playing
970
+ ```
971
+
972
+ rather than replacing the entire interface abruptly.
973
+
974
+ ---
975
+
976
+ # 76. BUTTON MORPHING
977
+
978
+ Buttons can visually transform when their role changes.
979
+
980
+ Example:
981
+
982
+ ```text
983
+ Download
984
+ ↓
985
+ Downloading
986
+ ↓
987
+ Downloaded
988
+ ```
989
+
990
+ Use this only when the relationship between states is clear.
991
+
992
+ ---
993
+
994
+ # 77. PROGRESSIVE DISCLOSURE
995
+
996
+ Do not expose every control simultaneously.
997
+
998
+ Reveal complexity as needed.
999
+
1000
+ ```text
1001
+ Simple state
1002
+ ↓
1003
+ User requests more
1004
+ ↓
1005
+ Advanced controls
1006
+ ```
1007
+
1008
+ ---
1009
+
1010
+ # 78. TOUCH + MOTION COMBINATION
1011
+
1012
+ The strongest interactions often combine:
1013
+
1014
+ ```text
1015
+ Touch
1016
+ +
1017
+ Visual feedback
1018
+ +
1019
+ Motion
1020
+ +
1021
+ Optional haptic
1022
+ ```
1023
+
1024
+ but not necessarily all four.
1025
+
1026
+ ---
1027
+
1028
+ # 79. FEEDBACK HIERARCHY
1029
+
1030
+ Use feedback proportionally:
1031
+
1032
+ ```text
1033
+ Tiny interaction
1034
+ → tiny response
1035
+
1036
+ Important state change
1037
+ → stronger response
1038
+
1039
+ Critical action
1040
+ → clear response
1041
+ ```
1042
+
1043
+ ---
1044
+
1045
+ # 80. NOISE CONTROL
1046
+
1047
+ Too much interaction feedback causes:
1048
+
1049
+ ```text
1050
+ Visual fatigue
1051
+ Haptic fatigue
1052
+ Motion fatigue
1053
+ Cognitive overload
1054
+ ```
1055
+
1056
+ Premium design is often defined by restraint.
1057
+
1058
+ ---
1059
+
1060
+ # 81. ACCESSIBILITY
1061
+
1062
+ Every interaction should have an accessible alternative.
1063
+
1064
+ Do not make critical functionality depend exclusively on:
1065
+
1066
+ ```text
1067
+ Swipe
1068
+ Long press
1069
+ Drag
1070
+ Pinch
1071
+ Double tap
1072
+ ```
1073
+
1074
+ ---
1075
+
1076
+ # 82. REDUCED MOTION
1077
+
1078
+ Respect reduced-motion preferences.
1079
+
1080
+ When motion is reduced:
1081
+
1082
+ ```text
1083
+ Preserve meaning
1084
+ Reduce travel
1085
+ Reduce decorative animation
1086
+ Use simpler transitions
1087
+ ```
1088
+
1089
+ ---
1090
+
1091
+ # 83. ACCESSIBLE FEEDBACK
1092
+
1093
+ If an animation communicates state, ensure the state is also represented through
1094
+ accessible semantics.
1095
+
1096
+ ---
1097
+
1098
+ # 84. VOICE CONTROL
1099
+
1100
+ Important interactions should remain addressable through accessible interaction
1101
+ models where appropriate.
1102
+
1103
+ ---
1104
+
1105
+ # 85. FOCUS
1106
+
1107
+ For keyboard, external input, or accessibility navigation, focus should move
1108
+ predictably.
1109
+
1110
+ ---
1111
+
1112
+ # 86. KEYBOARD INTERACTION
1113
+
1114
+ On larger devices, consider:
1115
+
1116
+ ```text
1117
+ Keyboard shortcuts
1118
+ Focus order
1119
+ Return behavior
1120
+ Escape behavior
1121
+ Selection
1122
+ ```
1123
+
1124
+ where appropriate.
1125
+
1126
+ ---
1127
+
1128
+ # 87. POINTER INTERACTION
1129
+
1130
+ iPadOS and pointer-capable environments may require hover and pointer feedback.
1131
+
1132
+ Do not assume touch-only interaction.
1133
+
1134
+ ---
1135
+
1136
+ # 88. HOVER
1137
+
1138
+ Hover feedback can communicate:
1139
+
1140
+ ```text
1141
+ Interactive
1142
+ Focused
1143
+ Selectable
1144
+ Expandable
1145
+ ```
1146
+
1147
+ Use it subtly.
1148
+
1149
+ ---
1150
+
1151
+ # 89. POINTER + TOUCH CONSISTENCY
1152
+
1153
+ Pointer interactions should not fundamentally change the product's mental model.
1154
+
1155
+ ---
1156
+
1157
+ # 90. DRAG WITH POINTER
1158
+
1159
+ Larger screens may support richer drag-and-drop behavior than touch devices.
1160
+
1161
+ Design the interaction system to adapt rather than duplicate the interface.
1162
+
1163
+ ---
1164
+
1165
+ # 91. INTERACTION STATES
1166
+
1167
+ Interactive components should be modeled with explicit states:
1168
+
1169
+ ```text
1170
+ Idle
1171
+ Pressed
1172
+ Focused
1173
+ Hovered
1174
+ Disabled
1175
+ Loading
1176
+ Success
1177
+ Error
1178
+ Selected
1179
+ ```
1180
+
1181
+ Only include states relevant to the component.
1182
+
1183
+ ---
1184
+
1185
+ # 92. COMPONENT STATE CONSISTENCY
1186
+
1187
+ The same component should behave consistently throughout the application.
1188
+
1189
+ Do not make one button animate differently merely because it appears on another
1190
+ screen unless the context genuinely requires it.
1191
+
1192
+ ---
1193
+
1194
+ # 93. MOTION TOKENS
1195
+
1196
+ For large design systems, define reusable motion tokens:
1197
+
1198
+ ```text
1199
+ Duration
1200
+ Delay
1201
+ Easing
1202
+ Spring
1203
+ Distance
1204
+ Opacity
1205
+ Scale
1206
+ ```
1207
+
1208
+ This keeps motion coherent.
1209
+
1210
+ ---
1211
+
1212
+ # 94. EASING
1213
+
1214
+ Use easing to communicate physical behavior.
1215
+
1216
+ Avoid excessive use of linear motion for interface transitions unless continuous
1217
+ movement is specifically intended.
1218
+
1219
+ ---
1220
+
1221
+ # 95. SPRING TOKENS
1222
+
1223
+ Spring configurations should be standardized for common interaction categories.
1224
+
1225
+ Conceptually:
1226
+
1227
+ ```text
1228
+ Quick interaction
1229
+ Standard transition
1230
+ Large surface
1231
+ Drag release
1232
+ ```
1233
+
1234
+ ---
1235
+
1236
+ # 96. MOTION PERFORMANCE
1237
+
1238
+ Animations must remain smooth.
1239
+
1240
+ Avoid performing expensive work on the main/UI interaction path during animation.
1241
+
1242
+ ---
1243
+
1244
+ # 97. FRAME CONSISTENCY
1245
+
1246
+ A visually beautiful animation that stutters is worse than a simpler smooth
1247
+ animation.
1248
+
1249
+ Prioritize:
1250
+
1251
+ ```text
1252
+ Responsiveness
1253
+ Consistency
1254
+ Smoothness
1255
+ ```
1256
+
1257
+ over visual complexity.
1258
+
1259
+ ---
1260
+
1261
+ # 98. GESTURE PERFORMANCE
1262
+
1263
+ Gesture handlers should remain responsive under:
1264
+
1265
+ ```text
1266
+ Large lists
1267
+ Heavy content
1268
+ Media playback
1269
+ Network activity
1270
+ Database operations
1271
+ ```
1272
+
1273
+ ---
1274
+
1275
+ # 99. ANIMATION INTERRUPTION
1276
+
1277
+ Users should be able to change direction naturally.
1278
+
1279
+ Example:
1280
+
1281
+ ```text
1282
+ Open sheet
1283
+ ↓
1284
+ Begin closing
1285
+ ↓
1286
+ Drag upward again
1287
+ ```
1288
+
1289
+ The interface should respond naturally where the interaction model supports it.
1290
+
1291
+ ---
1292
+
1293
+ # 100. ANIMATION CANCELLATION
1294
+
1295
+ Do not force users to wait for an animation to complete before another logical
1296
+ interaction can occur.
1297
+
1298
+ ---
1299
+
1300
+ # 101. INTERACTION PRIORITY
1301
+
1302
+ When simultaneous input occurs, prioritize the most meaningful interaction.
1303
+
1304
+ ---
1305
+
1306
+ # 102. GESTURE SAFETY
1307
+
1308
+ Avoid accidental destructive actions from:
1309
+
1310
+ ```text
1311
+ Small swipes
1312
+ Accidental taps
1313
+ Edge gestures
1314
+ Scroll momentum
1315
+ ```
1316
+
1317
+ ---
1318
+
1319
+ # 103. INTERACTION CONFIRMATION
1320
+
1321
+ Confirmation should be proportional to risk.
1322
+
1323
+ ```text
1324
+ Low-risk action
1325
+ → Immediate
1326
+
1327
+ Moderate-risk action
1328
+ → Undo or lightweight confirmation
1329
+
1330
+ High-risk irreversible action
1331
+ → Explicit confirmation
1332
+ ```
1333
+
1334
+ ---
1335
+
1336
+ # 104. FEEDBACK LATENCY
1337
+
1338
+ The interface should acknowledge input quickly even if the operation itself
1339
+ takes longer.
1340
+
1341
+ Example:
1342
+
1343
+ ```text
1344
+ Tap
1345
+ ↓
1346
+ Immediate visual response
1347
+ ↓
1348
+ Background operation
1349
+ ↓
1350
+ Completion feedback
1351
+ ```
1352
+
1353
+ ---
1354
+
1355
+ # 105. ASYNC INTERACTIONS
1356
+
1357
+ For asynchronous operations:
1358
+
1359
+ ```text
1360
+ Intent
1361
+ ↓
1362
+ Immediate acknowledgment
1363
+ ↓
1364
+ Processing
1365
+ ↓
1366
+ Result
1367
+ ```
1368
+
1369
+ Never leave users wondering whether their tap registered.
1370
+
1371
+ ---
1372
+
1373
+ # 106. RETRY INTERACTION
1374
+
1375
+ Retry should behave like a deliberate action.
1376
+
1377
+ Avoid automatic retry loops that repeatedly consume resources without user
1378
+ awareness.
1379
+
1380
+ ---
1381
+
1382
+ # 107. MICROCOPY + INTERACTION
1383
+
1384
+ Visual feedback and text should agree.
1385
+
1386
+ If the UI says:
1387
+
1388
+ ```text
1389
+ Saved
1390
+ ```
1391
+
1392
+ the underlying state should actually be saved.
1393
+
1394
+ ---
1395
+
1396
+ # 108. INTERACTION ANTI-PATTERNS
1397
+
1398
+ Avoid:
1399
+
1400
+ ```text
1401
+ Unresponsive taps
1402
+ Invisible interaction targets
1403
+ Gesture-only critical actions
1404
+ Excessive haptics
1405
+ Excessive animation
1406
+ Fake progress
1407
+ Unexpected motion
1408
+ Conflicting gestures
1409
+ Tiny hit areas
1410
+ Accidental destructive gestures
1411
+ Long artificial delays
1412
+ Inconsistent component behavior
1413
+ ```
1414
+
1415
+ ---
1416
+
1417
+ # 109. INTERACTION DESIGN WORKFLOW
1418
+
1419
+ The agent should follow:
1420
+
1421
+ ```text
1422
+ 1. Identify user action
1423
+ ↓
1424
+ 2. Identify expected result
1425
+ ↓
1426
+ 3. Define interaction target
1427
+ ↓
1428
+ 4. Define touch/gesture model
1429
+ ↓
1430
+ 5. Define pressed state
1431
+ ↓
1432
+ 6. Define immediate feedback
1433
+ ↓
1434
+ 7. Define state transition
1435
+ ↓
1436
+ 8. Define motion
1437
+ ↓
1438
+ 9. Define optional haptic
1439
+ ↓
1440
+ 10. Define loading state
1441
+ ↓
1442
+ 11. Define success state
1443
+ ↓
1444
+ 12. Define failure state
1445
+ ↓
1446
+ 13. Define cancellation
1447
+ ↓
1448
+ 14. Define accessibility alternative
1449
+ ↓
1450
+ 15. Test performance
1451
+ ↓
1452
+ 16. Test reduced motion
1453
+ ↓
1454
+ 17. Audit interaction consistency
1455
+ ```
1456
+
1457
+ ---
1458
+
1459
+ # 110. INTERACTION QUALITY GATE
1460
+
1461
+ ```text
1462
+ [ ] Touch targets are usable
1463
+ [ ] Press states are clear
1464
+ [ ] Feedback is immediate
1465
+ [ ] Gestures are predictable
1466
+ [ ] Gesture conflicts are resolved
1467
+ [ ] Destructive gestures are safe
1468
+ [ ] Drag interactions communicate destination
1469
+ [ ] Motion explains change
1470
+ [ ] Animation is purposeful
1471
+ [ ] Haptics are restrained
1472
+ [ ] Loading states are appropriate
1473
+ [ ] Async operations acknowledge input
1474
+ [ ] Errors are understandable
1475
+ [ ] Success is communicated
1476
+ [ ] Undo exists where useful
1477
+ [ ] Reduced motion is supported
1478
+ [ ] Accessibility alternatives exist
1479
+ [ ] Pointer interaction is considered
1480
+ [ ] Keyboard interaction is considered
1481
+ [ ] Animations remain performant
1482
+ [ ] Components behave consistently
1483
+ ```
1484
+
1485
+ ---
1486
+
1487
+ # 111. AGENT DECISION RULE
1488
+
1489
+ When adding an interaction, the agent should ask:
1490
+
1491
+ ```text
1492
+ Does this make the task easier?
1493
+
1494
+ Does it communicate state?
1495
+
1496
+ Does it reduce cognitive effort?
1497
+
1498
+ Does it feel natural on the platform?
1499
+
1500
+ Does it remain accessible?
1501
+
1502
+ Does it remain understandable without animation?
1503
+
1504
+ Does it introduce unnecessary complexity?
1505
+ ```
1506
+
1507
+ If the answer is mostly no, remove the interaction.
1508
+
1509
+ ---
1510
+
1511
+ # 112. FINAL PRINCIPLE
1512
+
1513
+ Premium interaction design is not about adding more gestures,
1514
+ more animation, or more haptics.
1515
+
1516
+ It is about creating a strong relationship between:
1517
+
1518
+ ```text
1519
+ User intention
1520
+ ↓
1521
+ Physical interaction
1522
+ ↓
1523
+ Immediate feedback
1524
+ ↓
1525
+ State transition
1526
+ ↓
1527
+ Predictable result
1528
+ ```
1529
+
1530
+ The ideal interface feels:
1531
+
1532
+ **responsive without being frantic, animated without being distracting,
1533
+ tactile without being noisy, and powerful without being complicated.**
1534
+
1535
+ The goal is not for users to notice the interaction design.
1536
+
1537
+ The goal is for users to feel that the application **understands what they are
1538
+ trying to do.**