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,1698 @@
1
+
2
+
3
+ # Motion & Animation System
4
+
5
+ > Agent intelligence module for designing intentional, responsive, accessible,
6
+ > and platform-coherent motion in premium mobile interfaces.
7
+
8
+ Version: 1.0
9
+ Platform: iOS / iPadOS / React Native / Expo
10
+ Role: Motion design and interaction feedback intelligence
11
+ Parent:
12
+
13
+ * design-review-engine.md
14
+ * design-decision-framework.md
15
+ * visual-hierarchy-engine.md
16
+ * interaction-patterns.md
17
+ * accessibility.md
18
+ * component-architecture.md
19
+
20
+ # 1. PURPOSE
21
+
22
+ Motion is not decoration.
23
+
24
+ Motion communicates:
25
+
26
+ ```text
27
+ change
28
+ continuity
29
+ causality
30
+ feedback
31
+ hierarchy
32
+ spatial relationships
33
+ state
34
+ focus
35
+ ```
36
+
37
+ The agent must only introduce motion when it improves one or more of these.
38
+
39
+ # 2. CORE PRINCIPLE
40
+
41
+ Every animation should answer:
42
+
43
+ > What information does this motion communicate?
44
+
45
+ If there is no meaningful answer:
46
+
47
+ ```text
48
+ remove the animation
49
+ ```
50
+
51
+ # 3. MOTION OBJECTIVES
52
+
53
+ Motion may serve:
54
+
55
+ ```text
56
+ 1. feedback
57
+ 2. orientation
58
+ 3. continuity
59
+ 4. hierarchy
60
+ 5. focus
61
+ 6. status
62
+ 7. delight
63
+ ```
64
+
65
+ The first five generally have greater functional value than pure delight.
66
+
67
+ # 4. MOTION PRIORITY
68
+
69
+ When choosing between animation types:
70
+
71
+ ```text
72
+ functional
73
+ >
74
+ orientational
75
+ >
76
+ informational
77
+ >
78
+ expressive
79
+ >
80
+ decorative
81
+ ```
82
+
83
+ Prefer functional motion over decorative motion.
84
+
85
+ # 5. MOTION SHOULD FEEL CAUSED
86
+
87
+ The user should understand:
88
+
89
+ ```text
90
+ I did X
91
+ →
92
+ Y changed
93
+ ```
94
+
95
+ Motion should reinforce causality.
96
+
97
+ # 6. DIRECT MANIPULATION
98
+
99
+ When the user directly manipulates an object:
100
+
101
+ ```text
102
+ drag
103
+ swipe
104
+ pinch
105
+ scroll
106
+ press
107
+ ```
108
+
109
+ the interface should respond continuously where appropriate.
110
+
111
+ Direct manipulation should feel physically connected to the gesture.
112
+
113
+ # 7. CONTINUITY
114
+
115
+ When an object changes position or state, motion can preserve continuity.
116
+
117
+ Example:
118
+
119
+ ```text
120
+ list item
121
+ →
122
+ detail screen
123
+ ```
124
+
125
+ A meaningful spatial transition helps users understand where the content went.
126
+
127
+ # 8. SPATIAL MEMORY
128
+
129
+ Motion can answer:
130
+
131
+ ```text
132
+ Where did this come from?
133
+
134
+ Where did it go?
135
+
136
+ What changed?
137
+ ```
138
+
139
+ Use transitions to preserve spatial relationships.
140
+
141
+ # 9. MOTION HIERARCHY
142
+
143
+ Not every element should animate equally.
144
+
145
+ Establish:
146
+
147
+ ```text
148
+ primary motion
149
+ secondary motion
150
+ background motion
151
+ ```
152
+
153
+ Primary motion receives the strongest visual attention.
154
+
155
+ # 10. ONE MOTION STORY
156
+
157
+ A transition should generally communicate one coherent story.
158
+
159
+ Avoid:
160
+
161
+ ```text
162
+ slide
163
+ +
164
+ scale
165
+ +
166
+ rotate
167
+ +
168
+ blur
169
+ +
170
+ bounce
171
+ +
172
+ glow
173
+ ```
174
+
175
+ unless there is a strong reason.
176
+
177
+ # 11. MOTION RESTRAINT
178
+
179
+ Premium motion is usually:
180
+
181
+ ```text
182
+ controlled
183
+ purposeful
184
+ short
185
+ smooth
186
+ predictable
187
+ ```
188
+
189
+ not:
190
+
191
+ ```text
192
+ loud
193
+ constant
194
+ bouncy
195
+ random
196
+ ```
197
+
198
+ .
199
+
200
+ # 12. MOTION CATEGORIES
201
+
202
+ Use these categories:
203
+
204
+ ```text
205
+ micro-interaction
206
+ state transition
207
+ navigation transition
208
+ gesture motion
209
+ feedback motion
210
+ loading motion
211
+ progress motion
212
+ layout motion
213
+ ambient motion
214
+ ```
215
+
216
+ Each requires different reasoning.
217
+
218
+ # 13. MICRO-INTERACTION
219
+
220
+ Used for:
221
+
222
+ ```text
223
+ button press
224
+ toggle
225
+ selection
226
+ favorite
227
+ bookmark
228
+ play
229
+ pause
230
+ ```
231
+
232
+ Purpose:
233
+
234
+ ```text
235
+ immediate feedback
236
+ ```
237
+
238
+ Keep it brief.
239
+
240
+ # 14. PRESS FEEDBACK
241
+
242
+ A press may communicate through:
243
+
244
+ ```text
245
+ scale
246
+ opacity
247
+ highlight
248
+ surface change
249
+ haptic feedback
250
+ ```
251
+
252
+ Do not combine every mechanism unnecessarily.
253
+
254
+ # 15. PRESS SCALE
255
+
256
+ Small scale changes can communicate physical response.
257
+
258
+ Avoid extreme shrinking.
259
+
260
+ The control should still feel stable.
261
+
262
+ # 16. TOGGLE MOTION
263
+
264
+ Toggle animation should communicate:
265
+
266
+ ```text
267
+ off
268
+ →
269
+ on
270
+ ```
271
+
272
+ and:
273
+
274
+ ```text
275
+ on
276
+ →
277
+ off
278
+ ```
279
+
280
+ clearly.
281
+
282
+ The moving indicator should preserve spatial continuity.
283
+
284
+ # 17. SELECTION MOTION
285
+
286
+ Selection should visibly move from:
287
+
288
+ ```text
289
+ previous
290
+ →
291
+ new
292
+ ```
293
+
294
+ where appropriate.
295
+
296
+ Avoid animations that obscure the selected state.
297
+
298
+ # 18. FAVORITE / LIKE
299
+
300
+ A favorite action may use:
301
+
302
+ ```text
303
+ scale
304
+ opacity
305
+ icon transformation
306
+ subtle emphasis
307
+ ```
308
+
309
+ The feedback should confirm the action without dominating the interface.
310
+
311
+ # 19. PLAY / PAUSE
312
+
313
+ Play/pause is a state transformation.
314
+
315
+ Prefer:
316
+
317
+ ```text
318
+ play
319
+ ⇄
320
+ pause
321
+ ```
322
+
323
+ with a visually coherent icon transition when useful.
324
+
325
+ Do not animate it so much that state recognition becomes delayed.
326
+
327
+ # 20. NAVIGATION MOTION
328
+
329
+ Navigation motion communicates:
330
+
331
+ ```text
332
+ where the user is going
333
+ where they came from
334
+ ```
335
+
336
+ It should reinforce the navigation hierarchy.
337
+
338
+ # 21. PUSH TRANSITION
339
+
340
+ A push-style transition communicates:
341
+
342
+ ```text
343
+ deeper into hierarchy
344
+ ```
345
+
346
+ Use it for:
347
+
348
+ ```text
349
+ list
350
+ →
351
+ detail
352
+ ```
353
+
354
+ or:
355
+
356
+ ```text
357
+ parent
358
+ →
359
+ child
360
+ ```
361
+
362
+ # 22. POP TRANSITION
363
+
364
+ A reverse transition communicates:
365
+
366
+ ```text
367
+ return
368
+ ```
369
+
370
+ Motion direction should preserve the relationship between screens.
371
+
372
+ # 23. MODAL PRESENTATION
373
+
374
+ Modal movement should communicate:
375
+
376
+ ```text
377
+ temporary layer
378
+ ```
379
+
380
+ rather than:
381
+
382
+ ```text
383
+ new permanent destination
384
+ ```
385
+
386
+ # 24. SHEET MOTION
387
+
388
+ Sheets generally communicate:
389
+
390
+ ```text
391
+ contextual temporary interaction
392
+ ```
393
+
394
+ The motion should visually originate from the edge or contextual relationship
395
+ where appropriate.
396
+
397
+ # 25. FULL-SCREEN TRANSITION
398
+
399
+ Use stronger navigation transitions for substantial context changes.
400
+
401
+ Do not make every screen appear as a modal.
402
+
403
+ # 26. SHARED ELEMENT MOTION
404
+
405
+ When the same object exists across states:
406
+
407
+ ```text
408
+ thumbnail
409
+ →
410
+ large image
411
+ ```
412
+
413
+ motion can connect the two.
414
+
415
+ This can dramatically improve spatial understanding.
416
+
417
+ # 27. SHARED ELEMENT RULE
418
+
419
+ Use shared-element-like motion when:
420
+
421
+ ```text
422
+ same object
423
+ same semantic identity
424
+ meaningful continuity
425
+ ```
426
+
427
+ Do not animate unrelated objects together.
428
+
429
+ # 28. CROSSFADE
430
+
431
+ Crossfade is appropriate when:
432
+
433
+ ```text
434
+ identity is less important
435
+ content replacement is primary
436
+ spatial continuity is unnecessary
437
+ ```
438
+
439
+ Avoid using crossfade as the universal transition.
440
+
441
+ # 29. SLIDE
442
+
443
+ Sliding communicates movement through space.
444
+
445
+ Direction should have semantic meaning.
446
+
447
+ Examples:
448
+
449
+ ```text
450
+ forward
451
+ →
452
+ backward
453
+ ```
454
+
455
+ or:
456
+
457
+ ```text
458
+ enter
459
+ →
460
+ exit
461
+ ```
462
+
463
+ # 30. SCALE TRANSITION
464
+
465
+ Scale can communicate:
466
+
467
+ ```text
468
+ focus
469
+ emergence
470
+ dismissal
471
+ ```
472
+
473
+ Use subtly unless the product language intentionally calls for stronger motion.
474
+
475
+ # 31. ROTATION
476
+
477
+ Rotation should be used when rotation itself communicates state.
478
+
479
+ Examples:
480
+
481
+ ```text
482
+ expand/collapse indicator
483
+ orientation
484
+ ```
485
+
486
+ Avoid arbitrary spinning.
487
+
488
+ # 32. BLUR TRANSITIONS
489
+
490
+ Blur can communicate depth or focus changes.
491
+
492
+ Use sparingly.
493
+
494
+ Avoid expensive blur animation if the device cannot maintain smooth performance.
495
+
496
+ # 33. OPACITY
497
+
498
+ Opacity transitions are useful for:
499
+
500
+ ```text
501
+ appear
502
+ disappear
503
+ de-emphasize
504
+ ```
505
+
506
+ Avoid making essential content disappear too quickly.
507
+
508
+ # 34. MOVEMENT
509
+
510
+ Movement is strongest when it preserves object identity.
511
+
512
+ An object should generally move from a meaningful source to a meaningful destination.
513
+
514
+ # 35. DISTANCE
515
+
516
+ Longer movement requires more time.
517
+
518
+ Short movement requires less time.
519
+
520
+ Do not use identical duration for every transition.
521
+
522
+ # 36. SPEED
523
+
524
+ Motion should generally feel:
525
+
526
+ ```text
527
+ quick for micro-feedback
528
+ moderate for navigation
529
+ slower for large spatial changes
530
+ ```
531
+
532
+ Avoid arbitrary duration values.
533
+
534
+ # 37. DURATION
535
+
536
+ Use duration based on:
537
+
538
+ ```text
539
+ distance
540
+ complexity
541
+ importance
542
+ interaction type
543
+ ```
544
+
545
+ not merely a fixed global number.
546
+
547
+ # 38. DURATION RANGES
548
+
549
+ Conceptual guidance:
550
+
551
+ ```text
552
+ micro feedback:
553
+ very short
554
+
555
+ state change:
556
+ short
557
+
558
+ navigation:
559
+ short-to-medium
560
+
561
+ large spatial transformation:
562
+ medium
563
+ ```
564
+
565
+ Exact values should be established by the product's motion tokens.
566
+
567
+ # 39. DO NOT OVER-SLOW
568
+
569
+ Slow animation often feels:
570
+
571
+ ```text
572
+ laggy
573
+ artificial
574
+ frustrating
575
+ ```
576
+
577
+ The interface should remain responsive.
578
+
579
+ # 40. DO NOT OVER-FAST
580
+
581
+ If motion is too fast:
582
+
583
+ ```text
584
+ continuity disappears
585
+ feedback becomes unclear
586
+ ```
587
+
588
+ The user may not perceive the relationship.
589
+
590
+ # 41. EASING
591
+
592
+ Easing controls perceived acceleration.
593
+
594
+ Common conceptual categories:
595
+
596
+ ```text
597
+ ease-in
598
+ ease-out
599
+ ease-in-out
600
+ spring
601
+ linear
602
+ ```
603
+
604
+ Choose based on physical and semantic meaning.
605
+
606
+ # 42. EASE-OUT
607
+
608
+ Ease-out is often useful when an element:
609
+
610
+ ```text
611
+ arrives
612
+ settles
613
+ appears
614
+ ```
615
+
616
+ It quickly responds and then settles.
617
+
618
+ # 43. EASE-IN
619
+
620
+ Ease-in can communicate:
621
+
622
+ ```text
623
+ departure
624
+ acceleration
625
+ ```
626
+
627
+ Use carefully.
628
+
629
+ # 44. EASE-IN-OUT
630
+
631
+ Useful for:
632
+
633
+ ```text
634
+ continuous transitions
635
+ state transformations
636
+ movement between stable states
637
+ ```
638
+
639
+ .
640
+
641
+ # 45. LINEAR
642
+
643
+ Linear motion is useful when:
644
+
645
+ ```text
646
+ progress
647
+ continuous mechanical movement
648
+ ```
649
+
650
+ is being represented.
651
+
652
+ Avoid linear easing for every UI transition.
653
+
654
+ # 46. SPRING
655
+
656
+ Spring motion can communicate:
657
+
658
+ ```text
659
+ physicality
660
+ direct manipulation
661
+ elastic response
662
+ ```
663
+
664
+ Use controlled springs.
665
+
666
+ Excessive springiness makes interfaces feel playful or unstable.
667
+
668
+ # 47. SPRING PARAMETERS
669
+
670
+ Conceptually reason about:
671
+
672
+ ```text
673
+ stiffness
674
+ damping
675
+ mass
676
+ velocity
677
+ ```
678
+
679
+ Higher stiffness:
680
+
681
+ ```text
682
+ faster response
683
+ ```
684
+
685
+ Higher damping:
686
+
687
+ ```text
688
+ less oscillation
689
+ ```
690
+
691
+ Lower damping:
692
+
693
+ ```text
694
+ more bounce
695
+ ```
696
+
697
+ The agent should avoid unnecessary oscillation.
698
+
699
+ # 48. BOUNCE
700
+
701
+ Bounce is appropriate when:
702
+
703
+ ```text
704
+ physical interaction
705
+ playful product language
706
+ clear affordance
707
+ ```
708
+
709
+ Avoid bounce as a default.
710
+
711
+ # 49. OVERSHOOT
712
+
713
+ Overshoot can communicate physicality.
714
+
715
+ Use sparingly.
716
+
717
+ Too much overshoot creates:
718
+
719
+ ```text
720
+ toy-like behavior
721
+ visual instability
722
+ ```
723
+
724
+ .
725
+
726
+ # 50. MOTION PHYSICS
727
+
728
+ Physical motion should follow believable relationships.
729
+
730
+ If a panel moves:
731
+
732
+ ```text
733
+ distance
734
+ velocity
735
+ settling
736
+ ```
737
+
738
+ should feel coherent.
739
+
740
+ # 51. GESTURE + ANIMATION
741
+
742
+ Gesture-driven motion should be:
743
+
744
+ ```text
745
+ continuous
746
+ responsive
747
+ interruptible
748
+ reversible
749
+ ```
750
+
751
+ where appropriate.
752
+
753
+ # 52. INTERRUPTIBILITY
754
+
755
+ Users may change their mind during motion.
756
+
757
+ Good interaction allows:
758
+
759
+ ```text
760
+ gesture
761
+ →
762
+ reverse gesture
763
+ ```
764
+
765
+ without fighting the user.
766
+
767
+ # 53. GESTURE PRIORITY
768
+
769
+ Direct user input should generally override passive animation.
770
+
771
+ If the user grabs an object:
772
+
773
+ ```text
774
+ user control
775
+ >
776
+ automated motion
777
+ ```
778
+
779
+ .
780
+
781
+ # 54. DRAGGING
782
+
783
+ Dragging should usually map closely to finger movement.
784
+
785
+ Avoid excessive lag or artificial delay.
786
+
787
+ # 55. SWIPE
788
+
789
+ Swipe actions should communicate:
790
+
791
+ ```text
792
+ direction
793
+ distance
794
+ threshold
795
+ result
796
+ ```
797
+
798
+ clearly.
799
+
800
+ # 56. SWIPE THRESHOLD
801
+
802
+ A swipe should not trigger accidentally.
803
+
804
+ Consider:
805
+
806
+ ```text
807
+ distance
808
+ velocity
809
+ direction
810
+ context
811
+ ```
812
+
813
+ before committing an action.
814
+
815
+ # 57. DISMISSIBLE ELEMENTS
816
+
817
+ For a dismissible object:
818
+
819
+ ```text
820
+ drag
821
+ →
822
+ threshold
823
+ →
824
+ commit
825
+ ```
826
+
827
+ or:
828
+
829
+ ```text
830
+ drag
831
+ →
832
+ release
833
+ →
834
+ snap back
835
+ ```
836
+
837
+ Motion should clearly communicate which outcome occurred.
838
+
839
+ # 58. SNAP-BACK
840
+
841
+ When a gesture does not meet the action threshold:
842
+
843
+ ```text
844
+ return to original position
845
+ ```
846
+
847
+ This reinforces:
848
+
849
+ ```text
850
+ not committed
851
+ ```
852
+
853
+ .
854
+
855
+ # 59. MOMENTUM
856
+
857
+ Scrollable and draggable interactions may preserve momentum.
858
+
859
+ Avoid excessive momentum that makes content difficult to control.
860
+
861
+ # 60. SCROLL MOTION
862
+
863
+ Scrolling should feel:
864
+
865
+ ```text
866
+ continuous
867
+ stable
868
+ predictable
869
+ ```
870
+
871
+ Avoid adding unnecessary parallax to every scrollable element.
872
+
873
+ # 61. PARALLAX
874
+
875
+ Parallax can create depth.
876
+
877
+ Use when:
878
+
879
+ ```text
880
+ depth is meaningful
881
+ visual storytelling matters
882
+ ```
883
+
884
+ Avoid when it distracts from content or creates motion sensitivity issues.
885
+
886
+ # 62. COLLAPSING HEADERS
887
+
888
+ A collapsing header can communicate:
889
+
890
+ ```text
891
+ context remains
892
+ screen space increases
893
+ ```
894
+
895
+ Use when preserving title/context is valuable.
896
+
897
+ # 63. LAYOUT MOTION
898
+
899
+ When content changes size or position, layout animation can help users understand
900
+ what moved.
901
+
902
+ Example:
903
+
904
+ ```text
905
+ item inserted
906
+ →
907
+ existing items shift
908
+ ```
909
+
910
+ Animate the shift when useful.
911
+
912
+ # 64. INSERTION
913
+
914
+ New content should appear in a way that communicates:
915
+
916
+ ```text
917
+ this item was added
918
+ ```
919
+
920
+ Avoid making the entire screen jump.
921
+
922
+ # 65. REMOVAL
923
+
924
+ When removing content:
925
+
926
+ ```text
927
+ fade
928
+ shrink
929
+ slide
930
+ collapse
931
+ ```
932
+
933
+ can communicate removal.
934
+
935
+ But avoid lengthy deletion animations.
936
+
937
+ # 66. REORDERING
938
+
939
+ When items reorder:
940
+
941
+ ```text
942
+ old position
943
+ →
944
+ new position
945
+ ```
946
+
947
+ motion can preserve identity.
948
+
949
+ # 67. FILTERING
950
+
951
+ When filtering a list:
952
+
953
+ ```text
954
+ items disappear
955
+ ```
956
+
957
+ should not create chaotic movement.
958
+
959
+ Use stable layout transitions where practical.
960
+
961
+ # 68. SORTING
962
+
963
+ Sorting can benefit from animated repositioning because it lets users understand
964
+ that the same items changed order.
965
+
966
+ # 69. LOADING MOTION
967
+
968
+ Loading animation should communicate:
969
+
970
+ ```text
971
+ work is happening
972
+ ```
973
+
974
+ not merely entertain.
975
+
976
+ # 70. SKELETON MOTION
977
+
978
+ Skeleton shimmer is optional.
979
+
980
+ Use it only if:
981
+
982
+ ```text
983
+ loading duration justifies it
984
+ ```
985
+
986
+ Avoid perpetual shimmer for near-instant operations.
987
+
988
+ # 71. PROGRESS
989
+
990
+ Use progress animation when users need to understand:
991
+
992
+ ```text
993
+ how much is complete
994
+ how much remains
995
+ ```
996
+
997
+ .
998
+
999
+ # 72. DETERMINATE PROGRESS
1000
+
1001
+ When progress is measurable:
1002
+
1003
+ ```text
1004
+ show progress
1005
+ ```
1006
+
1007
+ Example:
1008
+
1009
+ ```text
1010
+ 35%
1011
+ ```
1012
+
1013
+ .
1014
+
1015
+ # 73. INDETERMINATE PROGRESS
1016
+
1017
+ When progress cannot be estimated:
1018
+
1019
+ ```text
1020
+ use indeterminate feedback
1021
+ ```
1022
+
1023
+ Do not pretend to know the completion percentage.
1024
+
1025
+ # 74. ERROR MOTION
1026
+
1027
+ Error motion should attract enough attention to be noticed.
1028
+
1029
+ Avoid:
1030
+
1031
+ ```text
1032
+ violent shaking
1033
+ ```
1034
+
1035
+ unless it clearly serves a specific interaction and accessibility is considered.
1036
+
1037
+ # 75. SUCCESS MOTION
1038
+
1039
+ Success should feel:
1040
+
1041
+ ```text
1042
+ confirmed
1043
+ complete
1044
+ stable
1045
+ ```
1046
+
1047
+ Avoid excessive celebration for ordinary actions.
1048
+
1049
+ # 76. HAPTICS
1050
+
1051
+ Haptics can complement motion.
1052
+
1053
+ Use for meaningful events:
1054
+
1055
+ ```text
1056
+ selection
1057
+ confirmation
1058
+ completion
1059
+ error
1060
+ drag threshold
1061
+ ```
1062
+
1063
+ Do not vibrate for every interaction.
1064
+
1065
+ # 77. MOTION + HAPTICS
1066
+
1067
+ When combining:
1068
+
1069
+ ```text
1070
+ visual motion
1071
+ +
1072
+ haptic
1073
+ ```
1074
+
1075
+ both should represent the same event.
1076
+
1077
+ Do not make them feel disconnected.
1078
+
1079
+ # 78. SOUND + MOTION
1080
+
1081
+ When sound exists, coordinate:
1082
+
1083
+ ```text
1084
+ visual
1085
+ haptic
1086
+ audio
1087
+ ```
1088
+
1089
+ feedback.
1090
+
1091
+ But the experience must remain understandable without sound.
1092
+
1093
+ # 79. AMBIENT MOTION
1094
+
1095
+ Ambient motion includes:
1096
+
1097
+ ```text
1098
+ slow background movement
1099
+ floating particles
1100
+ subtle gradients
1101
+ ```
1102
+
1103
+ Use only when it supports product identity.
1104
+
1105
+ It should never compete with functional content.
1106
+
1107
+ # 80. AMBIENT MOTION LIMIT
1108
+
1109
+ If users stop noticing it after a few seconds, it is probably appropriately subtle.
1110
+
1111
+ If users keep noticing it:
1112
+
1113
+ ```text
1114
+ reduce it
1115
+ ```
1116
+
1117
+ .
1118
+
1119
+ # 81. INFINITE ANIMATION
1120
+
1121
+ Infinite animation should have a strong reason.
1122
+
1123
+ Potential risks:
1124
+
1125
+ ```text
1126
+ battery
1127
+ CPU/GPU
1128
+ attention
1129
+ accessibility
1130
+ distraction
1131
+ ```
1132
+
1133
+ .
1134
+
1135
+ # 82. REDUCED MOTION
1136
+
1137
+ Respect the user's reduced-motion preference.
1138
+
1139
+ When reduced motion is enabled:
1140
+
1141
+ ```text
1142
+ reduce
1143
+ ```
1144
+
1145
+ or:
1146
+
1147
+ ```text
1148
+ remove
1149
+ ```
1150
+
1151
+ non-essential movement.
1152
+
1153
+ # 83. REDUCED MOTION PRIORITY
1154
+
1155
+ Preserve:
1156
+
1157
+ ```text
1158
+ state
1159
+ feedback
1160
+ orientation
1161
+ ```
1162
+
1163
+ while reducing:
1164
+
1165
+ ```text
1166
+ decorative movement
1167
+ large transitions
1168
+ parallax
1169
+ continuous animation
1170
+ ```
1171
+
1172
+ .
1173
+
1174
+ # 84. MOTION ACCESSIBILITY
1175
+
1176
+ Motion should never be required to understand:
1177
+
1178
+ ```text
1179
+ state
1180
+ action
1181
+ navigation
1182
+ ```
1183
+
1184
+ There should be a static or reduced-motion equivalent.
1185
+
1186
+ # 85. MOTION AND COGNITIVE LOAD
1187
+
1188
+ Too much motion can increase cognitive load.
1189
+
1190
+ Especially avoid simultaneous animation of:
1191
+
1192
+ ```text
1193
+ multiple unrelated regions
1194
+ ```
1195
+
1196
+ .
1197
+
1198
+ # 86. MOTION AND ATTENTION
1199
+
1200
+ Animation attracts attention.
1201
+
1202
+ Therefore:
1203
+
1204
+ ```text
1205
+ motion = visual priority
1206
+ ```
1207
+
1208
+ Use it deliberately.
1209
+
1210
+ # 87. MOTION COLLISION
1211
+
1212
+ If two animations compete:
1213
+
1214
+ ```text
1215
+ primary interaction
1216
+ >
1217
+ secondary motion
1218
+ >
1219
+ ambient motion
1220
+ ```
1221
+
1222
+ Pause or suppress lower-priority motion when necessary.
1223
+
1224
+ # 88. MOTION INTERRUPTION
1225
+
1226
+ When the user starts a new task:
1227
+
1228
+ ```text
1229
+ stop irrelevant animation
1230
+ ```
1231
+
1232
+ Do not force the user to wait for decorative motion.
1233
+
1234
+ # 89. MOTION PERFORMANCE
1235
+
1236
+ Target:
1237
+
1238
+ ```text
1239
+ smooth
1240
+ responsive
1241
+ stable
1242
+ ```
1243
+
1244
+ rather than maximum effects.
1245
+
1246
+ # 90. PERFORMANCE PRIORITY
1247
+
1248
+ When animation causes frame drops:
1249
+
1250
+ ```text
1251
+ 1. remove unnecessary effects
1252
+ 2. reduce animated properties
1253
+ 3. reduce area
1254
+ 4. reduce frequency
1255
+ 5. simplify rendering
1256
+ ```
1257
+
1258
+ Never sacrifice interaction quality for visual spectacle.
1259
+
1260
+ # 91. EXPENSIVE EFFECTS
1261
+
1262
+ Be cautious with:
1263
+
1264
+ ```text
1265
+ blur
1266
+ large shadows
1267
+ complex masks
1268
+ multiple translucent layers
1269
+ large-scale image transformations
1270
+ continuous high-frequency animations
1271
+ ```
1272
+
1273
+ .
1274
+
1275
+ # 92. NATIVE VS JS MOTION
1276
+
1277
+ Use the most appropriate animation architecture available to the platform.
1278
+
1279
+ For React Native:
1280
+
1281
+ ```text
1282
+ prefer UI-thread/native-driven animation
1283
+ ```
1284
+
1285
+ when high-frequency interaction demands it.
1286
+
1287
+ # 93. GESTURE PERFORMANCE
1288
+
1289
+ Gesture-driven animation must minimize:
1290
+
1291
+ ```text
1292
+ JS-thread blocking
1293
+ layout recalculation
1294
+ unnecessary renders
1295
+ ```
1296
+
1297
+ .
1298
+
1299
+ # 94. LAYOUT ANIMATION COST
1300
+
1301
+ Animating layout properties may be more expensive than animating composited
1302
+ properties.
1303
+
1304
+ Choose implementation strategy based on performance requirements.
1305
+
1306
+ # 95. MOTION TOKENS
1307
+
1308
+ The product should define reusable motion tokens:
1309
+
1310
+ ```text
1311
+ duration
1312
+ easing
1313
+ spring
1314
+ distance
1315
+ opacity
1316
+ scale
1317
+ ```
1318
+
1319
+ Avoid arbitrary animation values throughout the application.
1320
+
1321
+ # 96. MOTION LANGUAGE
1322
+
1323
+ Define a consistent motion vocabulary:
1324
+
1325
+ ```text
1326
+ enter
1327
+ exit
1328
+ press
1329
+ select
1330
+ expand
1331
+ collapse
1332
+ navigate
1333
+ dismiss
1334
+ success
1335
+ error
1336
+ ```
1337
+
1338
+ Each should have recognizable behavior.
1339
+
1340
+ # 97. MOTION CONSISTENCY
1341
+
1342
+ Similar interactions should move similarly.
1343
+
1344
+ Example:
1345
+
1346
+ ```text
1347
+ all sheets
1348
+ →
1349
+ similar presentation behavior
1350
+ ```
1351
+
1352
+ .
1353
+
1354
+ # 98. MOTION DIFFERENTIATION
1355
+
1356
+ Different semantic actions may require different motion.
1357
+
1358
+ Example:
1359
+
1360
+ ```text
1361
+ navigation
1362
+ ≠
1363
+ confirmation
1364
+ ≠
1365
+ destructive removal
1366
+ ```
1367
+
1368
+ .
1369
+
1370
+ # 99. MOTION AND BRAND
1371
+
1372
+ Brand personality may influence:
1373
+
1374
+ ```text
1375
+ springiness
1376
+ speed
1377
+ scale
1378
+ opacity
1379
+ ```
1380
+
1381
+ but usability comes first.
1382
+
1383
+ # 100. APPLE-INSPIRED MOTION
1384
+
1385
+ Do not copy specific animations blindly.
1386
+
1387
+ Target qualities:
1388
+
1389
+ ```text
1390
+ continuity
1391
+ responsiveness
1392
+ physical coherence
1393
+ restraint
1394
+ clarity
1395
+ ```
1396
+
1397
+ .
1398
+
1399
+ # 101. MOTION ANTI-PATTERNS
1400
+
1401
+ Avoid:
1402
+
1403
+ ```text
1404
+ animation everywhere
1405
+ random bounce
1406
+ excessive spring
1407
+ slow transitions
1408
+ fake loading
1409
+ continuous shimmer
1410
+ unnecessary parallax
1411
+ large entrance animations
1412
+ delayed feedback
1413
+ ```
1414
+
1415
+ .
1416
+
1417
+ # 102. DELAYED FEEDBACK
1418
+
1419
+ Never delay essential feedback simply to make an animation look better.
1420
+
1421
+ # 103. ANIMATION BEFORE ACTION
1422
+
1423
+ If the user taps:
1424
+
1425
+ ```text
1426
+ tap
1427
+ →
1428
+ immediate acknowledgment
1429
+ ```
1430
+
1431
+ The UI should not appear unresponsive while preparing a visual transition.
1432
+
1433
+ # 104. MOTION FAILURE
1434
+
1435
+ If animation fails:
1436
+
1437
+ ```text
1438
+ state must still be correct
1439
+ ```
1440
+
1441
+ Motion is enhancement, not the source of truth.
1442
+
1443
+ # 105. STATE MACHINE THINKING
1444
+
1445
+ For complex components:
1446
+
1447
+ ```text
1448
+ idle
1449
+ →
1450
+ pressed
1451
+ →
1452
+ active
1453
+ →
1454
+ loading
1455
+ →
1456
+ success
1457
+ ```
1458
+
1459
+ or:
1460
+
1461
+ ```text
1462
+ closed
1463
+ →
1464
+ opening
1465
+ →
1466
+ open
1467
+ →
1468
+ closing
1469
+ →
1470
+ closed
1471
+ ```
1472
+
1473
+ Animation should correspond to state transitions.
1474
+
1475
+ # 106. STATE CONSISTENCY
1476
+
1477
+ Never allow visual motion to represent a state different from the actual
1478
+ application state.
1479
+
1480
+ # 107. INTERRUPTIBLE STATE
1481
+
1482
+ For interactive components:
1483
+
1484
+ ```text
1485
+ opening
1486
+ →
1487
+ user reverses
1488
+ →
1489
+ closing
1490
+ ```
1491
+
1492
+ where appropriate.
1493
+
1494
+ Avoid forcing the animation to finish before responding.
1495
+
1496
+ # 108. MOTION REVIEW
1497
+
1498
+ Evaluate:
1499
+
1500
+ ```text
1501
+ Purpose
1502
+ Duration
1503
+ Easing
1504
+ Distance
1505
+ Direction
1506
+ Hierarchy
1507
+ Performance
1508
+ Accessibility
1509
+ Consistency
1510
+ ```
1511
+
1512
+ .
1513
+
1514
+ # 109. MOTION SCORE
1515
+
1516
+ Suggested evaluation:
1517
+
1518
+ ```text
1519
+ Purpose 20
1520
+ Responsiveness 15
1521
+ Continuity 15
1522
+ Accessibility 15
1523
+ Performance 10
1524
+ Consistency 10
1525
+ Timing 5
1526
+ Easing 5
1527
+ Restraint 5
1528
+ ──────────────────────
1529
+ Total 100
1530
+ ```
1531
+
1532
+ Interpretation:
1533
+
1534
+ ```text
1535
+ 95–100 Exceptional
1536
+ 90–94 Excellent
1537
+ 80–89 Strong
1538
+ 70–79 Needs refinement
1539
+ 60–69 Weak
1540
+ <60 Remove/rework motion
1541
+ ```
1542
+
1543
+ # 110. MOTION REVIEW OUTPUT
1544
+
1545
+ The agent should produce:
1546
+
1547
+ ```text
1548
+ MOTION REVIEW
1549
+ ────────────────────────
1550
+
1551
+ Purpose:
1552
+ ...
1553
+
1554
+ Trigger:
1555
+ ...
1556
+
1557
+ State transition:
1558
+ ...
1559
+
1560
+ Motion type:
1561
+ ...
1562
+
1563
+ Duration:
1564
+ ...
1565
+
1566
+ Easing:
1567
+ ...
1568
+
1569
+ Direction:
1570
+ ...
1571
+
1572
+ Performance risk:
1573
+ Low / Medium / High
1574
+
1575
+ Accessibility:
1576
+ ...
1577
+
1578
+ Recommendation:
1579
+ ...
1580
+ ```
1581
+
1582
+ # 111. MOTION DESIGN ALGORITHM
1583
+
1584
+ ```text
1585
+ INPUT
1586
+ ↓
1587
+ Identify state change
1588
+ ↓
1589
+ Identify user action
1590
+ ↓
1591
+ Determine semantic relationship
1592
+ ↓
1593
+ Determine whether motion adds information
1594
+ ↓
1595
+ Choose motion category
1596
+ ↓
1597
+ Choose direction
1598
+ ↓
1599
+ Choose distance
1600
+ ↓
1601
+ Choose duration
1602
+ ↓
1603
+ Choose easing
1604
+ ↓
1605
+ Check interruption behavior
1606
+ ↓
1607
+ Check accessibility
1608
+ ↓
1609
+ Check performance
1610
+ ↓
1611
+ Check consistency
1612
+ ↓
1613
+ Implement
1614
+ ↓
1615
+ Test on device
1616
+ ```
1617
+
1618
+ # 112. MOTION DECISION TREE
1619
+
1620
+ ```text
1621
+ Does something change?
1622
+ │
1623
+ NO
1624
+ ↓
1625
+ No motion
1626
+
1627
+ YES
1628
+ ↓
1629
+ Does motion explain the change?
1630
+ │
1631
+ NO ─────→ No motion
1632
+ │
1633
+ YES
1634
+ ↓
1635
+ Is the change user initiated?
1636
+ │
1637
+ YES
1638
+ ↓
1639
+ Prefer direct responsive motion
1640
+
1641
+ NO
1642
+ ↓
1643
+ Does continuity matter?
1644
+ │
1645
+ YES
1646
+ ↓
1647
+ Use spatial transition
1648
+
1649
+ NO
1650
+ ↓
1651
+ Use minimal state feedback
1652
+ ```
1653
+
1654
+ # 113. FINAL PRINCIPLE
1655
+
1656
+ The best animation is not the animation users notice.
1657
+
1658
+ It is the animation that makes the interface feel:
1659
+
1660
+ ```text
1661
+ responsive
1662
+ coherent
1663
+ understandable
1664
+ alive
1665
+ ```
1666
+
1667
+ without demanding attention.
1668
+
1669
+ # 114. FINAL AGENT DIRECTIVE
1670
+
1671
+ Before implementing any animation, ask:
1672
+
1673
+ ```text
1674
+ What changed?
1675
+
1676
+ Why did it change?
1677
+
1678
+ What should the user understand?
1679
+
1680
+ Does motion help them understand it?
1681
+
1682
+ Can the motion be simpler?
1683
+
1684
+ Can it be interrupted?
1685
+
1686
+ Does it respect reduced motion?
1687
+
1688
+ Does it maintain performance?
1689
+
1690
+ Does it belong to the product's motion language?
1691
+ ```
1692
+
1693
+ If the answer is no:
1694
+
1695
+ ```text
1696
+ remove the animation.
1697
+ ```
1698
+