This fall, Apple goes to version 26 in all its operating systems, and with it a new design -esthetics They call liquid glass. This look gets “automatically” from native app developers using “standard components”. We still have to see that Apple supplies this look through web technology, but many web developers have already had a crack. Let’s see how others brought this design on the internet.
Note that the liquid glass look is rightly criticized for the accessibility of text contrast. This is when you set text on unknown backgrounds, other concessions must be made to guarantee text accessibility through readability. Digital designers have known this for a long time, so it is surprising to see that it comes up with such a surprise and Apple can be seen through iterations when new beta versions are being rolled out. I call this at the top because it can apply to one of the techniques that we will view here. Please be careful.
This can be a fairly complex look to pull on the internet! Yes, we have backdrop-filter And that can be a nice effect that even only shows some resemblance here. But the full effect here is different. There is broken light in the game, edges with highlights, different degrees of matte effects and other manipulation of what is behind the glass, simulate what glass could do in real life.
I would tell you too Geoff Graham’s Rundown On all this that is loaded with left.
Glass displacement
While some liquid glass effects tend on a “mat” effect (which can be quite useful for a text contract), the pen from Jhey Tompkins shows how there is no matte effect at all. The “glass” can be completely clear, but still break the light and distort what you can see behind it and through it. The effect here works great, because there is no text at the top to worry about the magazines of. There is text behindWhat is less important for readability, because you can easily move it.
SVG -Filing and relocation
Here is one that uses backdrop-filter As expected, but it is not a simple blur as is seen the most. It uses the lesser -known capacity of backdrop-filter to use url() and link to an SVG filter, in this case both use feDisplacementMap And feGaussianBlur. This makes a very unique light -brief look that is a different type of glaze than just color, while they don’t lose much color.
A react component
Max Rovensky came in so early, produce Liquid glass respondswho offers a component with a number of props for controlling the exact look you are looking for:
<LiquidGlass
displacementScale={64}
blurAmount={0.1}
saturation={130}
aberrationIntensity={2}
elasticity={0.35}
cornerRadius={100}
padding="8px 16px"
onClick={() => console.log('Button clicked!')}
>
<span className="text-white font-medium">Click Mespan>
LiquidGlass>Code language: HTML, XML (xml)I think all those props show how complex all “dials” are for liquid glass and how difficult it should be for Apple to change the right amount under the right conditions to minimize accessibility problems. You will be confronted the same if you go on this path with a site!
Atlas Pup Tutorial
The pseudonymous puppy atlas is doing well From starting and explaining backdrop-filter Before you jump into the other necessary effects, eventually again with SVG filters, to do things like distortion.
More demos!
I love the highlights emphasized in the pen below, making it extra glassy. The Morphing -Selected option gives the liquid effect and the background is so heavily blurred that it seems unlikely that readability causes contrast problems (but you still have to be careful with the specific color contrast).
Here is another example where there is no blaze at all, and the glaze is only in the form of a very light tranzend white. But distortion is completely displayed, making it pretty glassy. Perhaps you can deliberately see how the “artist” section (“NAO”) below is difficult to read on certain points of the scroll movement.
The light distortion can be implemented strong enough that you can see in the example below that some of the broken wallpaper appear as if it is moving up while you go down differently under the Navbar elements as wallpaper.
When we talk about “Frosted” glass, this usually means just extra blur and perhaps a light colorverlay, but here the glaze is actually textured that is relatively common when using glasses in real life, such as office doors and shower forms.
These water droplets below are made with largely the same techniques as we have seen so far, but have chosen a maximum of 11 loads by box-shadow both in and out. Usually in liquid glass the shadows are not very heavy, but of course it looks great here. It makes me think if this visual language is really more about the liquid than the glass.
#Liquid #Glass #internet #Frontend #Masters #Blog

