spacing | number | 28 | Distance between one dot and the next, in px. |
|---|
dotSize | number | 3 | Diameter of each dot at rest, in px. |
|---|
radius | number | 170 | Radius of influence of the cursor or finger, in px. |
|---|
strength | number | 1 | How far the dots move away from the cursor. |
|---|
baseColor | string | "#4A4A62" | Color of the dots at rest. |
|---|
activeColor | string | "#8C9BFF" | Color of the dots the cursor lights up. |
|---|
ambientWave | boolean | true | Sends a soft wave every now and then when there is no cursor. |
|---|
listenTo | "parent" | "window" | "parent" | Where it listens for the cursor: its container or the whole window (to use it as a background behind other content). |
|---|
className | string | "" | Extra class for the container. |
|---|
style | CSSProperties | undefined | Extra styles for the container. |
|---|
children | ReactNode | undefined | Content drawn on top of the grid, centered. |
|---|