Desktop optimized

Please maximize your browser window or use a larger screen to explore the component library.

Go to home

Kaleidoscope Trail

A geometrically mapped mouse trail that mirrors spawned elements around the center axis, creating mesmerizing, symmetrical kaleidoscope mandalas based on cursor position.

Last Modified:Aug 17, 2026

Install

CLI

kaleidoscope-trail
$pnpm dlx shadcn@latest add https://ui.satisium.com/r/kaleidoscope-trail.json

Or install a specific demo variant:

kaleidoscope-trail-avatars-demo
$pnpm dlx shadcn@latest add https://ui.satisium.com/r/kaleidoscope-trail-avatars-demo.json

Or install a specific demo variant:

kaleidoscope-trail-images-demo
$pnpm dlx shadcn@latest add https://ui.satisium.com/r/kaleidoscope-trail-images-demo.json

Manual

1. Add Source Code

Note: This component utilizes pure DOM manipulation and RequestAnimationFrame logic. No external libraries are required.

Props

PropTypeDefaultDescription
imageUrlsstring[][]Array of image URLs to randomly spawn.
distancenumber40Distance the pointer must move (in pixels) before spawning a new cluster.
durationnumber2000The total lifespan of a spawned item in milliseconds.
maxGroupsnumber12Maximum number of clusters on screen before forcing the oldest to exit.
mirrorsnumber6How many reflections to create around the center (e.g., 6 = Hexagon).
itemSizenumber90The base pixel size of the image cards.
classNamestringundefinedStandard Tailwind classes for the fixed wrapper.
itemClassNamestring""Standard Tailwind classes applied to the individual image wrappers.