Toggle Sidebar B
AppearanceLight & dark mode D

Grid Distortion

Warped grid mesh distorts smoothly reacting to cursor.

Default

Grid size and mouse size are wired to the controls underneath. Move the pointer over the image to push the grid around.

Light previewReplay previewOpen in new tab
New Creative Components

Don't just sit there, move your cursor!

Get started Learn more

Customize

Grid Size10
Mouse Size0.25

API Reference

GridDistortion

PropTypeDefaultDescription
imageSrcstringThe image you want to render inside the container.
gridnumber15The number of cells present in the distortion grid
mousenumber0.1The size of the distortion effect that follows the cursor.
relaxationnumber0.9The speed at which grid cells return to their initial state.
strengthnumber0.15The overall strength of the distortion effect.

Accessibility

Keyboard shortcuts and ARIA behavior.

  • The image is drawn on a canvas, so it has no alt text. Treat it as decoration or describe it in the surrounding content.