r/JetpackComposeDev • u/Realistic-Cup-7954 • Sep 09 '25
Tutorial Jetpack Compose Spring Animation - Damping Ratio Demo
This demo showcases how different spring damping ratios influence motion in Jetpack Compose. You can interact with each card to see how the animation feels with:
Spring.DampingRatioNoBouncy (1f)
A settings toggle switch : should move smoothly without overshoot for a precise, professional feel.
Spring.DampingRatioLowBouncy (0.75f)
Expanding/collapsing a card in a dashboard : adds a subtle bounce that feels smooth but not distracting.
Spring.DampingRatioMediumBouncy (0.5f)
A floating action button (FAB) expanding into multiple action buttons : bounce makes it feel lively and engaging.
Spring.DampingRatioHighBouncy (0.2f)
A like button animation : big, playful bounce that feels fun and celebratory