NEEBARP TECH

How to make the liquid glass effect in Framer (with and without code)

Updated · 8 min read · Neebarp Tech

Short answer

For frosted glass, select a frame, give it a see-through fill, add a background blur of about 8 to 20 px and a thin white border. That works in every modern browser. For liquid glass that bends what's behind it, you need a code component: an SVG displacement filter works in Chrome and Edge only, and refraction that also works in Safari needs WebGL, which is what our Glassworks pack does.

Apple's Liquid Glass design, introduced in 2025, made glass the look everyone wants on their site: navbars, buttons and cards that seem to be made of thick, clear glass. In Framer you can get most of the way there without writing a line of code. The last step, glass that actually bends the picture behind it, is harder, and it behaves differently from browser to browser.

This guide covers both. First the free, no-code way (frosted glass), then a small code component that bends light, then what real refraction takes. We make a paid pack of glass components, Glassworks, and we say so where it comes up.

Frosted glass and liquid glass are not the same thing

Most "glassmorphism" tutorials make frosted glass: the content behind a panel is blurred, and the panel gets a light tint and a bright edge. It's the look of a bathroom window.

Liquid glass goes further. The edges of the panel act like a lens, so the picture behind it is bent and magnified near the rim, the way a drop of water bends what's under it. Blur alone can't do that, because blur only softens pixels. Bending them needs a displacement or a refraction step.

LookHow it's madeWorks in
Frosted glassBackground blur, tint, border, inner highlightChrome, Edge, Safari, Firefox
Wobbly or bent glassSVG displacement filter inside backdrop-filterChrome and Edge
Real refraction (lens edges)WebGL shader that redraws the content behindAny browser with WebGL, if it is built for it

1. Frosted glass in Framer, no code

Framer calls the CSS backdrop-filter: blur() effect background blur. It blurs whatever sits behind the layer, not the layer itself. Framer's own dictionary describes it as the effect for navigation bars, overlays and panels.

  1. Put a picture, video or gradient on the page. Glass needs something busy behind it, or there is nothing to see through.
  2. Draw a frame on top (press F). This is your glass panel.
  3. Give it a fill of white at about 10 to 20% opacity. Fully transparent glass looks like nothing; a faint tint reads as glass.
  4. In the properties panel, add a background blur to the frame. Start around 8 to 16 px. Higher numbers look foggy rather than glassy.
  5. Add a border: 1 px, white at about 30 to 40%. This is the edge catching the light.
  6. For a highlight, swap the flat fill for a linear gradient: white at about 25% at the top fading to about 5% at the bottom. Light seems to catch the top of the glass.
  7. Round the corners generously (24 px or more) and add a soft drop shadow so the panel lifts off the page.

If your blur disappears on the published site in Chrome or Edge, check whether the same layer also animates its opacity. Framer's help centre says Chromium can drop the blur in that case. Animate scale or position instead, or put the fade on a parent.

That's frosted glass, and it works in every current browser. MDN lists backdrop-filter as Baseline since September 2024. Apple's glass also makes the colours behind it a little richer. In CSS that's one more function, backdrop-filter: blur(16px) saturate(160%), which the code component below uses.

Three glass panels over coloured stripes and the word GLASS: the first only blurs, the second blurs with a bright border and tint, the third bends the stripes into waves
The same backdrop under three panels, rendered in Chrome: blur only, blur with edge light, and an SVG displacement filter that bends the stripes.

2. Glass that bends: an SVG displacement code component

To bend the content, you can feed an SVG filter into backdrop-filter. An feTurbulence node makes a smooth noise map, and feDisplacementMap pushes each pixel behind the panel sideways by the amount in that map. The stripes in the third panel above were bent this way.

In Framer, open the Assets panel, choose Code, then Create Code File, and paste this. It's a normal React component with property controls, so you can drag it onto the canvas and set it up from the right-hand panel.

import { addPropertyControls, ControlType } from "framer"
import { useEffect, useId, useState } from "react"

export default function LiquidGlass(props) {
    const { radius, blur, strength, tint } = props
    const id = "glass" + useId().replace(/:/g, "")
    // Only Chromium applies SVG filters inside backdrop-filter.
    const [bend, setBend] = useState(false)
    useEffect(() => setBend("userAgentData" in navigator), [])
    const filter = bend
        ? `url(#${id}) blur(${blur}px) saturate(150%)`
        : `blur(${blur}px) saturate(150%)`
    return (
        <div style={{ width: "100%", height: "100%", position: "relative" }}>
            <svg width="0" height="0" style={{ position: "absolute" }}>
                <filter id={id} x="0" y="0" width="100%" height="100%">
                    <feTurbulence type="fractalNoise" baseFrequency="0.008 0.012"
                        numOctaves={2} seed={7} result="noise" />
                    <feDisplacementMap in="SourceGraphic" in2="noise" scale={strength}
                        xChannelSelector="R" yChannelSelector="G" />
                </filter>
            </svg>
            <div style={{
                position: "absolute", inset: 0, borderRadius: radius,
                backdropFilter: filter, WebkitBackdropFilter: filter,
                background: tint,
                border: "1px solid rgba(255,255,255,0.35)",
                boxShadow: "inset 0 1px 0 rgba(255,255,255,0.6), 0 20px 40px rgba(0,0,0,0.3)",
            }} />
        </div>
    )
}

