Materials and depth
Use translucent material for controls above content and opaque surfaces where transparency would reduce legibility.
Somewhere, slowlyPalm Room
Regular glass separates navigation and playback controls from the artwork with blur, luminosity, and an illuminated edge.
tsx
<Glass variant="regular" interactive>
<PlaybackControls />
</Glass>The visual controls in this example change local preview state. WebKit uses supported backdrop filters; optical rendering still differs from native Liquid Glass.
Platform note. The web treatment supports pointer response, adaptive themes, and browser accessibility preferences. CSS does not reproduce native optical refraction, system vibrancy, or automatic content sampling.
What the guidance says
- Apple describes Liquid Glass as a functional layer for controls and navigation above the content layer.
- Apple advises against using Liquid Glass throughout the content layer and recommends standard materials there.
- Choose a material for its role and hierarchy rather than for an incidental tint.
- Maintain legibility when transparency or contrast preferences change.
How to apply it on the web
- Use Glass for navigation and floating controls. Regular glass protects legibility; clear glass preserves detail behind media controls.
- Use Material for standard content layers. Keep cards opaque when the background does not help explain the content.
- Provide a solid color fallback when backdrop filtering is unavailable or reduced transparency is preferred.
- Add dimmed to clear glass over bright media, and keep nested controls on a single glass layer. Blur, saturation, edge, and shadow values remain library tokens.
What to check
- Does material clarify which layer contains controls and which contains content?
- Is text readable over every background that can appear beneath the material?
- Does the interface remain usable when transparency is removed?
- Have glass effects been kept to the few places where they explain hierarchy?