@davidwuchta/liquid-glass

Liquid Glass

Apple-inspired Liquid Glass component for React 19+. Featuring physical edge refraction, chromatic dispersion, specular rim lighting, container gradients, and much more.

Feature Showcase

Drag any glass surface to inspect live edge refraction, shading, and blend modes.

Clear

-4°

Clear

variant="clear" frost={2} dispersion={0} fills={false}

Chromatic Dispersion

Chromatic Dispersion

dispersion={30} refraction={90} depth={30} fills={false}

Frosted

Frosted

variant="clear" frost={45} dispersion={0} lightOpacity={50}

Opaque Light

Clouds 1°

Opaque Light

theme="light" variant="opaque" dispersion={0}

Opaque Dark
Fri 20 Nov

Opaque Dark

theme="dark" variant="opaque" dispersion={0}

Tinted

Tinted

theme="dark" tint="blue"

Interactive Playground

Tune optical props, lighting, and gradients in real time, then copy the generated JSX.

Playground background 01
<LiquidGlass
  style={{ width: 256, height: 256 }}
  radius={64}
  fills={false}
/>