LiquidGlass.defaultProps = { radius: 32, blur: 2, strength: 45, tint: "rgba(255,255,255,0.06)" }

addPropertyControls(LiquidGlass, {
    radius: { type: ControlType.Number, min: 0, max: 200, defaultValue: 32 },
    blur: { type: ControlType.Number, min: 0, max: 40, defaultValue: 2 },
    strength: { type: ControlType.Number, min: 0, max: 150, defaultValue: 45 },
    tint: { type: ControlType.Color, defaultValue: "rgba(255,255,255,0.06)" },
})
A glass panel that bends what's behind it in Chrome and Edge, and falls back to frosted glass elsewhere.

We ran the same filter, with the same numbers, in a plain HTML page in Chrome before writing this; that's the third panel in the picture above. Turn strength up for a wobblier bend, and keep blur low so the bending stays visible. A bigger baseFrequency gives smaller ripples.

The check on navigator.userAgentData is there because that property only exists in Chromium browsers. Everywhere else the component drops the SVG part and shows plain frosted glass, instead of showing nothing.

Why Safari and Firefox show something different

Blur is supported everywhere. SVG filters inside backdrop-filter are not, and that's the part that does the bending.

  • Chrome and Edge apply backdrop-filter: url(#filter), so the displacement works.
  • Safari ignores SVG filters in backdrop-filter. WebKit bug 245510 has tracked this since 2022; patches were posted in 2026 but the bug was still open when we checked on 29 November 2026, with no Safari release named.
  • Firefox supports backdrop-filter with blur, but SVG url() filters there are unreliable: Mozilla bug 1961378, where such a filter is ignored, is still open.

Safari matters here more than usual: most iPhone browsers, Chrome included, run on Apple's WebKit engine, so a large share of phone visitors will see the fallback, not the bend. That's why a lot of "liquid glass" demos look great on a designer's Chrome window and flat on a client's iPhone.

What real refraction needs

Apple's glass doesn't just wobble. Its edges behave like a curved lens: the picture is pulled inward and magnified near the rim, highlights follow the shape, and the colour of the glass changes with what's under it. To do that on the web you have to:

  • Get the pixels behind the glass. CSS won't hand them to you, so the content has to be drawn into a canvas, or the glass has to know which picture or video sits behind it.
  • Run a shader. A WebGL fragment shader works out, for every pixel, how far a lens of that shape would bend the light, and samples the backdrop at that point.
  • Share the work. One WebGL context per button is slow and browsers cap how many you can have, so a page full of glass needs one shared engine.
  • Keep it cheap when idle. Stop drawing when nothing moves, and stop when the glass is off screen.

That's a few thousand lines of code, not a weekend tweak. If you only need one glass navbar over a still photo, frosted glass is honestly fine. If the glass is the point of the site, you'll want a component built for it.

The shortcut: Glassworks (ours)

We make Glassworks, so weigh this part with that in mind. It's 22 Framer components that refract whatever is under them, a picture, a video or a moving backdrop, using one shared WebGL engine. The listing and our live catalog say it refracts in Chrome, Edge and Safari, on desktop and phone.

  • Controls: switch, slider, segmented control, button, stepper, search field, chips and page dots.
  • Navigation: a navbar that grows into a phone menu, and a tab bar that lifts a lens as you drag.
  • Overlays: a menu, a sheet and an alert that grow out of the button that opened them.
  • Cards, widgets and media: a settings list, cards, widgets, a now-playing player, a Control Centre, an island and a dock.
  • Effects: a cursor lens and five moving backdrops made for glass to bend.

It costs $29 once (checked on 29 November 2026) for unlimited personal, client and commercial sites, with a full refund within 14 days. Every piece is its own Framer component with its own settings in the right-hand panel, so there is no code to touch.

Tips that make any glass look better

  • Put something worth seeing behind it. Glass over a flat white page is just a grey box. Colourful photos, gradients and video make it work.
  • Keep text readable. Add a slightly darker or lighter tint under text, and check contrast over the busiest part of the backdrop.
  • Use less of it. A glass navbar and one glass card read as premium. Twenty glass boxes read as a demo.
  • Test on a real iPhone. It's the browser most likely to show your fallback.

Questions

Does Framer have a liquid glass effect built in?

Framer has background blur, borders, shadows and fills, which together make frosted glass. Glass that bends the content behind it needs a code component or a component from the Framer Marketplace.

Why does my glass effect not work in Safari?

If it uses an SVG filter inside backdrop-filter, Safari ignores that part. Plain background blur works in Safari. For bending that also works in Safari, the effect has to be drawn with WebGL.

Is glassmorphism the same as liquid glass?

Not quite. Glassmorphism usually means frosted glass: blur, a light tint and a bright border. Liquid glass, as in Apple's design, also bends and magnifies what's behind it near the edges.

Will glass effects slow my Framer site down?

Background blur is cheap on one or two elements but costs more on big areas or many layers, especially on older phones. WebGL glass costs nothing while idle if the engine stops drawing when nothing moves; check this in your browser's performance panel.