Skip to content

Liquid glass

When to use the glass family, and how to keep it readable and fast.

The liquid glass family is eight pieces on one shared surface. This page says when to use it and how to keep it fast and readable.

What it is

A glass surface is a blurred and saturated body, a conic highlight rim that turns toward the pointer, a chromatic edge and a soft sheen. It is plain CSS (backdrop-filter), so it costs no WebGL and works on any background: a photo, a video, a 3D scene or a gradient.

The pieces

PieceUse it for
Glass PanelCards and sheets over imagery
Glass NavA floating site header
Glass DockAn app-like launcher with magnifying icons
Glass TabsBilling or range switches
Glass PlayerNow-playing cards
Glass ControlsSettings, smart-home and device demos
Glass NotificationsLock-screen style notices
Glass DialogConfirmations over a busy page

Making it readable

  • Set tone="dark" over bright art and tone="light" over dark art. auto is white-tinted.
  • Keep blur between 14 and 24 px; less looks like a plain overlay, more turns the page to mush.
  • Never put long reading text on glass. It is for labels, controls and short copy.
  • Give the glass something to frost: a flat colour behind it makes it look like a grey box.

Budget

Each surface is one backdrop filter. Keep a view to about six, and set still on pieces that repeat in a list so they skip the pointer sheen. Without backdrop-filter support the surface falls back to a solid dark panel.

Accessibility

Glass pieces keep native buttons, links and range inputs, so keyboard and screen readers work. Check text contrast against the brightest part of the art, not the average.

↑ ↓ to move↵ to openesc to close