Real shipped codeTalent platform · SaaSUX & motion engineering

UX and animation to build a product users want to use.

Polishing the experience is almost never the priority: animation feels like a luxury, visual feedback something to do «later». Yet that is exactly where a product you have to use parts ways with one you want to use. This is the story of a systematic refinement of motion, and I won't just tell it: the demos are live, you can click them.

ClientSeVedemo · Talent platform
RoleProduct Engineer
Duration1 month
StackSolid.js · Motion · Kobalte · Tailwind
01 · Context

Shifting the focus to the user.

After months spent building features, the platform worked, but polishing the experience had never been the priority. Yet a digital product is a physical object too: pop-ups, buttons and modals come from somewhere, react when you touch them, move, leave the stage. Motion is the information that holds them together. It tells you where something comes from, where it goes, what has changed. When it is missing, users struggle more, even if they can't say why.

02 · Problem

Users weren't getting the right responses.

Before writing a single line of CSS I took a census of the existing motion: what moved, with which curve, and what simply vanished. The picture was consistent, in the worst sense: almost everything used the browser defaults, or nothing at all.

1

No visual response. Across the whole app there wasn't a single active state on buttons: pressing produced no reaction. On mobile, or on a slow network, users had no way of knowing whether the click had landed, so they pressed again.

2

Elements that moved unnaturally. Menus, tooltips and popovers expanded from their own centre, materialising in mid-air, detached from the button that was pressed. Drawers came in with the default easing and on close were destroyed instantly. In the ATS the panel emptied out before it even disappeared. Nothing moved the way a real object would.

3

Accessibility and performance. The «reduce motion» preference was ignored or applied at random, items in the collapsed sidebar had no tooltip, long menus overflowed the edge of the screen. And transition-all animated any property, including the ones that force the browser to recalculate layout on every frame.

03 · Results

A few numbers, a big difference under the finger.

162 files gained press feedback thanks to a single shared component
200ms exit for drawers, on the same curve they enter with
0 transition-all left in the code: explicit lists, only properties the GPU animates without recalculating layout

The real result of a refinement doesn't live in a funnel: it lies in the fact that the interface now responds. That's why, a little further down, the case study isn't just something to read: the demos are live, with the same curves and durations that went to production. You can click them.

04 · Solution

Making motion carry information.

The principle behind every change: motion must give information, where something comes from, where it goes, what has changed, and never draw attention to itself. The common thread is a single curve, the one from iOS sheets: it starts decisively and settles softly. Defined once in the tokens, used everywhere.

→

A shared motion vocabulary. Two named curves, ease-drawer for panels and drawers and a strong ease-out for micro-feedback, plus standard durations: 160ms for a press, 200ms for exits, 300ms for layout changes. Decisions are made once, not component by component.

→

Shared components, not pages. Press feedback went into the base button used by 162 files: one change in one place refined the whole app. Same logic for menus, popovers, selects and drawers: fix the source, not the thousand instances.

→

Exits exist. A panel that closes should leave the stage, not be destroyed: the content outlives the close just long enough, 200ms, to slide away on the same curve it came in with. Closing has a direction, it is no longer a hard cut.

05 · Try it yourself

Why talk when you can try?

Motion can't be judged from a screenshot. These five demos recreate the main changes with the real values that went to production: same curves, same durations, same origins. The scenarios are separate: try the before, then the after, and feel the difference.

cubic-bezier(0.32, 0.72, 0, 1) The iOS sheet curve: it starts decisively and settles softly. It is the common thread of every change.
Buttons · press feedback

Now they respond when you press them.

Before

No press feedback: across the whole app there wasn't a single :active state. On mobile, or on a slow network, pressing seemed to do nothing until the screen changed.

After

The shared button, the one used by 162 files, compresses to scale 0.97 while you hold it, in 160ms. A nod, not a jump: the interface heard you.

Demo · press and hold each button real values: 160ms · cubic-bezier(0.23, 1, 0.32, 1)
Before · no reaction press and hold
After · scale 0.97 press and hold
Menus · tooltips · popovers · selects

They grow from the point where you open them.

Before

They appeared by expanding from their own centre, as if materialising in mid-air, detached from the button that was pressed.

After

They expand from their real transform-origin: they seem to grow out of the button you touched.

Demo · click one scenario at a time slowed down and exaggerated to make the starting point visible
Drawers · sheets

The iOS curve, not the default easing.

Before

The browser's generic easing: a slightly mechanical movement that starts and ends flat.

After

The ease-drawer curve: a decisive initial snap and a soft landing. The physical feel of iOS sheets.

Demo · open one, then the other same duration (460ms, slowed down): only the curve changes
Drawers · closing

And now they leave, instead of vanishing.

Before

On close the drawer vanished at once: closing and throwing away the content were the same thing, in the same instant, and the panel was destroyed before it could slide away. In the ATS it was even worse: it left empty.

After

The panel outlives the close just long enough to leave the stage: 200ms on the same curve it came in with, content still in place.

Demo · open, then close each one real duration: 200ms. The whole difference is in the second click
Sidebar

