Enter Motion
Content that travels into place when it scrolls into view: slide, scale, blur, rotate, tilt or wipe, staggered across its children, scrubbed by the scroll or hidden again after a pause.
pixikit.com/docs/effects/enter-motion
Customize
Distance100px
Direction
Reverse
Duration0.8s
Ease
Initial opacity0.00
Animate opacity
Scale1.00
Blur0px
Rotate0deg
Tilt0deg
Wipe
Threshold0.10
Delay0.0s
Stagger0.00s
Stagger from
Trigger
Once
Scrub
Disappear after0.0s
Disappear duration0.5s
Disappear ease
Props
29| Name | Type | Default | Description |
|---|---|---|---|
children | ReactNode | None | The content to animate. |
container | string | HTMLElement | None | The scroll container that drives the animation, as a selector or an element; the page when not set. |
distance | number | 100 | How far the content travels into place, in pixels. |
direction | "vertical" | "horizontal" | "vertical" | The axis the content travels along. |
reverse | boolean | false | Comes in from the opposite side: from above, or from the left. |
duration | number | 0.8 | Length of the animation, in seconds. |
ease | string | "power3.out" | A GSAP-style ease name, such as 'expo.out', 'back.out(1.7)' or 'elastic.out(1, 0.3)'. |
initialOpacity | number | 0 | The opacity the content starts from. |
animateOpacity | boolean | true | Fades the content in; turn off to keep it fully opaque while it moves. |
scale | number | 1 | The scale the content starts from. |
blur | number | 0 | The blur the content starts from, in pixels; it comes into focus as it lands. |
rotate | number | 0 | The rotation the content starts from, in degrees. |
tilt | number | 0 | Tips the content back in 3D, in degrees, so it flips up into place. |
wipe | "none" | "up" | "down" | "left" | "right" | "center" | "none" | Reveals the content behind a soft moving edge instead of all at once. |
threshold | number | 0.1 | How far into the viewport the top of the content must be before it animates, 0 to 1. |
delay | number | 0 | Wait before the animation starts, in seconds. |
stagger | number | 0 | Animates each direct child in turn, this many seconds apart. |
staggerFrom | "start" | "end" | "center" | "edges" | "random" | "start" | Which child goes first when staggering. |
trigger | "scroll" | "mount" | "scroll" | Animate when the content scrolls into view, or right away. |
once | boolean | true | Plays once; turn off to replay on every entry and reverse on the way out. |
scrub | boolean | number | false | Ties the animation to the scroll position; a number smooths it, in seconds. |
disappearAfter | number | 0 | Hides the content again this many seconds after it appears; 0 keeps it shown. |
disappearDuration | number | 0.5 | Length of the hide animation, in seconds. |
disappearEase | string | "power3.in" | GSAP-style ease of the hide animation. |
onStart | () => void | None | Called when the animation starts. |
onComplete | () => void | None | Called when the animation finishes. |
onDisappearanceComplete | () => void | None | Called when the hide animation finishes. |
className | string | None | |
style | CSSProperties | None |