Flow Kit LogoFlow Kit

Stagger Reveal

Animate children with staggered entrance animations. Perfect for lists, navigation items, or text reveals.

Examples

Items

Text

Installation

npm install motion

API Reference

StaggerReveal

PropTypeDefaultDescription
variant"items" | "text""items"Animation mode - items wraps children, text splits string
by"character" | "word""character"(text variant) How to split the text
direction"up" | "down" | "left" | "right""up"Direction elements animate from
staggerDelaynumber0.05Delay in seconds between each element
staggerFrom"first" | "last" | "center""first"Which element animates first
triggerbooleantrueControls when animation starts
transitionTransitionspring configMotion transition configuration
asElementType"div"Wrapper element type

StaggerRevealItem

A sub-component for custom item control within the stagger animation.

PropTypeDefaultDescription
childrenReact.ReactNodeRequiredContent to animate
classNamestringundefinedAdditional CSS classes