DocsLiquid Chrome

Liquid Chrome

A premium fluid liquid metal shader background effect with interactive mouse distortion.

Installation

pnpm dlx shadcn@latest add @componentry/liquid-chrome

Usage

import { LiquidChrome } from "@workspace/ui/components/liquid-chrome"

<LiquidChrome 
  baseColor={[0.10, 0.10, 0.10]}
  speed={1.0}
  amplitude={0.6}
  interactive={true}
/>

API Reference

PropTypeDefault
baseColor[number, number, number]

Base RGB color tint. Use values 0.0 - 1.0.

[0.1, 0.1, 0.1]
speednumber

Animation speed multiplier.

1.0
amplitudenumber

Detail level and distortion of the fluid waves.

0.6
interactiveboolean

Enables mouse distortion if true.

true
classNamestring

Additional CSS classes for styling.

—

Keep in mind

This component is inspired by various open-source projects and patterns. Please verify licenses and implementation details before using in production.

Need a custom component?

I build bespoke UI components & websites tailored to your brand.

DM me on X
PreviousHero GeometricNextPrism Gradient