Utilities
Springs
Shared spring configs for physics-based motion.
Install
npx remotion-ui@latest add springsimport { springSmooth, springSnappy, springBouncy } from "@/remotion/lib/springs";
const progress = spring({
frame,
fps,
config: springSnappy,
durationInFrames: 30,
});| Token | Feel |
|---|---|
springSmooth | Subtle, no overshoot — highlights, wipes |
springSnappy | Quick pop — spring-in |
springBouncy | Playful overshoot |