satoriui

Kinetic Grid

Heroes 1.9K

About

An interactive full-screen canvas background of a warping dot grid that bends toward the cursor and ripples outward on click.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Kinetic Grid to your project and fits it to your theme.

Code

How Kinetic Grid is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

import KineticGrid from "@/components/ui/kinetic-grid";

export default function Default() {
  return (
    <KineticGrid>
      <div className="flex min-h-screen flex-col items-center justify-center px-6 text-center">
        <span className="mb-5 rounded-full border border-white/15 px-3 py-1 text-xs font-medium tracking-wide text-white/70">
          Interactive Background
        </span>
        <h1 className="max-w-2xl text-4xl font-semibold tracking-tight text-white sm:text-6xl">
          Move your cursor. Click anywhere.
        </h1>
        <p className="mt-4 max-w-md text-base text-white/50">
          A kinetic grid that warps toward the pointer and ripples on every
          click.
        </p>
      </div>
    </KineticGrid>
  );
}