Dhileep Kumar GM

liquid Shader

Component 541

About

A full-screen animated background component created with React and Three.js. It renders a dynamic, colorful wave liquid pattern using a custom GLSL shader. The component is interactive, allowing its appearance to be controlled via props (or UI buttons in the demo) to change colors based on different states, such as "active" or "upcoming" reminders. It also includes an optional center-dimming effect.

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

Code

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

Usage.tsx

import InteractiveNebulaShader from "@/components/ui/liquid-shader";

const settings = {
  hasActiveReminders: false,
  hasUpcomingReminders: false,
  disableCenterDimming: false,
};

export default function Demo(props: Partial<typeof settings>) {
  const s = { ...settings, ...props };
  return (
    <div className="h-screen w-screen">
      <InteractiveNebulaShader {...s} />
    </div>
  );
}

Dependencies

More by Dhileep Kumar GM

View all
  • Aether Flow Hero

    Aether Flow Hero

    1.9K
  • Woven Light Hero

    Woven Light Hero

    1.5K
  • AnomalousMatterHero

    AnomalousMatterHero

    1.5K
  • PulseFit hero

    PulseFit hero

    922
  • Mountain Scene

    Mountain Scene

    859
  • HolographicCard

    HolographicCard

    820
  • 3D Animation

    3D Animation

    765
  • Cybernetic Bento Grid

    Cybernetic Bento Grid

    556