Animations & Motion

Broken Shard Gallery

Images explode outward from center into a chaotic gallery layout.

parallaxexplosiongalleryscroll

Props

Customize the component with these props

PropertyTypeDefaultDescription
images
string[][]Array of image URLs
positions
Array<{x: number, y: number, r: number}>[]Array of position configurations
backgroundColor
stringbg-neutral-900Background color of the component
containerHeight
stringh-[300vh]Height of the container
cardWidth
stringw-64Width of each card
cardHeight
stringh-80Height of each card
text
stringDisintegrateText displayed
textColor
stringtext-whiteColor of the text
textSize
stringtext-6xlSize of the text
textFadeRange
[number, number][0, 0.2]Text fade progress range
textScaleRange
[number, number][1, 3]Text scale range
scaleRange
[number, number, number][1, 0.8, 1.2]Card scale range
className
stringAdditional CSS classes
Broken Shard Gallery - Animations & Motion Component | UILora