MeasingsSee, tune and export easings

Spring snappy ease

Spring snappy is a spring: a damped oscillation tied to real time, described by bounce and a perceived duration. This preset uses bounce 0.15 with a perceived duration of 300 ms. GSAP has no built-in ease with this exact shape, so the code uses CustomEase.

Measings shows it on real UI animations and lets you fine-tune the curve before you copy the code.

Code

GSAP CustomEase

gsap.registerPlugin(CustomEase);
CustomEase.create("springSnappy", "M0,0 C0.0104,0 0.0208,0.0303 0.0313,0.073 C0.0417,0.1157 0.0521,0.1711 0.0625,0.2287 C0.0833,0.344 0.1042,0.466 0.125,0.5654 C0.1458,0.6648 0.1667,0.7438 0.1875,0.803 C0.2083,0.8621 0.2292,0.9021 0.25,0.9302 C0.2917,0.9864 0.3333,0.998 0.375,1.0033 C0.4167,1.0086 0.4583,1.0061 0.5,1.0046 C0.5833,1.0017 0.6667,1.0003 0.75,1.0001 C0.7917,1 0.8333,1 0.875,1 C0.8958,1 0.9167,1 0.9375,1 C0.9479,1 0.9583,1 0.9688,1 C0.974,1 0.9792,1 0.9844,1 C0.987,1 0.9896,1 0.9922,1 C0.9935,1 0.9948,1 0.9961,1 C0.9967,1 0.9974,1 0.998,1 C0.9987,1 0.9993,0.999 1,1");

gsap.to(".box", { x: 200, duration: 0.66, ease: "springSnappy" });

CSS linear()

transition-timing-function: linear(0, 0.0057 0.8%, 0.0233 1.67%, 0.0527 2.6%, 0.0934 3.6%, 0.1343 4.47%, 0.1824 5.4%, 0.4234 9.73%, 0.5346 11.87%, 0.592 13.07%, 0.6421 14.2%, 0.6883 15.33%, 0.7304 16.47%, 0.7705 17.67%, 0.8081 18.93%, 0.8411 20.2%, 0.8698 21.47%, 0.8958 22.8%, 0.9178 24.13%, 0.9371 25.53%, 0.9544 27.07%, 0.9755 29.6%, 0.9908 32.47%, 1.0004 35.73%, 1.0053 39.67%, 1.0061 44.93%, 1.0005 67.8%, 1);
transition-duration: 0.66s;

CSS has no built-in curve of this shape, so it is sampled into linear(), which works in all current browsers.

Tailwind

ease-[linear(0,0.0057_0.8%,0.0233_1.67%,0.0527_2.6%,0.0934_3.6%,0.1343_4.47%,0.1824_5.4%,0.4234_9.73%,0.5346_11.87%,0.592_13.07%,0.6421_14.2%,0.6883_15.33%,0.7304_16.47%,0.7705_17.67%,0.8081_18.93%,0.8411_20.2%,0.8698_21.47%,0.8958_22.8%,0.9178_24.13%,0.9371_25.53%,0.9544_27.07%,0.9755_29.6%,0.9908_32.47%,1.0004_35.73%,1.0053_39.67%,1.0061_44.93%,1.0005_67.8%,1)]

Webflow

In Interactions, choose a custom ease and paste this path:

M0,0 C0.0104,0 0.0208,0.0303 0.0313,0.073 C0.0417,0.1157 0.0521,0.1711 0.0625,0.2287 C0.0833,0.344 0.1042,0.466 0.125,0.5654 C0.1458,0.6648 0.1667,0.7438 0.1875,0.803 C0.2083,0.8621 0.2292,0.9021 0.25,0.9302 C0.2917,0.9864 0.3333,0.998 0.375,1.0033 C0.4167,1.0086 0.4583,1.0061 0.5,1.0046 C0.5833,1.0017 0.6667,1.0003 0.75,1.0001 C0.7917,1 0.8333,1 0.875,1 C0.8958,1 0.9167,1 0.9375,1 C0.9479,1 0.9583,1 0.9688,1 C0.974,1 0.9792,1 0.9844,1 C0.987,1 0.9896,1 0.9922,1 C0.9935,1 0.9948,1 0.9961,1 C0.9967,1 0.9974,1 0.998,1 C0.9987,1 0.9993,0.999 1,1

Related easings

See how Spring snappy measures up against all 91 easings in the easing comparison: progress over time, overshoot and peak speed.

Browse all 91 easings in Measings