Toggle Sidebar B
AppearanceLight & dark mode D

Shape Grid

Animated grid with shape variants (square, hexagon, circle, triangle) and direction customization.

Default

Every prop is wired to the controls underneath. Hover the grid to light up cells, and raise Hover Trail to leave a fading tail behind the cursor.

Dark previewReplay previewOpen in new tab
New Creative Components

Customizable squares moving around smoothly

Get started Learn more

Customize

Border Color
Hover Color
Shape
Direction
Shape Size40
Animation Speed0.5
Hover Trail0

API Reference

ShapeGrid

PropTypeDefaultDescription
directionstring'right'Direction of the grid animation. Options: 'diagonal', 'up', 'right', 'down', 'left'.
speednumber1Animation speed multiplier.
borderColorstring'#999'Color of the shape borders.
squareSizenumber40Size of individual shapes in pixels.
hoverFillColorstring'#222'Fill color when hovering over shapes.
shapestring'square'Shape of the grid tiles. Options: 'square', 'hexagon', 'circle', 'triangle'.
hoverTrailAmountnumber0Number of previously hovered shapes to keep visible as a fading trail. 0 disables the trail.

Accessibility

Keyboard shortcuts and ARIA behavior.

  • Purely decorative canvas. The animation pauses while the canvas is off screen or the tab is hidden.