GODRICH
#css-animation#button#loader#transition#scroll#dashboard#ui#design-trends

08Unit toggle flip — the card folds over and the display value switches at the 90-degree point once the unit enters a changed state

Once the unit enters a changed state, the card turns from 0 to 180 degrees while the vertical scale value is recomputed from the absolute cosine of the angle, flattening at 90 degrees, where the display switches to the same value recomputed in the new unit before unfolding again — a flip cut rather than an overlapping fade.

Best forA product option that switches weight or volume units, a locale-based unit-toggle form

FACTOR=2.20462Math.cosflipToggle
Unit toggle flip — the card folds over and the display value switches at the 90-degree point once the unit enters a changed state
Open in a new tab

08 Unit toggle flip — the card folds over and the display value switches at the 90-degree point once the unit enters a changed state — Measured area 0.93% · moving frames 12/23Original by GODRICH · SCSS and React ship in the zip · Number Stepper UI: 9 Interaction Patterns

The post this demo lives in

Number Stepper UI: 9 Interaction Patterns - preview of all 9 demosNumber Stepper UI: 9 Interaction PatternsOne stepper shortens its repeat interval the longer it stays pressed, one settles past its limit along a spring curve, a See all demos in this post

If you like this effect - similar demos