Kaleidoscope Grid

Four quadrants moving in different directions creating a kaleidoscope effect.

Main Features of Kaleidoscope Grid

How to Use Kaleidoscope Grid in Next.js

Installation Guide for Kaleidoscope Grid

Props

Customize the component with these props

PropertyTypeDefaultDescription
images
string[][]Array of image URLs (minimum 4)
backgroundColor
stringbg-blackBackground color of the component
containerHeight
stringh-[300vh]Height of the container
gridGap
stringgap-4Gap between grid items
gridPadding
stringp-4Padding of the grid
borderRadius
stringrounded-3xlBorder radius of grid items
borderWidth
stringborder-2Border width of grid items
borderColor
stringborder-white/10Border color of grid items
imageScale
stringw-[150%] h-[150%]Scale of images
imageTransform
stringtranslate(-20%, -20%)Transform of images
imageOpacity
number0.8Opacity of images
parallaxDistance
number300Parallax movement distance
cornerLabels
string[]["NORTH-WEST", "", "", "SOUTH-EAST"]Labels for corners
cornerLabelColor
stringtext-whiteColor of corner labels
cornerLabelSize
stringtext-4xlSize of corner labels
centerCircleSize
stringw-20 h-20Size of center circle
centerCircleColor
stringbg-whiteColor of center circle
className
stringAdditional CSS classes

When to Use

Perfect for high-end digital agencies, creative studios, and Next.js applications that want to emphasize multi-faceted visions. Use this React component for an interactive grid that moves in four different directions simultaneously.

Best Practices

Follow React best practices by using at least four distinct images for the quadrants. Maintain scalable component architecture by using high-contrast `cornerLabels` to anchor the design. Optimize for performance in large-scale applications by using clean quadrant-based transforms.

Why This Component Matters in Modern UI Development

Symmetrical, multi-directional motion is visually arresting and feels highly engineered. This production-ready component provide a robust implementation of complex coordinated movement, adding a layer of 'kaleidoscopic' polish to your real-world application architecture.

Frequently Asked Questions

QCan I use more than four images?

The component is optimized for four quadrants, but you can layer multiple Kaleidoscope Grids to create more complex patterns.

QWhat do the corner labels do?

They provide a way to add navigational cues or thematic titles to each quadrant's direction of movement.

QCan I change the gap size?

Yes, the `gridGap` prop allows you to make the quadrants touch seamlessly or have a wide, distinct border.

Kaleidoscope Grid - React Parallax & Scroll Effects | Uilora