Chapter
Motion Language
Motion that explains state without competing with content.
Introduction
In Layered Interface Method, animation is a sentence about change. Users should understand what happened, where focus moved, and whether an action completed — without needing spectacle.
If the interface is unclear without motion, fix structure first. Motion amplifies clarity; it cannot replace it.
Theory
People perceive continuity, hierarchy, and cause. Effective motion protects those cues:
- Why: motion reduces cognitive jumps between states.
- When: use it for state changes, spatial relationships, and feedback.
- When not: decoration, endless loops, or motion that blocks reading.
- Typical mistakes: animating everything, long durations, bounce in serious tools.
- UX impact: calm motion increases trust; noisy motion reduces perceived quality.
Interactive motion labs live in lab/motion-playground/. This Runtime chapter keeps theory and guidelines; live demos open from Lab.
Duration
Duration is the most misunderstood token. Too fast feels like a glitch; too slow feels like waiting. LIM keeps most interface feedback between 160–350ms.
Why
Time must match the size of the change. Tiny toggles need short confirmation; large panels may need slightly longer travel.
When not
Do not use 1000ms for hover or checkbox states. Long durations invent weight that the UI does not have.
Distance
Travel distance should stay proportional. Entrances of 12–20px feel present; 48px+ often feels theatrical unless the layout truly shifts.
Hierarchy
Only the primary change should lead. Supporting elements may follow with a short stagger, but never compete for attention.
- Primary action resolves first.
- Secondary content may fade later by 40–80ms.
- Background chrome stays still.
Attention
Attention is a scarce resource. Chaotic motion trains users to ignore movement. Composed motion points to meaning.
Push vs Overlay
Overlay preserves context. Push rearranges the primary surface. Choose based on whether comparison between layers matters.
Motion Curves
Easing is character. LIM Standard settles quickly; LIM Emphasized is reserved for meaningful entrances. Avoid bounce in product-critical flows.
Arc Motion
Straight lines can feel like teleportation. Soft arcs suggest continuity without cartoon physics.
Physics
Deceleration is welcome. Overshoot is not the default. LIM prefers emphasized easing over spring bounce for serious interfaces.
Motion Tokens
| Token | Value | Role |
|---|---|---|
--duration-fast | 160ms | Hover, focus, compact controls |
--duration-medium | 320ms | Theme, panel, color shifts |
--duration-slow | 560ms | Reveal, large spatial changes |
--ease-standard | cubic-bezier(0.2, 0.8, 0.2, 1) | Default interface motion |
--ease-emphasized | cubic-bezier(0.22, 1, 0.36, 1) | Meaningful entrances |
Guidelines
Use when
- State actually changes and users need orientation.
- A spatial relationship must remain continuous.
- Feedback confirms a completed action.
Avoid when
- Content is still being read and motion steals focus.
- The same element animates on every trivial hover.
- Motion is required to understand critical meaning.
Bounce, infinite rotation, chaotic 3D tilt, per-paragraph animation, neon glow pulses.
Motion Checklist
- Motion explains a state change
- Content remains usable without JavaScript
-
prefers-reduced-motionremoves travel and parallax - No permanent layout thrash
- Hover is never the only cue
- One primary motion leads the scene
Введение
В Логике интерфейсных моделей анимация — это предложение о изменении. Пользователь должен понимать, что произошло, куда ушёл фокус и завершилось ли действие — без спектакля.
Если интерфейс непонятен без движения, сначала исправьте структуру. Движение усиливает ясность; оно не может её заменить.
Теория
Люди воспринимают непрерывность, иерархию и причинность. Эффективное движение защищает эти сигналы:
- Зачем: движение снижает когнитивные скачки между состояниями.
- Когда: смена состояния, пространственные связи и обратная связь.
- Когда нет: декор, бесконечные циклы или движение, мешающее чтению.
- Типичные ошибки: анимировать всё, длинные длительности, отскок в серьёзных инструментах.
- Влияние на UX: спокойное движение повышает доверие; шумное снижает ощущение качества.
Длительность
Длительность — самый недопонятый токен. Слишком быстро — как сбой; слишком медленно — как ожидание. Метод держит большую часть обратной связи в диапазоне 160–350 мс.
Дистанция
Дистанция перемещения должна быть пропорциональна. Входы 12–20px ощущаются присутствием; 48px+ часто выглядят театрально, если макет реально не сдвигается.
Иерархия
Вести должно только основное изменение. Вторичные элементы могут следовать коротким stagger, но никогда не конкурировать за внимание.
Внимание
Внимание — редкий ресурс. Хаотичное движение учит игнорировать движение. Собранное движение указывает на смысл.
Сдвиг и оверлей
Оверлей сохраняет контекст. Сдвиг перестраивает основную поверхность. Выбор зависит от того, важно ли сравнение слоёв.
Кривые движения
Смягчение — это характер. Стандарт быстро успокаивается; подчёркнутое — для значимых входов. Избегайте отскока в критичных потоках продукта.
Дугообразное движение
Прямые линии могут ощущаться телепортацией. Мягкие дуги дают непрерывность без мультяшной физики.
Физика
Замедление уместно. Overshoot — не по умолчанию. Метод предпочитает подчёркнутое смягчение пружинному отскоку для серьёзных интерфейсов.
Токены движения
Используйте общие токены длительности и смягчения. Не изобретайте уникальные кривые для каждого компонента.
Сниженное движение
Уважайте prefers-reduced-motion. Состояние всё равно должно быть понятным без анимации.