Animations & Motion

Pixel Sort

Vertical bar stretch effect that reconstructs the image on scroll.

scrollrevealpixelsortstretch

Props

Customize the component with these props

PropertyTypeDefaultDescription
image
stringhttps://images.unsplash.com/photo-1634152962476-4b8a00e1915c?q=80&w=1000&auto=format&fit=cropImage URL
backgroundColor
stringbg-blackBackground color of the component
containerHeight
stringh-[120vh]Height of the container
imageWidth
stringw-[80vw]Width of the image
imageHeight
stringh-[60vh]Height of the image
scaleYRange
[number, number][50, 1]Y scale range
scaleXRange
[number, number][0.1, 1]X scale range
filterStart
stringblur(10px) contrast(200%)Initial filter value
filterEnd
stringblur(0px) contrast(100%)Final filter value
gradientFrom
stringfrom-blackGradient start color class
gradientTo
stringto-transparentGradient end color class
gradientOpacity
number0.5Opacity of gradient overlay
statusText
stringRECONSTRUCTING_DATA_STREAM...Status text displayed
statusTextColor
stringtext-whiteColor of status text
statusTextSize
stringtext-smSize of status text
scrollOffset
[string, string]["start end", "center center"]Scroll offset configuration
className
stringAdditional CSS classes
Pixel Sort - Animations & Motion Component | UILora