Launch priceOne payment

Signal Grid

An animated background for a hero or a section. Moving the pointer sends signals from the nearest point along the grid lines, lighting each dot they cross; a click sends four at once, and a few drift in from the edges on their own. Put any content inside it.

CreativeFree439 lines · one file

Ready for AI tools one file typed props installs by name prompt included

The decision inside it

Signals travel, they don't follow

A glow pinned under the cursor is what every grid background does. Here movement sends something that keeps going after the pointer stops, so the grid looks like it is doing work. It stops drawing when it is off screen or the tab is hidden, holds still for reduced motion, and takes taps instead of hover on a phone.

Installation

How you get it

Paste this into Claude Code, Cursor, Codex or any coding agent. It installs the file and uses it as it is, instead of writing a new one.

Use Layro's Signal Grid for this.
Install it: npx shadcn@latest add @layro/signal-grid
(the @layro registry is set up in components.json, with LAYRO_KEY in .env.local)
Import it from @/components/ui/signal-grid.
Do not rewrite or restyle it. Pass my data through its props
and keep its built-in states.

For the full brief with every prop and the mistakes assistants usually make, use Copy prompt above. Free components install through the @layro registry with your CLI token: see the Namespaced tab.

When to use it

Use Signal Grid behind a hero or a section that should feel alive: a dot grid that carries signals along its lines and answers the pointer. Put your heading inside it. For a calmer backdrop use Contour Field.

Usage

components/hero.tsx
import { SignalGrid } from "@/components/ui/signal-grid";

export function Hero() {
  return (
    <SignalGrid className="h-[520px]" signalClassName="text-neutral-950 dark:text-white">
      <div className="flex h-full flex-col items-center justify-center text-center">
        <h1 className="text-5xl font-bold tracking-tight">Every request finds the shortest way.</h1>
      </div>
    </SignalGrid>
  );
}

API

“Copy prompt” above puts a full brief on your clipboard — install command, dependencies, props, and the mistakes an assistant usually makes with this component.

Props

Read from the component’s own TypeScript interface when the site is built, so this table cannot drift from the file you install.

PropTypeNotes
spacingnumberDistance between dots, in px. Default 28.
ambientnumberSignals that drift in on their own, per second. 0 for none. Default 0.8.
maxPulsesnumberMost signals on the grid at once. Default 28.
speednumberGrid points a signal crosses per second. Default 11.
signalClassNamestringColour class for the signals, read as `color`. Default blue.
fadebooleanFade the grid out toward the edges. Default true.
interactivebooleanSend signals from pointer movement and taps. Default true.

Dependencies

npm packages

clsxtailwind-merge

Layro foundations, installed alongside it

layro-theme

Lifetime access

Every component, and everything we ship next.

  • All 132 components, source included
  • Every template, and everything released after you buy
  • shadcn CLI or download — React 18/19, Tailwind v4
  • One payment. No subscription.

More in Creative

All Creative components