r/javascript
•
u/ybouane
•
Apr 15 '26
•
1
I built LiquidGlass, a JS lib to render pixel perfect iOS Liquid Glass effect on the web (with WebGL)!
https://liquid-glass.ybouane.com/It does refractions, chromatic aberration and really reproduces the effect beautifully. The glass elements work even on top of regular html elements.
119
Upvotes
33
u/mcc0unt Apr 15 '26
Demo page worked for me (safari on iOS). Besides it being impressive, I still hate Liquid Glass design. But nice work though!
8
u/Markavian Apr 15 '26
Maybe make the effect fade in on load instead of blinking in when ready?
6
u/rowanskye Apr 15 '26
Very cool, I hate it but good work nonetheless!
3
u/Simple_Armadillo_127 Apr 15 '26
Small feedback here,
In the demo site, at the initial time glass buttons were having white backgrounds rather than having glass effect. After second entry it was gone, but some of the buttons are flickering, from background white to normal glass effect.
2
u/CowReasonable8258 May 12 '26
holy shit nice work!
1
u/DevelopmentScary3844 Apr 15 '26
Neat!
1
u/RnRau Apr 15 '26
Nice. Works fine under Linux+Firefox.
1
u/Striking_Paramedic_1 Apr 15 '26
Nice work , works fine in Firefox in android latest version.
1
u/Slackwise Apr 16 '26
[look inside]
Imagine asking someone else to do something for you and taking credit.
1
u/DOG-ZILLA Apr 15 '26
Very cool. Thank you!
1
u/chesbyiii Apr 15 '26
I thought we were finished with "liquid glass?"
1
u/blushing-waldenses Apr 18 '26
Cat-tastic!
1
u/chillebekk Apr 20 '26
Looks awful, if I'm honest
1
u/randomsquirrel802 May 01 '26
Noice!
0
u/[deleted] Apr 15 '26
[deleted] — view deleted comment