Animations & Motion

Isometric Blocks

Isometric city blocks with 3D hover elevation effect.

3dtransformisometricblockscity

Props

Customize the component with these props

PropertyTypeDefaultDescription
gridSize
number9Number of blocks in the grid (n x n)
containerSize
stringw-[500px] h-[500px]Size of the container
backgroundColor
stringbg-[#0a0a0a]Background color of the component
rotateX
number60X-axis rotation in degrees
rotateZ
number-45Z-axis rotation in degrees
gap
stringgap-4Gap between blocks
hoverZ
number80Z-axis translation on hover
defaultColor
string#262626Default color of blocks
hoverColor
string#6366f1Color of blocks on hover
topColor
string#404040Color of the top face
topHoverColor
string#818cf8Color of the top face on hover
sideColor
string#171717Color of the side faces
sideHoverColor
string#4f46e5Color of the side faces on hover
blockSize
stringw-32 h-32Size of each block
springStiffness
number300Spring animation stiffness
springDamping
number20Spring animation damping
className
stringAdditional CSS classes
Isometric Blocks - Animations & Motion Component | UILora