Tilt Wall
A tilted 3D wall of image tiles whose columns drift past each other; it leans toward the pointer and the hovered tile lifts and lights up.
pixikit.com/docs/components/tilt-wall
Customize
Columns5
Tile width200px
Tile height132px
Gap18px
Radius14px
Tilt16°
Turn-14°
Roll0°
Perspective1200px
Depth120px
Speed42
Direction
Variance0.45
Parallax0.60
Pause on hover
Lift64px
Fade0.60
Dim0.55
Grayscale
Overlay color
Props
22| Name | Type | Default | Description |
|---|---|---|---|
items | TiltWallItem[] | DEFAULT_ITEMS | The tiles: an image, and optionally a title and a link. |
columns | number | 5 | Number of drifting columns. |
tileWidth | number | 200 | Width of each tile, in pixels. |
tileHeight | number | 132 | Height of each tile, in pixels. |
gap | number | 18 | Space between tiles and columns, in pixels. |
radius | number | 14 | Corner radius of each tile, in pixels. |
tilt | number | 16 | Pitch of the wall, in degrees. |
turn | number | -14 | Yaw of the wall, in degrees. |
roll | number | 0 | In-plane rotation of the wall, in degrees. |
perspective | number | 1200 | Perspective distance in pixels; smaller is more dramatic. |
depth | number | 120 | How far the wall sits back from the viewer, in pixels. |
speed | number | 42 | Base drift speed, in pixels per second. |
direction | "up" | "down" | "up" | The main drift direction; columns alternate around it. |
variance | number | 0.45 | How much column speeds differ from each other, from 0 to 1. |
parallax | number | 0.6 | How strongly the wall tilts toward the pointer; 0 turns it off. |
pauseOnHover | boolean | false | Pauses the whole wall while the pointer is over it. |
lift | number | 64 | How far a hovered tile lifts toward the viewer, in pixels. |
fade | number | 0.6 | Strength of the edge and depth dissolve, from 0 to 1. |
dim | number | 0.55 | Resting opacity of tiles that are not hovered, from 0 to 1. |
grayscale | boolean | false | Drains the color from resting tiles; hover restores it. |
overlayColor | string | "#060010" | Tint laid over resting tiles, cleared on hover. |
className | string | None |