← Back to prioritiesTooltipAccordionTabsPopoverCalloutFlyoutCombo boxTable

Elastic UI · Design research

Motion refresh design research project

← → switch slides  ·  T light / dark  ·  use the menu on the left to open each page

1 / 4

02 · Motion groups

Motion groups

Every component falls into one group. Two are defined so far; the other five are still to define.

1Layer in motionDefined2Reveal in motionDefined3IndicatorTo define4SwapTo define5Direct manipulationTo define6LoopTo define7Press, hover, focusTo define
What it isSits on top of the page; nothing else movesTakes space; the layout around it makes roomOne mark moves or changes state; the content does not moveContent is replaced in placeThe element follows the pointerContinuous status that never settlesImmediate feedback on interaction
Examples
  • Popover
  • Tooltip
  • Modal
  • Flyout (overlay, not pushed)
  • Context menu
  • Combo box dropdown
  • Toast
  • Accordion opening
  • Flyout (pushed)
  • Side panel
  • Table row expand
  • Callout reveal
  • Combo box adding pills
  • Tabs
  • Button group
  • Switch
  • Radio
  • Checkbox
  • Active side nav item
  • Callout replaced by another
  • Tab panel content
  • Skeleton to content
  • Text change
  • Drag and drop
  • Resizable panels
  • Sliders
  • Spinner
  • Shimmering text
  • Dots loader
  • Elastic loader
  • Progress
  • Skeleton shimmer
  • Beacon
  • Countdown
  • Buttons
  • Links
  • Rows
  • Form fields
Motion ideaFade in with a small drift; faster fade outSize grows first, content fades in behind; settles with resistanceThe mark slides, grows or is drawn; colors stay EUI'sCrossfade in place, with no height jumpNo easing while dragging; settles on releaseTime-based; needs a linear curveColor only, at extraFast
SlideOpen the slide →Open the slide →Not yetNot yetNot yetNot yetNot yet
2 / 4

03 · Layer in motion

Layer in motion

Sits on top of the page. Nothing else moves.

Examples (click one to play it)

Context menuCombo box dropdownToast

How it works

  • Sits on top of the page; nothing else moves
  • Enter: fade plus a small drift from its origin
  • Exit: faster than enter, fade only
  • Size picks the speed: small is fast, large is slow
Open question: does bounce suit small layers like tooltips, or only large ones?
Menu ▾
3 / 4

04 · Reveal in motion

Reveal in motion

Takes space in the page. Everything around it makes room.

Examples (click one to play it)

Flyout (pushed)Combo box adding pills

How it works

  • Takes space; the layout around it makes room
  • Enter: size grows first, content fades in behind
  • Exit mirrors enter, a little faster
  • Settles with resistance, no overshoot
Open question: should the content stagger behind the container, and by how much?
4 / 4

EUI animation tokens

Available as euiTheme.animation.*. Two kinds: speed tokens (how long) and easing tokens (how it feels while moving). Values below are the defaults in the Borealis theme.

Priorities: where to start

Each link opens a page with only that component's playground: the real EUI component with the current behavior on the left (fixed) and the same component on the right, where you can change the speed and easing, or add an animation where EUI has none. Use the chips at the top of that page to jump between them, or the link back to return here.

Your picks

  • TooltipYour pickHard-coded ease-out and an instant exit. Proposal: a reveal that rises and settles.2,000+ Kibana files (search count looks capped)Open playground →
  • AccordionYour pickHeight animates but the arrow snaps. Proposal: arrow and content move with the height.334 Kibana filesOpen playground →
  • TabsYour pickThe active underline jumps. Proposal: slide one indicator between tabs.145 Kibana filesOpen playground →

Suggested by usage

  • PopoverA slow bounce on every dropdown. Retune the speed and easing.763 Kibana files (includes popover parts)Open playground →
  • CalloutAppears and dismisses instantly, so the layout jumps.670 Kibana filesOpen playground →
  • FlyoutAnimates in but vanishes on close; the side panel has no animation.662 Kibana files (includes flyout parts)Open playground →
  • Combo boxPills and options snap in and out.471 Kibana filesOpen playground →
  • TableHard-coded 1s loading line; rows change with little feedback.425 Kibana filesOpen playground →

Usage is the number of files in the elastic/kibana repository that reference the component, from GitHub code search. It is approximate, counts files rather than instances, and prefix matches include sub-components.