It collapses all in one go.

Before

Collapsing happened in three steps: the icon jumped to the centre, the section title left an empty gap, collapsed items had no tooltip.

After

Bar and content move in unison: the icon stays put, the title folds in height, the label fades. And every collapsed item shows its tooltip.

Demo · click the bar to collapse it bar and content in unison, in 300ms
The content follows the edge of the bar, with no gaps or overlaps.

If you have «reduce motion» turned on, these demos adapt on their own: the fade stays, the movement goes. Exactly like the app does.

06 · Under the hood

Stack, animation curves and how they're implemented.

The stack is Solid.js, with Kobalte for component primitives, popovers, selects, tooltips, accessible and with the right states to animate, and Motion where a transition isn't enough. But the core is the token vocabulary that makes choices repeatable: the values you feel in the demos above are these.

{1}

The vocabulary as design tokens. Two named curves and three standard durations. The difference between a crafted interface and one animated at random is all here: motion decisions are made once, then reused.

DeepDive · the motion tokens CSS
Curves and durations, defined once
:root {
  /* the iOS sheet curve: starts decisively, settles softly */
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
  /* strong ease-out for micro-feedback (press, hover) */
  --ease-out-strong: cubic-bezier(0.23, 1, 0.32, 1);

  --dur-press: 160ms;  /* press feedback */
  --dur-exit: 200ms;   /* exits */
  --dur-layout: 300ms; /* sidebar and layout changes */
}
{2}

Press feedback on the shared button. The independent scale property, not transform: it composes with any transform already on the button without overwriting it. 160ms in and out: a nod, not a jump.

DeepDive · the :active state CSS
One component, 162 files refined
.button {
  transition:
    background-color var(--dur-press) var(--ease-out-strong),
    scale var(--dur-press) var(--ease-out-strong);
}

.button:active {
  scale: 0.97; /* the independent property: leaves the existing transform alone */
}
{3}

The exit that outlives unmounting. A component that unmounts on close leaves nothing to animate. Kobalte primitives handle this on their own: they keep the node alive until the closing animation has finished. For custom panels the pattern is this: closing becomes an intermediate state that keeps panel and content alive for the 200ms of the exit; the real unmount only comes once the transition has finished.

DeepDive · the exit pattern, stripped to the bone CSS · TSX
The closing state drives the transition
.drawer[data-state='open'] {
  transform: translateX(0);
  transition: transform var(--dur-exit) var(--ease-drawer);
}

.drawer[data-state='closing'] {
  transform: translateX(100%); /* same curve as the entrance, in reverse */
  transition: transform var(--dur-exit) var(--ease-drawer);
}
Unmounting waits for the transition to end
const [state, setState] = createSignal<'open' | 'closing' | 'closed'>('open');

// closing doesn't unmount: it goes through the intermediate state
const close = () => setState('closing');

// the content stays in place for the 200ms of the exit;
// only once the transition has finished is the panel really unmounted
const onTransitionEnd = () => {
  if (state() === 'closing') setState('closed');
};
{4}

No more transition-all, and reduced motion as a rule. Explicit property lists: transform and opacity, what the compositor animates without recalculating layout. And with «reduce motion» on, the movement goes and the fade stays: the information «something appeared» is never lost.

DeepDive · the right properties and reduced motion CSS
Less motion, not zero motion
@media (prefers-reduced-motion: reduce) {
  .popover {
    /* the fade stays: something appeared */
    animation: fade-in var(--dur-press) linear;
    /* the movement doesn't */
    transform: none;
  }
}
07 · Challenges

Redesigning state management and generalising the work.

Exits clash with the component lifecycle. A panel unmounted the very instant it closes leaves nothing to animate: that's why drawers vanished at once. To get there I had to reorganise state management, for the better: closing became an explicit state of the component instead of an instantaneous event, keeping panel and content alive for the 200ms of the exit; unmounting only comes once the transition has finished. In the ATS, where the drawer emptied out before it even closed, the same reorganisation fixed that too.

Generalising without breaking anything. The point was never the single component: it was redefining the shared primitives, button, popover, select, drawers, so that every refinement would spread across the whole app on its own and stay maintainable over time. Every change was additive, an active state, a curve in the tokens, never a layout change, and the changes were closed one at a time, with follow-up fixes coming from review and real use. That's how one change in one place refined 162 files.

08 · Before / After

What actually changed.

Before
Files and elements with crafted animations 0
  • No active state anywhere in the app
  • Popovers and menus materialising in mid-air
  • Drawers destroyed instantly, with no exit
  • transition-all everywhere and reduced motion ignored
After
Files and elements with crafted animations 162+
  • scale 0.97 in 160ms on every button, from a single shared component
  • Menus and popovers grow from the point where you open them
  • 200ms exits on the same curve as the entrance
  • Only transform and opacity, and whoever asks for less motion gets it

Build a product your users want to use.

30 minutes in front of your interface: I'll tell you honestly where motion gives information and where it is missing.

Book a 30-minute call   More case studies
Free review of your product.  Book 30 minutes →