Chromatic Slip

RGB color separation effect with skew animation on scroll.

Main Features of Chromatic Slip

How to Use Chromatic Slip in Next.js

Installation Guide for Chromatic Slip

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

When to Use

Excellent for tech brands, digital art portfolios, and Next.js applications that want to emphasize a high-energy, digital aesthetic. Use this React component when building 'impact' sections where you want to reveal content through an RGB color separation effect.

Best Practices

Follow React best practices by ensuring the `skewRange` is not so extreme that it breaks the layout or makes text unreadable. Maintain scalable component architecture by using the separate color layering props to stay within your brand guidelines. Optimize for performance by triggering the slip effect only once as the user reaches the trigger point.

Why This Component Matters in Modern UI Development

Chromatic aberration is a hallmark of modern frontend development style. This production-ready component helpsคุณ build an interface that feels like it's part of a high-tech data stream, adding semantic authority and visual premium to your real-world application architecture.

Frequently Asked Questions

QCan I customize the color separation channels?

Yes, you have full control over the `redColor`, `greenColor`, and `blueColor` props to create custom color profiles like CMYK or mono-tonal shifts.

QDoes it work with any font?

Yes, the chromatic slip is applied to the container, so any typography you place inside will benefit from the RGB separation effect.

QIs it responsive?

Absolutely! The container width and height are fully customizable and support responsive Tailwind classes.

Chromatic Slip - React Scroll Reveal Animations | Uilora