Motion specification
Interactive reference prototype and token tables for sidebar, panels, address bar, and menus. Intended as a single handoff artifact for implementation.
Implementation guidance for every animation in the prototype when the user opts into reduced motion. Goal: keep state changes legible (opacity, hover/active styles) and remove motion-derived effects (translate, scale springs, bounces, gradient sweeps, sustained delays). The prototype itself does not currently ship a prefers-reduced-motion rule; the table below is the spec engineering should implement.
translate and scale motion. Communicate depth and state with opacity, color, or instant snap-to-final.var(--motion-ease-standard) at 120 ms (or the existing token if shorter, e.g. list-row hover) so transitions feel familiar.@media (prefers-reduced-motion: reduce) block at the canonical scope (.toolbar-row.row-v1.row-sidebar-chrome). Snap-to-final transitions use 0.001ms rather than none so JS code that listens for transitionend still fires.| Animation | Default | Reduced motion | Token / implementation note |
|---|---|---|---|
| Spatial chrome | |||
| Sidebar strip (rail open / close) | width 0 → 44px · 0.20s / 0.16s · var(--motion-ease-emphasized) |
Snap width instantly · no hover scale · keep hover/active styles | --sidebar-transition-*. RM: transition-duration: 0.001ms for width. |
| Sidebar panel — History / Synced (open / close) | width 0 → 322px · 0.23s / 0.19s · var(--motion-ease-emphasized) |
Snap width instantly · keep panel content fade for swap clarity | --sidebar-panel-transition-*. RM: transition-duration: 0.001ms for width and min-width. |
| Panel content cross-fade (History ↔ Synced) | opacity · 0.13s · var(--motion-ease-standard) |
Unchanged — opacity-only transition is reduced-motion safe | --sidebar-panel-content-transition. No override needed. |
| Address bar dropdown (typed history list) | max-height + content opacity · 0.11s / 0.09s · var(--motion-ease-emphasized). Shadow, padding, border-color, and border-radius snap to their open/closed values. |
Opacity-only fade at 120 ms · max-height resolves instantly | --address-bar-transition-*. RM: content opacity only at 120 ms; max-height snaps (0.001ms if JS needs transitionend). |
| Bookmarks dropdown panel | scale 0.96 → 1 · translateY −4px → 0 · opacity · 0.15s / 0.12s · var(--motion-ease-emphasized) |
Opacity-only at 120 ms · no scale or translate | --dropdown-panel-*. RM: transform: none !important; transition-property: opacity !important; transition-duration: var(--app-submenu-reduced-motion-opacity-duration); transition-timing-function: var(--motion-ease-standard). |
| Application menu dropdown | Same as Bookmarks dropdown (shares --dropdown-panel-* tokens) |
Opacity-only at 120 ms · no scale or translate | Apply the same RM rule as Bookmarks dropdown panel. |
| App menu → History submenu drill | --motion-ease-emphasized on transform · open 185 ms transform · asymmetric opacity (90 / 95 ms) + delays (50 / 20 ms) · back: sub 130 ms / root 150 ms (40 ms root delay) |
Opacity only at 120 ms · transform: none · no delays · root dim/active opacity preserved |
--app-submenu-reduced-motion-opacity-duration: 0.12s · easing var(--motion-ease-standard) · transition-delay: 0s. |
| Hover & press feedback | |||
| Toolbar / sidebar / pinned-tab / app-menu hover | background · 0.10s · var(--motion-ease-standard) |
Unchanged — already a short background fade | --hover-transition. No override needed. |
| Icon press (toolbar buttons + bookmark star) | scale 1 → 0.95 → 1 · press 0.06s · release 0.10s · var(--motion-ease-standard) |
Skip scale · rely on default :active color/background change for feedback |
--responsive-click-icon-*. RM: transform: none !important; transition: none !important. |
| List item hover (history rows, app menu items, sidebar tools) | background / opacity · 0.05s · var(--motion-ease-standard) |
Unchanged — already a 50 ms opacity / color fade | --list-item-hover-transition. No override needed. |
| Decorative & animated content | |||
| Bookmark star | --bookmark-gradient-sweep-ms (950 ms) · --bookmark-star-bloom-* (260 ms, peak 1.13) |
Instant .star-filled · solid #854DFF |
Skip gradient + bloom |
| Bookmark saved toast | Mirrors tab preview · --bookmark-toast-delay-ms (600 ms) · --bookmark-toast-visible-ms (3s) · checkmark draw · toast first 3 saves only |
Opacity fade 120 ms · no scale/translate · no checkmark draw · no toast on re-save | --tab-preview-* + --bookmark-* |
Tab hover preview (#tab-preview) |
500 ms hover delay · 0.13s var(--motion-ease-standard) · scale 0.96 → 1 · translateY −6px → 0 |
0 ms delay · opacity-only fade at 120 ms · no scale or translate | --tab-preview-*. RM: --tab-preview-delay: 0; transition: opacity 0.12s var(--motion-ease-standard); transform: none. |
Easing and durations for the canonical Sidebar / Chrome variant
(.toolbar-row.row-v1.row-sidebar-chrome). Values match the reference prototype in this document and motion-tokens-reference.md.
| Token | Value |
|---|---|
--motion-ease-emphasized | cubic-bezier(0.2, 0, 0, 1) |
--motion-ease-standard | :root · cubic-bezier(0.2, 0.8, 0.2, 1) |
Emphasized — spatial chrome (sidebar strip, panel width, dropdown transform/opacity, Application menu → History drill transform).
Standard — hovers, list rows, panel content cross-fade, tab preview, and drill opacity (--motion-ease-standard on :root so fixed preview resolves the variable).
| Token | Value | ms |
|---|---|---|
--motion-dur-sidebar-enter | 0.20s | 200 |
--motion-dur-sidebar-exit | 0.16s | 160 |
--motion-dur-sidebar-panel-enter | 0.23s | 230 |
--motion-dur-sidebar-panel-exit | 0.19s | 190 |
--motion-dur-sidebar-panel-content-fade | 0.13s | 130 |
--motion-dur-addressbar-enter | 0.11s | 110 |
--motion-dur-addressbar-exit | 0.09s | 90 |
--motion-dur-list-hover | 0.05s | 50 |
--motion-dur-hover | 0.10s | 100 |
--motion-dur-dropdown-panel-enter | 0.15s | 150 |
--motion-dur-dropdown-panel-exit | 0.12s | 120 |
--motion-dur-dropdown-panel-opacity-enter | 0.12s | 120 |
--motion-dur-dropdown-panel-opacity-exit | 0.12s | 120 |
| Area | Token / note | Value |
|---|---|---|
| Sidebar strip | --sidebar-transition-enter / exit | 0.20s / 0.16s · var(--motion-ease-emphasized) · width 0 → 44px |
| History / Synced panel | --sidebar-panel-transition-* | 0.23s / 0.19s · var(--motion-ease-emphasized) · width 0 → 322px |
| Panel content fade | --sidebar-panel-content-transition | 0.13s var(--motion-ease-standard) |
| Panel sequencing | --sidebar-panel-open-duration | 0.23s |
| Address bar | --address-bar-transition-*, --address-bar-content-delay | 0.11s / 0.09s · var(--motion-ease-emphasized) · animates max-height + content opacity · shadow / padding / border-color / border-radius snap · content delay 0s |
| List item hover | --list-item-hover-transition | 0.05s var(--motion-ease-standard) |
| Toolbar hover | --hover-transition | 0.10s var(--motion-ease-standard) |
| Icon press | --responsive-click-icon-* | scale 1 → 0.95 → 1 · press 0.06s · release 0.10s · var(--motion-ease-standard) |
| Dropdown (Bookmarks / App menu) | transform + opacity | 0.15s / 0.12s transform · 0.12s opacity · var(--motion-ease-emphasized) · scale 0.96 → 1 · Y −4px → 0 |
| App menu → submenu | Drill transform · --motion-ease-emphasized · open 185ms · close sub 130ms / root 150ms · asymmetric opacity + delays · travel −8px / 12px · opacity --motion-ease-standard | Aligns in-panel slide with other spatial chrome easing; root dims first, submenu motion and opacity trail slightly; back: sub recedes first, root follows. Reduced motion: opacity-only, no slide. |
| Tab hover preview | --tab-preview-delay + --tab-preview-transition | 500ms delay · 0.13s var(--motion-ease-standard) · scale 0.96 · Y −6px |
| Bookmark star | --bookmark-gradient-sweep-ms · --bookmark-star-bloom-* | Gradient 950ms · bloom 260ms |
| Bookmark saved toast | --tab-preview-transition (enter/exit) · --bookmark-checkmark-draw-* · --bookmark-toast-delay-ms · --bookmark-toast-visible-ms | First 3 bookmark saves only · 600ms after Save · visible 3s · not shown on re-save |
History and Synced panels share --sidebar-panel-*. Bookmarks and Application menu share --dropdown-panel-*. Bookmark star uses --bookmark-gradient-sweep-ms and --bookmark-star-bloom-*. Bookmark saved toast reuses --tab-preview-* for enter/exit; other sequencing tokens are --bookmark-toast-* and --bookmark-checkmark-*.
Application menu → History drill under prefers-reduced-motion: stacked panes use opacity only (no horizontal slide). Duration --app-submenu-reduced-motion-opacity-duration (~120ms).