Skip to content
PixiKit

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
NameTypeDefaultDescription
childrenReactNodeNoneThe content to animate.
containerstring | HTMLElementNoneThe scroll container that drives the animation, as a selector or an element; the page when not set.
distancenumber100How far the content travels into place, in pixels.
direction"vertical" | "horizontal""vertical"The axis the content travels along.
reversebooleanfalseComes in from the opposite side: from above, or from the left.
durationnumber0.8Length of the animation, in seconds.
easestring"power3.out"A GSAP-style ease name, such as 'expo.out', 'back.out(1.7)' or 'elastic.out(1, 0.3)'.
initialOpacitynumber0The opacity the content starts from.
animateOpacitybooleantrueFades the content in; turn off to keep it fully opaque while it moves.
scalenumber1The scale the content starts from.
blurnumber0The blur the content starts from, in pixels; it comes into focus as it lands.
rotatenumber0The rotation the content starts from, in degrees.
tiltnumber0Tips 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.
thresholdnumber0.1How far into the viewport the top of the content must be before it animates, 0 to 1.
delaynumber0Wait before the animation starts, in seconds.
staggernumber0Animates 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.
oncebooleantruePlays once; turn off to replay on every entry and reverse on the way out.
scrubboolean | numberfalseTies the animation to the scroll position; a number smooths it, in seconds.
disappearAfternumber0Hides the content again this many seconds after it appears; 0 keeps it shown.
disappearDurationnumber0.5Length of the hide animation, in seconds.
disappearEasestring"power3.in"GSAP-style ease of the hide animation.
onStart() => voidNoneCalled when the animation starts.
onComplete() => voidNoneCalled when the animation finishes.
onDisappearanceComplete() => voidNoneCalled when the hide animation finishes.
classNamestringNone
styleCSSPropertiesNone

More interaction effects in Pro

View all

Related