deleted

Grid distortion

Shaders 33

About

Grid distortion effect

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

Code

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

Usage.tsx

import { GridDistortion } from "@/components/ui/grid-distortion";

const GridDistortionDemo = () => {
  return (
    <div className="w-screen h-screen bg-neutral-800">
      <GridDistortion
        className="w-full h-full"
        imageSrc="https://cdn.21st.dev/assets/mirror/c2/c2e02223b941685c55ec81a6a4f4a32580bf1d0f4c86bc5ed533c9e45394b740.jpg"
        grid={25}
        mouse={0.25}
        strength={0.3}
        relaxation={0.93}
      />
    </div>
  );
};

export { GridDistortionDemo };

Dependencies

More by deleted

View all
  • Splash Cursor

    Splash Cursor

    1.3K
  • Star Border

    Star Border

    728
  • Tilted Scroll

    Tilted Scroll

    433
  • Waves Background

    Waves Background

    362
  • Squares Background

    Squares Background

    326
  • Prism

    Prism

    218
  • Grid Motion

    Grid Motion

    183
  • Circular Gallery

    Circular Gallery

    173

More in Shaders

View all
  • Glass Fold

    Glass Fold

    192
  • Paper design shader Background

    Paper design shader Background

    672
  • Wave

    Wave

    683
  • Neural Noise

    Neural Noise

    711
  • DitheredShaderBackground

    DitheredShaderBackground

    43
  • LightSpeed

    LightSpeed

    205
  • Gigabit

    Gigabit

    55
  • Shader Lines

    Shader Lines

    2.3K