bouncy

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

Creates a bouncy spring preset with noticeable 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.35f.

visibilityThreshold

Optional threshold below which the animation is considered settled.