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/easing-for-state-change.md
1---2title: Easing for System State Changes3impact: HIGH4tags: easing, state-change, system5---67## Easing for System State Changes89System-initiated state changes should use easing curves.1011**Incorrect (spring for announcement):**1213```tsx14<motion.div15animate={{ y: 0 }}16transition={{ type: "spring" }}17/>18```1920**Correct (easing for announcement):**2122```tsx23<motion.div24animate={{ y: 0 }}25transition={{ duration: 0.2, ease: "easeOut" }}26/>27```28