---
title: "How Figma put the bounce in spring animations"
description: "Figma's spring animations model motion as a damped spring governed by mass (F = m·a), stiffness (Hooke's law, F = −k·x) and damping (F = −b·v), using WebKit's SpringSolver to compute positions."
url: "https://swe.quest/articles/how-figma-put-the-bounce-in-spring-animations-a56da0c1f43078ba"
canonical: "https://www.figma.com/blog/how-we-built-spring-animations/"
source: "Figma"
published: "2022-06-16"
difficulty: "medium"
kind: "Case study"
reading_minutes: 8
tags: ["product-engineering","frontend","developer-tools"]
---

# How Figma put the bounce in spring animations

A post on [Figma](https://swe.quest/sources/figma.md), published 2022-06-16, 8 min read, Case study. Original: [https://www.figma.com/blog/how-we-built-spring-animations/](https://www.figma.com/blog/how-we-built-spring-animations/)

## Summary

Figma's spring animations model motion as a damped spring governed by mass (F = m·a), stiffness (Hooke's law, F = −k·x) and damping (F = −b·v), using WebKit's SpringSolver to compute positions. Because designers don't think in physics constants, the team collapsed the three parameters into a two-axis handle: horizontal position maps to the oscillation period (mass/stiffness ratio), and vertical position maps to the damping ratio, which controls overshoot. A numerical-optimization approach to fitting the curve to the handle proved unstable and was dropped. A separate duration handle marks when long-tailed bounces end, and spring values export for Framer Motion (mass/damping/stiffness) or react-spring (mass/friction/tension).

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [Product engineering](https://swe.quest/tags/product-engineering.md) (Engineering organization)
- [Frontend](https://swe.quest/tags/frontend.md) (Web & mobile)
- [Developer tools](https://swe.quest/tags/developer-tools.md) (Engineering practices)

## Prerequisites

- basic Newtonian physics
- easing curves

## Keywords

Figma, spring animations, WebKit SpringSolver, Framer Motion, react-spring, damping ratio

## Related posts

- [Making Your React Native Gestures Feel Natural](https://swe.quest/articles/making-your-react-native-gestures-feel-natural-2f601419df32539e.md): Shopify Engineering · 2023-01-20 · Medium · 5 min read · React, Mobile, Frontend
  Draggable UI in React Native feels more natural when gesture end-handling accounts for release velocity, not just finger position.
- [A tale of two parameter architectures—and how we unified them](https://swe.quest/articles/a-tale-of-two-parameter-architectures-and-how-we-unified-them-9ac87b8fbe7bae01.md): Figma · 2025-07-29 · Medium · 11 min read · Design systems, System design, Refactoring & migrations
  Figma replaced the separate architectures behind component properties (scoped, layer-level parameters) and variables (global, library-level parameters) with one parametrization system.
- [How we rebuilt the foundations of component instances](https://swe.quest/articles/how-we-rebuilt-the-foundations-of-component-instances-eee24bf669da62cd.md): Figma · 2026-03-17 · Medium · 9 min read · Frontend, Performance engineering, Refactoring & migrations, System design, Design systems
  Figma replaced its decade-old Instance Updater, a self-contained runtime that resolved component instances and also did its own layout and variable evaluation, with Materializer, a generic framework for deriving subtrees of the document tree from feature-defined blueprints.
- [How We Built the Add to Favorite Animation in Shop](https://swe.quest/articles/how-we-built-the-add-to-favorite-animation-in-shop-145e9cee56a5fe21.md): Shopify Engineering · 2022-03-25 · Medium · 7 min read · Mobile, React, Frontend
  Shop's Add to Favorite animation, where a product thumbnail pops in, scales, and drops into a bouncing heart tab-bar icon, is built in React Native with Reanimated by driving the whole sequence from a single shared progress value that steps through 1, 2, 3 and so on, each step with its own duration and easing from the motion spec.
- [Announcing MotionMark 1.3](https://swe.quest/articles/announcing-motionmark-1-3-9ce06baaebc3841b.md): WebKit · 2024-01-10 · Medium · 2 min read · Browsers, Performance engineering, Web performance
  MotionMark 1.3, Apple's browser graphics benchmark, now detects the browser's requestAnimationFrame frequency and uses it as the target frame rate instead of assuming 60fps.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
