Armağan Amcalar
Project · since 2025 · 1.8k GitHub stars

liquid-glass-js

Apple's Liquid Glass effect for the web, rendered with WebGL.

When Apple introduced Liquid Glass in June 2025, I wanted to know whether a browser could do it properly: real refraction and edge distortion, not a blurred translucent rectangle.

liquid-glass-js is the result, a small library that renders glass containers and buttons with WebGL shaders, including nested glass. It was written in a few days and became one of my most starred repositories.

Live demoGlass containers and buttons over live page content.dashersw.github.io