Tabotabo Motion
data class TabotaboMotion(val enabled: Boolean = true, val typewriterCharDelay: Duration = 35.milliseconds, val highlightMillis: Int = 250, val crossfadeMillis: Int = 200, val popIn: FiniteAnimationSpec<Float> = spring(dampingRatio = 0.7f, stiffness = Spring.StiffnessMediumLow), val celebrate: FiniteAnimationSpec<Float> = spring(dampingRatio = Spring.DampingRatioHighBouncy))(source)
Animation tokens. All animations use Compose's own APIs; no extra libraries.
Constructors
Link copied to clipboard
constructor(enabled: Boolean = true, typewriterCharDelay: Duration = 35.milliseconds, highlightMillis: Int = 250, crossfadeMillis: Int = 200, popIn: FiniteAnimationSpec<Float> = spring(dampingRatio = 0.7f, stiffness = Spring.StiffnessMediumLow), celebrate: FiniteAnimationSpec<Float> = spring(dampingRatio = Spring.DampingRatioHighBouncy))
Properties
Link copied to clipboard
Scale spec of a celebratory bounce.
Link copied to clipboard
Duration of fades between states.
Link copied to clipboard
Duration of outline / glow / color changes on highlight.
Link copied to clipboard
Scale spec of a value "popping" in.
Link copied to clipboard
Delay per character of a typewriter reveal.