AAYUSH duhan

Liquid Gradient

Shaders 87

About

Liquid Gradient component for React.

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

Code

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

Usage.tsx

"use client";

import LiquidGradientCanvas, {
  LIQUID_GRADIENT_PRESETS,
  type LiquidGradientPresetName,
} from "@/components/ui/liquid-gradient";

const settings = {
  preset: "sunset",
  speed: 0.6,
  paused: false,
};

export default function Demo(props: Partial<typeof settings>) {
  const s = { ...settings, ...props };
  const preset =
    LIQUID_GRADIENT_PRESETS[s.preset as LiquidGradientPresetName] ??
    LIQUID_GRADIENT_PRESETS.sunset;

  return (
    <div className="h-screen w-screen">
      <LiquidGradientCanvas {...preset} speed={s.speed} paused={s.paused} />
    </div>
  );
}

More by AAYUSH duhan

View all
  • Card Fan Carousel

    Card Fan Carousel

    3.9K
  • Ink Reveal

    Ink Reveal

    1.3K
  • Liquid Morph Floating Menu

    Liquid Morph Floating Menu

    874
  • CascadeText

    CascadeText

    642
  • HalftoneTrail

    HalftoneTrail

    208
  • Reveal Card

    Reveal Card

    6
  • NotchCard

    NotchCard

    5

More in Shaders

View all
  • Glass Fold

    Glass Fold

    212
  • Neural Noise

    Neural Noise

    717
  • Wave

    Wave

    685
  • LightSpeed

    LightSpeed

    207
  • animated pattern cloud

    animated pattern cloud

    616
  • Background Shader

    Background Shader

    304
  • Shader Background

    Shader Background

    2K
  • Line Shader Homlu UI

    Line Shader Homlu UI

    48