Loading source
Pulling the file list, source metadata, and syntax-aware rendering for this listing.
Source from repo
Living wiki of UI design patterns and best practices built with Fumadocs, Next.js, and Base UI components.
Files
Skill
Size
Entrypoint
Format
Open file
Syntax-highlighted preview of this file as included in the skill package.
rules/physics-spring-for-overshoot.md
1---2title: Springs for Overshoot and Settle3impact: HIGH4impactDescription: Easing cannot produce natural overshoot; springs are required for organic bounce-and-settle motion.5tags: physics, spring, overshoot6---78## Springs for Overshoot and Settle910Use springs (not easing) when overshoot-and-settle is needed.1112**Incorrect (easing for bounce):**1314```tsx15<motion.div transition={{ duration: 0.3, ease: "easeOut" }} />16// When element should bounce/settle17```1819**Correct (spring physics):**2021```tsx22<motion.div transition={{ type: "spring", stiffness: 500, damping: 30 }} />23```24