Animations & Motion

Chromatic Slip

RGB color separation effect with skew animation on scroll.

scrollrevealchromaticrgbglitch

Props

Customize the component with these props

PropertyTypeDefaultDescription
image
stringhttps://images.unsplash.com/photo-1506744038136-46273834b3fb?q=80&w=1000&auto=format&fit=cropImage URL
backgroundColor
stringbg-blackBackground color of the component
containerHeight
stringh-[120vh]Height of the container
containerWidth
stringw-[80vw]Width of the container
containerHeight2
stringh-[60vh]Height of the inner container
redColor
stringbg-red-600Color of red layer
greenColor
stringbg-green-600Color of green layer
blueColor
stringbg-blue-600Color of blue layer
text
stringIMPACTText displayed
textColor1
stringtext-red-200Color of text on red layer
textColor2
stringtext-green-200Color of text on green layer
textColor3
stringtext-blue-200Color of text on blue layer
textSize
stringtext-9xlSize of the text
xRedRange
[number, number][-200, 0]X range for red layer
xBlueRange
[number, number][200, 0]X range for blue layer
skewRange
[number, number][45, 0]Skew range in degrees
opacityRange
[number, number][0, 1]Opacity range
opacityProgressRange
[number, number][0, 0.8]Opacity progress range
scrollOffset
[string, string]["start end", "center center"]Scroll offset configuration
className
stringAdditional CSS classes
Chromatic Slip - Animations & Motion Component | UILora