Liquid Gradient
A premium fluid simulation with deep burgundy and magenta tones, featuring a yellowish-white shine and high-detail noise.
Main Features of Liquid Gradient
How to Use Liquid Gradient in Next.js
Installation Guide for Liquid Gradient
Props
Customize the component with these props
| Property | Type | Default | Description |
|---|---|---|---|
color1 | string | #220011 | Base Dark (e.g., Deep Burgundy) |
color2 | string | #990055 | Mid Tone (e.g., Vibrant Magenta) |
color3 | string | #fff4d0 | Highlight (e.g., Yellowish White) |
speed | number | 0.8 | Animation speed |
reflection | number | 0.6 | How shiny the highlights are |
Related Components
Interstellar Fluid Hero
Interactive fluid simulation creating cosmic nebula effects with mouse interaction. Deep space aesthetic with animated gas clouds and star trails.
Interstellar Background Hero
Warp tunnel effect simulating high-velocity travel through nebular clusters. Procedural WebGL engine with mouse-responsive space distortion.
Liquid Chrome Hero
Procedural simulation of molten chrome alloys with velocity-based distortion. Interactive liquid metal surface with specular highlights.
When to Use
Best Practices
Why This Component Matters in Modern UI Development
Frequently Asked Questions
QCan I use different colors?
Yes, you can pass any hex color to `color1`, `color2`, and `color3` to completely transform the mood from dark burgundy to any other palette.
QIs it performance-heavy?
The component uses WebGL via the OGL library, which is extremely lightweight and efficient, ensuring smooth 60fps animations even on mobile devices.
QDoes it support mouse interaction?
Yes, it has a built-in mouse lag/follow effect that subtly distorts the liquid based on the cursor position.
