HomeStylesTemplates
←Back to Docs
LiquidGlass
PaletteComponentsLayersPlaygroundRules
StyleKit
Liquid Glass

Light Flows
Through Glass.

High blur, saturated refraction, inner luminance, and chromatic edges. Glass that feels alive.

blur-[60px]
High Blur
saturate-180%
Color Boost
inset glow
Inner Light
spring ease
Fluid Motion
Foundation

Gradient backgrounds

Liquid Glass requires a rich gradient foundation. The glass effect only emerges when there is something vibrant behind it to blur and refract.

Primary Panel
Glass layer 1
Content Area
Glass layer 2
Side Panel
Glass layer 3
Palette

Glass color system

Two transparent glass layers and four gradient accent colors. With Liquid Glass, the transparency is the color.

Glass Primary
white/15
Primary glass surface
Glass Secondary
white/10
Secondary glass layer
Indigo Depth
#667eea
Gradient anchor
Royal Purple
#764ba2
Gradient midpoint
Fuchsia Glow
#f093fb
Gradient highlight
Rose Accent
#f5576c
Warm accent
Components

Glass building blocks

Every component is a glass panel with inner luminance, multi-layer shadows, and specular sweep on interaction.

Primary with inner luminance + specular sweep

Size variants

Anatomy

Four layers deep

Liquid Glass is built from four distinct layers. Each one is essential. Remove any layer and the illusion breaks.

Layer 1/4: Gradient Foundation
Playground

Tune the glass

Adjust opacity and blur to see how Liquid Glass responds. The sweet spot is 10-20% opacity with 40-60px blur.

15%
5% (subtle)40% (heavy)
60px
10px (light)100px (heavy)

bg-white/15
backdrop-blur-[60px]
backdrop-saturate-[180%]
border border-white/20
shadow-[0_8px_32px_rgba(0,0,0,0.12),
  inset_0_1px_0_rgba(255,255,255,0.35)]

Live Preview

Adjust the sliders to see changes in real time.

Guidelines

Do / Don't

Do

  • Use backdrop-blur-[40px]+ with backdrop-saturate-[180%]
  • Add inner luminance gradient (from-white/18 to transparent)
  • Use multi-layer shadows (outer depth + inset highlight)
  • Spring easing: duration-500 cubic-bezier(0.16,1,0.3,1)
  • Hover: lift + enhanced shadow + brighter border
  • Rich gradient backgrounds as the foundation

Don't

  • Use glass on solid color backgrounds
  • Use low blur (backdrop-blur-sm or backdrop-blur)
  • Omit backdrop-saturate (kills the vibrancy)
  • Use opaque backgrounds (bg-white, bg-black)
  • Use sharp corners (rounded-none, rounded-sm)
  • Use fast transitions (duration-100, duration-150)
Philosophy

Design principles

Optical Realism

High blur + saturation boost makes background colors live inside the glass. The glass doesn't just sit on top, it refracts.

Inner Luminance

A top-down white gradient simulates light hitting the glass surface from above. This is what separates flat translucency from real glass.

Depth Layering

Multiple glass layers with varying opacity and blur create true spatial depth. Each layer samples the one below it.

Chromatic Edges

Borders reveal subtle luminance changes on interaction. The edge of glass catches light differently than its surface.

Fluid Motion

Spring easing (cubic-bezier 0.16,1,0.3,1) simulates the physical inertia of glass. Nothing snaps, everything flows.

Specular Sweep

A single skewed highlight sweeps across the surface on hover, simulating a light source moving across polished glass.

Liquid Glass — inspired by Apple's design language

Back to all styles