Toggle Sidebar B
AppearanceLight & dark mode D

Dot Grid

Animated dot grid with cursor interactions.

Default

Move the pointer quickly over the dots to push them, or click to send a shockwave. Every prop is wired to the controls underneath.

Dark previewReplay previewOpen in new tab
New Creative Components

Organized chaos with every cursor movement!

Get started Learn more

Customize

Base Color
Active Color
Dot Size5
Gap15
Proximity120
Shock Radius250
Shock Strength5
Resistance (Inertia)750
Return Duration (Inertia)1.5s

API Reference

DotGrid

PropTypeDefaultDescription
dotSizenumber16Size of each dot in pixels.
gapnumber32Gap between each dot in pixels.
baseColorstring'#5227FF'Base color of the dots.
activeColorstring'#5227FF'Color of dots when hovered or activated.
proximitynumber150Radius around the mouse pointer within which dots react.
speedTriggernumber100Mouse speed threshold to trigger inertia effect.
shockRadiusnumber250Radius of the shockwave effect on click.
shockStrengthnumber5Strength of the shockwave effect on click.
maxSpeednumber5000Maximum speed for inertia calculation.
resistancenumber750Resistance for the inertia effect.
returnDurationnumber1.5Duration for dots to return to their original position after inertia.

Accessibility

Keyboard shortcuts and ARIA behavior.

  • The canvas is decorative and ignores pointer events. Pointer movement and clicks are read from the whole window.