timingFunctions
const timingFunctions: {
Variable: timingFunctions
const timingFunctions: {
cos: TimingFunction;
easeInBack: TimingFunction;
easeInBounce: TimingFunction;
easeInCirc: TimingFunction;
easeInCubic: TimingFunction;
easeInElastic: TimingFunction;
easeInExpo: TimingFunction;
easeInOutBack: TimingFunction;
easeInOutBounce: TimingFunction;
easeInOutCirc: TimingFunction;
easeInOutCubic: TimingFunction;
easeInOutElastic: TimingFunction;
easeInOutExpo: TimingFunction;
easeInOutQuad: TimingFunction;
easeInOutQuart: TimingFunction;
easeInOutQuint: TimingFunction;
easeInOutSine: TimingFunction;
easeInQuad: TimingFunction;
easeInQuart: TimingFunction;
easeInQuint: TimingFunction;
easeInSine: TimingFunction;
easeOutBack: TimingFunction;
easeOutBounce: TimingFunction;
easeOutCirc: TimingFunction;
easeOutCubic: TimingFunction;
easeOutElastic: TimingFunction;
easeOutExpo: TimingFunction;
easeOutQuad: TimingFunction;
easeOutQuart: TimingFunction;
easeOutQuint: TimingFunction;
easeOutSine: TimingFunction;
linear: TimingFunction;
sin: TimingFunction;
};Defined in: packages/motion/src/Timing.ts:321
Every built-in easing, by name — the lookup behind the string form.
Type Declaration
cos
cos: TimingFunction;One full cosine cycle: 1 → 0 → 1.
Remarks
sin phase-shifted: starts at the far end, dips, and comes back. Also periodic, so it does not end at 1.
easeInBack
easeInBack: TimingFunction;The ready-made overshoot and oscillation curves, at their canonical
parameters — Back anticipates past the target, Elastic rings like a
string, Bounce rebounds like a dropped ball.
Remarks
These are how you get spring-LIKE character in a fixed, known duration.
For real physics whose length emerges from the simulation, use Physics.
See
createEaseInBack, createEaseInElastic, createEaseOutBounce to tune the parameters.
easeInBounce
easeInBounce: TimingFunction;easeInCirc
easeInCirc: TimingFunction;The Circ family — a quarter-circle arc. Sharper at the ends than the polynomials, with a distinctly mechanical, geometric feel.
See
TimingFunction for choosing among the families.
easeInCubic
easeInCubic: TimingFunction;easeInElastic
easeInElastic: TimingFunction;easeInExpo
easeInExpo: TimingFunction;The Expo family — the most extreme of the smooth curves: near-motionless at the slow end, very fast at the other. For dramatic arrivals and exits.
See
TimingFunction for choosing among the families.
easeInOutBack
easeInOutBack: TimingFunction;easeInOutBounce
easeInOutBounce: TimingFunction;easeInOutCirc
easeInOutCirc: TimingFunction;easeInOutCubic
easeInOutCubic: TimingFunction;easeInOutElastic
easeInOutElastic: TimingFunction;easeInOutExpo
easeInOutExpo: TimingFunction;easeInOutQuad
easeInOutQuad: TimingFunction;easeInOutQuart
easeInOutQuart: TimingFunction;easeInOutQuint
easeInOutQuint: TimingFunction;easeInOutSine
easeInOutSine: TimingFunction;easeInQuad
easeInQuad: TimingFunction;The polynomial families, from gentlest to most pronounced: Quad (t²), Cubic (t³), Quart (t⁴), Quint (t⁵). Cubic is the everyday workhorse.
See
TimingFunction for choosing among the families.
easeInQuart
easeInQuart: TimingFunction;easeInQuint
easeInQuint: TimingFunction;easeInSine
easeInSine: TimingFunction;The Sine family — the gentlest easing. Barely-there acceleration, for motion that should feel eased without drawing attention.
See
TimingFunction for choosing among the families.
easeOutBack
easeOutBack: TimingFunction;easeOutBounce
easeOutBounce: TimingFunction;easeOutCirc
easeOutCirc: TimingFunction;easeOutCubic
easeOutCubic: TimingFunction;easeOutElastic
easeOutElastic: TimingFunction;easeOutExpo
easeOutExpo: TimingFunction;easeOutQuad
easeOutQuad: TimingFunction;easeOutQuart
easeOutQuart: TimingFunction;easeOutQuint
easeOutQuint: TimingFunction;easeOutSine
easeOutSine: TimingFunction;linear
linear: TimingFunction;No easing: constant speed from start to finish.
Remarks
The default when no timing is given. Right for continuous motion that neither starts nor stops on screen; abrupt for anything that does.
See
TimingFunction for choosing among the families.
sin
sin: TimingFunction;One full sine cycle: 0 → 1 → 0.
Remarks
Periodic, so it deliberately RETURNS to its starting value instead of ending at 1 — a tween using it finishes where it began. That makes it a there-and-back helper (a pulse, a sway), not a transition between two states.
Remarks
You rarely touch this directly: passing "easeOutCubic" to an animator
resolves through it. Useful for building a curve picker, or iterating the
whole set.