Animations & Motion

Fracture Assembler

Grid fragments assemble from random 3D positions into a complete image.

scrollrevealfracture3dgrid

Props

Customize the component with these props

PropertyTypeDefaultDescription
image
stringhttps://images.unsplash.com/photo-1614850523459-c2f4c699c52e?q=80&w=1000&auto=format&fit=cropImage URL
rows
number5Number of rows in the grid
cols
number5Number of columns in the grid
backgroundColor
stringbg-neutral-900Background color of the component
containerHeight
stringh-[200vh]Height of the container
gridWidth
stringw-[800px]Width of the grid
gridHeight
stringh-[600px]Height of the grid
perspective
stringperspective-[1000px]CSS perspective value
gap
stringgap-0.5Gap between grid cells
offsetRange
number1500Range of random offset
zOffsetRange
number1000Range of Z offset
scrollProgressRange
[number, number][0, 0.8]Scroll progress range
opacityRange
[number, number][0, 1]Opacity range
opacityProgressRange
[number, number][0, 0.5]Opacity progress range
text
stringASSEMBLEText displayed
textColor
stringtext-whiteColor of the text
textSize
stringtext-7xlSize of the text
textProgressRange
[number, number][0.7, 1]Text progress range
scrollOffset
[string, string]["start end", "end end"]Scroll offset configuration
className
stringAdditional CSS classes
Fracture Assembler - Animations & Motion Component | UILora