Glass Tiles

A shimmering background of colorful glass tiles

glass-tiles-tw

Customize

Animation

1
1
0

Tile Field

4
6
0.33
3

Color

#1E00FF
#D765E6
#FFFFFF

Props

widthstring | number

Container width

Default:"100%"
heightstring | number

Container height

Default:"100%"
classNamestring

Additional CSS classes for styling

Default:""
childrenReactNode

Content rendered above the effect

Default:undefined
speednumber

Animation speed multiplier (0–3)

Default:1
tileDensitynumber

Tile lattice density across the surface (1–16)

Default:4
rippleLayersnumber

Number of directional ripple layers stacked through the tile pole (1–8)

Default:6
warpStrengthnumber

Per-tile inverse-distance warp strength (0–0.6)

Default:0.33
bandSharpnessnumber

Sharpness of the bright band peaks; higher is thinner, hotter ribbons (0.5–10)

Default:3
chromaticSpreadnumber

Per-channel chromatic separation along the gradient axis (0–1)

Default:0
colorAstring

First gradient stop in hex format (the deeper color)

Default:"#1E00FF"
colorBstring

Second gradient stop in hex format (the brighter color)

Default:"#D765E6"
backgroundColorstring

Background fill where the field is fully dark in hex format

Default:"#FFFFFF"
opacitynumber

Master alpha (0–1)

Default:1
dprnumber

Maximum device pixel ratio (caps GPU work) (1–3)

Default:1.5