Animations & Motion

Isometric Voxel Grid

Reactive terrain grid with 3D elevation on hover.

3dtransformvoxelgridterrain

Props

Customize the component with these props

PropertyTypeDefaultDescription
gridCols
number5Number of columns in the grid
gridRows
number5Number of rows in the grid
backgroundColor
stringbg-zinc-950Background color of the component
perspective
stringperspective-1000CSS perspective value for 3D effect
blockSize
stringw-16 h-16Size of each block
defaultColor
string#1f2937Default color of blocks
hoverColor
string#3b82f6Color of blocks on hover
hoverBorderColor
string#60a5faBorder color of blocks on hover
sideColor
string#18181bColor of the side faces
sideHoverColor
string#1d4ed8Color of the side faces on hover
sideHoverColor2
string#1e40afSecondary color of the side faces on hover
hoverTranslateZ
number40Z-axis translation on hover
rotateX
number60X-axis rotation in degrees
rotateZ
number-45Z-axis rotation in degrees
springStiffness
number300Spring animation stiffness
springDamping
number20Spring animation damping
className
stringAdditional CSS classes
Isometric Voxel Grid - Animations & Motion Component | UILora