Toggle Sidebar B
AppearanceLight & dark mode D

Grid Motion

Perspective moving grid lines based on cursor position.

Default

Move the pointer sideways. Odd and even rows slide in opposite directions with a different amount of inertia.

Light previewReplay previewOpen in new tab

API Reference

GridMotion

PropTypeDefaultDescription
items(string | VNode)[][]An array of items to display in the grid (up to 28). Each item can be a string, a VNode, or an image URL.
gradientColorstring'black'Controls the color of the radial gradient used as the background.

Accessibility

Keyboard shortcuts and ARIA behavior.

  • The motion follows the pointer across the window and is decorative. Image tiles are background images with no alt text.