v0.0.1

ScaleIn

Scales and fades content in when it enters the viewport, respecting reduced-motion preferences.

First card
Second card
Third card

Customize

Props

PropTypeDefaultDescription
childrenReactNode—Content to scale in
fromnumber0.9Starting scale, where 1 matches the final size
delaynumber0Delay in milliseconds
durationnumber600Animation duration in milliseconds
oncebooleantrueOnly trigger the first time it enters the viewport
classNamestring—Extra class name

Dependencies

IntersectionObserver