Parallax Slits

Vertical columns that move in alternating directions creating a shredder effect.

Main Features of Parallax Slits

How to Use Parallax Slits in Next.js

Installation Guide for Parallax Slits

Props

Customize the component with these props

PropertyTypeDefaultDescription
images
string[][]Array of image URLs
columns
number12Number of columns
backgroundColor
stringbg-blackBackground color of the component
containerHeight
stringh-[250vh]Height of the container
scrollDistance
number400Scroll distance for parallax
borderColor
stringborder-black/50Border color between columns
section1Bg
stringbg-zinc-800Background color of first section
section2Bg
stringbg-zinc-900Background color of second section
section2BorderColor
stringborder-red-500Border color of second section
imageOpacity
number0.6Opacity of images
text
stringFragmentationText displayed
textColor
stringtext-4xlColor class of the text
textSize
stringtext-4xlSize of the text
textBgColor
stringbg-whiteBackground color of text container
className
stringAdditional CSS classes

When to Use

Ideal for editorial portfolios, modern agency sites, and experimental Next.js landing pages. Use this React component to create a 'shredder' effect where vertical slices of an image move in alternating directions.

Best Practices

Follow React best practices by provide high-resolution images that won't look blurry when shredded into columns. Maintain scalable component architecture by using a reasonable `columns` count (e.g., 8-16). Optimize for performance in large-scale applications by using CSS-based parallax math.

Why This Component Matters in Modern UI Development

Vertical fragmentation adds a sense of rhythm and digital texture to an interface. This customizable UI component gives you a production-level tool for building high-energy, fragmented layouts that add polish to your real-world application architecture.

Frequently Asked Questions

QHow many columns works best?

Between 10 and 16 columns usually creates the most striking 'shredder' effect without being too busy.

QCan I move the columns horizontally?

No, this specific component is designed for coordinated vertical parallax, creating a unique 'slot machine' movement.

QIs the background color visible?

Yes, the `backgroundColor` peaks through between the shredded columns, adding depth and contrast.

Parallax Slits - React Parallax & Scroll Effects | Uilora