unlumen

Pixel Liquid Background

Shaders 109

About

An interactive full-screen fluid simulation background with pixelation and dithering that reacts to cursor movement.

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

Code

How Pixel Liquid Background is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

import {
  PixelLiquidBg,
  type PixelLiquidBgProps,
} from "@/components/ui/pixel-liquid-bg";

type PixelLiquidBgDemoProps = Pick<
  PixelLiquidBgProps,
  "pixelSize" | "resolution" | "mouseForce" | "cursorSize" | "autoDemo"
>;

export default function PixelLiquidBgDemo({
  pixelSize,
  resolution,
  mouseForce,
  cursorSize,
  autoDemo,
}: PixelLiquidBgDemoProps) {
  return (
    <PixelLiquidBg
      className="absolute inset-0 flex items-center justify-center"
      pixelSize={pixelSize}
      resolution={resolution}
      mouseForce={mouseForce}
      cursorSize={cursorSize}
      autoDemo={autoDemo}
    />
  );
}

Dependencies

More by unlumen

View all
  • Motion Navigation Menu

    Motion Navigation Menu

    278
  • Side By Side Slide

    Side By Side Slide

    238
  • Scroll Reveal Image

    Scroll Reveal Image

    230
  • Count Up

    Count Up

    155
  • Glow Button

    Glow Button

    99
  • Animated Sidebar

    Animated Sidebar

    97
  • Horizontal Depth Fade

    Horizontal Depth Fade

    78
  • LED Dot Matrix Display

    LED Dot Matrix Display

    71

More in Shaders

View all
  • Glass Fold

    Glass Fold

    269
  • Shader Animation

    Shader Animation

    3.7K
  • Wave

    Wave

    693
  • DitheredShaderBackground

    DitheredShaderBackground

    44
  • Shader Dithering

    Shader Dithering

    35
  • Gigabit

    Gigabit

    55
  • Phosphor 30

    Phosphor 30

    291
  • Shader Lines

    Shader Lines

    2.3K