smooth

fun <T> smooth(duration: Duration = defaultDuration, extraBounce: Float = 0.0f, visibilityThreshold: T? = null): SpringSpec<T>

Creates a smooth spring preset with minimal, gentle overshoot.

Parameters

duration

The perceptual duration of the spring motion. Defaults to 500ms.

extraBounce

Additional bounce to add to the preset base bounce of 0.05f.

visibilityThreshold

Optional threshold below which the animation is considered settled.