+
Title
+
First paragraph, same beat as the title
+
Supporting paragraph
+
CTAs
+
+```
+
+```css
+.stagger > * {
+ --step: 120ms;
+ animation: enter 0.6s ease both;
+ animation-delay: calc(var(--step) * var(--i));
+}
+
+@keyframes enter {
+ from {
+ opacity: 0;
+ transform: translateY(10px);
+ }
+}
+
+@media (prefers-reduced-motion: reduce) {
+ .stagger > * {
+ animation-name: fade;
+ animation-delay: 0ms;
+ }
+ @keyframes fade {
+ from { opacity: 0; }
+ }
+}
+```
+
+- `both` is required. `backwards` applies the first keyframe during the delay, so later items don't flash their final state before they animate. `forwards` keeps the end state.
+- Omitting `to` makes the keyframe animate to the element's own styles.
+- Changing a custom property on a parent recalculates styles for every descendant. That's fine for a one-shot entrance, but don't drive per-frame values (a drag) through an inherited variable on a large tree.
+
+## Overlap: Motion variants with a non-uniform stagger
+
+```tsx
+import { motion, stagger } from "motion/react";
+
+const list = {
+ hidden: {},
+ show: {
+ transition: {
+ // Delays shrink as the group goes on, so it reads as a wave, not a metronome
+ delayChildren: stagger(0.06, { ease: "easeOut" }),
+ },
+ },
+};
+
+const lead = {
+ hidden: { opacity: 0, y: 12 },
+ show: { opacity: 1, y: 0, transition: { duration: 0.5, ease: [0.23, 1, 0.32, 1] } },
+};
+
+const support = {
+ hidden: { opacity: 0, y: 6 },
+ show: { opacity: 1, y: 0, transition: { duration: 0.4, ease: [0.23, 1, 0.32, 1] } },
+};
+
+const decoration = {
+ hidden: { opacity: 0 },
+ show: { opacity: 1, transition: { duration: 0.3 } },
+};
+
+