New proposed treatments

1. Speeds: how long a change takes

Every dot travels the same distance with a neutral ease-out, so the only difference is duration. Rule of thumb: the bigger or more significant the change, the slower the token.

2. Easings: the character of the motion

Easing is the acceleration curve. The graph shows progress (vertical) over time (horizontal).

bounce

cubic-bezier(.34, 1.61, .7, 1)

Overshoots the target (the curve rises above 100%) and settles back. Playful, draws attention. Good for things that "pop" in: toasts, badges, success states.

resistance

cubic-bezier(.32, .72, 0, 1)

Starts fast, then slows heavily, like pushing against friction. Never overshoots. Feels responsive and solid. Good for panels, flyouts and anything that slides in.

3. Playground: every component that uses the tokens

These are the actual @elastic/eui components (v123, Borealis theme). Each sits in its own EuiThemeProvider that remaps the animation tokens that component reads, so you can set speed and easing per component. Trigger the component again after changing its tokens. Jump to one:

4. Components that don't use the tokens

From a scan of the installed @elastic/eui v123 component code. The "already use tokens" and "motion without tokens" groups are verified; the benefit column is design judgment, not from the EUI docs.

Already use animation tokens

Their styles read euiTheme.animation.*, so they respond to theme changes.

flyoutmodalpopovertooltiptoastoverlay maskbottom barcontext menuaccordionside navstepsresizable containerpanelcarddatagridtabledrag and dropdate pickerbadgeiconprogressloadingimagekey pad menulist groupform controlstour (via popover)collapsible nav (via flyout and accordion)

Animate, but not with tokens

These have their own hard-coded durations or easings.

  • BeaconPulse loops at 2.5s ease-out, with a 0.25s delay on the small ring.needs a loop speed
  • Stat (loading)Pulse loops at 1.5s ease-in-out.needs a loop speed
  • Loading spinner, chart, elastic0.6s linear spin; 1s chart and elastic loops. The loading logo uses only the easing token, with a fixed 1s.needs a loop speed
  • SkeletonShimmer is a fixed 1.5s; only the easing is a token.needs a loop speed
  • Basic table loading line1s linear infinite.needs a loop speed
  • Indeterminate progressFixed 1s loop; only the easing is a token.needs a loop speed
  • Toast countdown barLinear over the toast's lifetime. Linear is intentional here, so not a candidate.keep as is
  • Tooltip, resizable container, data grid, date picker, badge, icon, list group, checkable cardUse the speed tokens but hard-code or default the easing. Their playgrounds are in section 3 with an easing override: Tooltip Resizable container Data grid Date picker Badge Icon List group Checkable card Drag and dropneeds a standard easing

Playgrounds

The real components with their hard-coded loops. Speed and easing here are demo overrides, not EUI tokens.

No motion at all, could benefit

No transition or animation in their code. Suggested tokens in the right column.

  • ButtonHover, press and focus states change with no transition.extraFast + resistance
  • TabsThe active tab and its underline jump instead of sliding or fading.fast + resistance
  • Tree viewNodes expand and collapse instantly; could match the accordion.normal + resistance
  • Callout and bannerAppear and dismiss instantly; could collapse height and fade. Open playgroundnormal + resistance
  • Combo box and selectablePills and options are added, removed and highlighted with no transition.fast + resistance
  • Pagination, filter group, facetSelected-state changes snap.fast + resistance
  • Inline editSwitching between read and edit mode is instant; could crossfade.fast + resistance
  • Button groupThe selected button only changes color; no motion marks the new selection.fast + resistance
  • Flyout and modal exitBoth animate in but vanish on close (the flyout push padding also jumps).normal + resistance

Correction: I earlier listed the tour and the collapsible nav here. The tour opens each step as a popover, so it already uses the popover tokens (and a token delay on its beacon), and the collapsible nav is a flyout whose groups use the accordion, so both are already token-driven.

Playgrounds: now vs proposed

Each pairs the real component as shipped (left) with the same component plus a proposed motion (right). The proposal is added by the demo; it is not EUI behavior. Speed and easing only change the right side.

Probably fine static: layout and text helpers such as flex, spacer, title, text, aspect ratio, accessibility, i18n and portal.

Reduced motion: EUI exports euiCanAnimate (@media (prefers-reduced-motion: no-preference)). Wrap transitions in it so users who opt out of motion get none. This page respects that setting too.