useAnimatable

fun <T> ComponentScope.useAnimatable(initialValue: T, typeConverter: TypeConverter<T>, label: String = ""): Animatable<T>

Creates an Animatable for imperative animation control.

Use this when animation should be triggered directly from a callback instead of being inferred from a target value during render.