System / Foundations / Motion
07
Motion
Duration and easing values for consistent animation timing, plus the reusable Framer Motion variants built on top of them.
Duration
| Token | Value | Usage | Example |
|---|---|---|---|
| --duration-fast | 150ms | Micro-interactions, toggles, tooltips | |
| --duration-normal | 250ms | Standard transitions, hover states | |
| --duration-slow | 400ms | Page transitions, modals, complex animations | |
| --duration-slower | 600ms | Elaborate entrances, staggered lists |
Easing
| Token | Value | Usage | Example |
|---|---|---|---|
| --ease-in | cubic-bezier(0.4, 0, 1, 1) | Elements leaving the screen | |
| --ease-out | cubic-bezier(0, 0, 0.2, 1) | Elements entering the screen | |
| --ease-in-out | cubic-bezier(0.4, 0, 0.2, 1) | Elements moving across screen | |
| --ease-spring | cubic-bezier(0.34, 1.56, 0.64, 1) | Playful, bouncy interactions |
Animation Variants
Reusable Framer Motion animation variants. Click Replay to see each animation.
Stagger Container
Wrap child elements with staggerContainer and apply staggerItem to each child for sequenced entrance animations.