Skip to content
All articles Browser and accessibility

Liquid Glass in Chrome, Safari, and Firefox

Choose between live backdrop refraction, a supplied React scene, and frosted CSS based on your browser and UI.

“Does Liquid Glass work in Safari?” depends on what you need to refract. Version 0.2.0 can use the browser's live backdrop, filter a supplied React scene, or display a frosted CSS treatment. All three can support the same visible controls.

Choose a rendering path

What your UI needs QuickLiquid option What to verify
Bend the live document behind the glass refractionMode: 'auto' with no opticalSource Chromium is the documented path for live SVG backdrop refraction. Check actual displacement on your page.
Bend a known backdrop you render in React Supply opticalSource and use auto The SVG applies to the supplied scene with filter. Check scene alignment in every target browser.
Deliver consistent frost and rim lighting Set refractionMode: 'css' The treatment uses CSS blur, saturation, tint, and lighting. Confirm contrast with the same content.

The project documents the CSS fallback for Safari and Firefox when the live SVG backdrop path is unavailable. auto uses a computed-style probe for the live path. A probe can detect a filter declaration, while a visual check confirms the compositor is actually bending pixels. Test with a sharp stripe crossing the rim and compare the result with the same surface forced to css.

Test the combinations that matter

Check the browsers and versions that your users run. Include a screen with stacked cards or a sticky header, because nested filters and layers can change which backdrop is available. Try the forced fallback in Chromium to see the exact treatment you are prepared to support. For a fixed graphic or photograph you own, follow the opticalSource guide.

See the upstream browser notes and MDN's backdrop-filter reference for the distinction between CSS backdrop filters and the SVG filter primitive.