Skip to content

Live Grid

A field of dots that moves away and lights up around the cursor with spring physics, and can also ripple on its own.

Plan
Free · MIT
Dependencies
React only
Props
11 (8 adjustable)

Free forever

MIT license, for personal and commercial projects. See installation

Made with Furin: Pill Nav · Metal Button · Copy Morph

Props

PropTypeDefaultDescription
spacingnumber28Distance between one dot and the next, in px.
dotSizenumber3Diameter of each dot at rest, in px.
radiusnumber170Radius of influence of the cursor or finger, in px.
strengthnumber1How far the dots move away from the cursor.
baseColorstring"#4A4A62"Color of the dots at rest.
activeColorstring"#8C9BFF"Color of the dots the cursor lights up.
ambientWavebooleantrueSends 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).
classNamestring""Extra class for the container.
styleCSSPropertiesundefinedExtra styles for the container.
childrenReactNodeundefinedContent drawn on top of the grid, centered.

Installation

Install it

1Install the package

npm i furin-ui

2Import it

import { LiveGrid } from "furin-ui";

Also with pnpm add furin-ui, yarn add furin-ui or bun add furin-ui. Each component ships its own CSS and imports it for you.

Dependencies

React
18 or later
Other libraries
none
License
MIT

Each file ships its own CSS: there's nothing else to install.

Keep exploring

  • A real 3D scene in WebGL2: a glass prism (beveled mesh with fresnel and refraction) on a reflective vinyl floor. A light orb follows your cursor and fires a volumetric beam; the spectrum fans out by Snell's law, one ray per color, and lands on the wall and floor with its caustic. The camera parallaxes with the cursor.

    Backgrounds

  • A perspective grid that scrolls endlessly toward a horizon with a muted sun; the cursor shifts the horizon and holding down speeds it up.

    Backgrounds

  • A water surface with WebGL ripples.

    Backgrounds