Skip to main content

Interface: GradientFluidOptions

Configuration options for procedural chromatic gradient fluid background.

Extends​

Properties​

PropertyTypeDescription
backgroundColor?stringBackground color behind the fluid (default: "#09090b")
className?string-
colors?string[] | [string, string, string, string]Color palette from dark depth to luminous crest highlights. Default: ["#09090b", "#0284c7", "#38bdf8", "#e0f2fe"]
gloss?numberStrength of surface refraction / liquid gloss (default: 1.0)
id?string-
opacity?numberOptional initial opacity (default: 1).
waveSpeed?numberSpeed of wave rolling across screen (default: 0.5)