Animations
StaggerChildren
Sequentially animate children with a stagger delay between each.
Quick Preview
Design
Build
Ship
Installation
npm install framer-motion
// Copy fromsrc/components/animations/StaggerChildren.tsx
Examples
Feature list
โUnlimited projects
โPriority support
โTeam collaboration
Prompt Preview
Copy a prompt that recreates this UI
Paste this into your AI coding assistant to generate code that closely matches the reference, including color, size, shape, typography, spacing, and polish.
Copy-ready AI prompt
Starts from the current visual reference and project constraints.
Tweak only product-specific copy or data after the first generation pass.
Props
| Prop | Type | Default | Description |
|---|---|---|---|
children* | React.ReactNode | - | Child elements to stagger |
staggerDelay | number | 0.1 | Delay between each child (seconds) |
delay | number | 0 | Initial delay before stagger starts |
duration | number | 0.5 | Animation duration per child |
whenInView | boolean | false | Trigger when container enters viewport |
once | boolean | true | Only animate once |
yOffset | number | 20 | Y-axis offset for each child |
className | string | - | Wrapper element classes |