Skip navigation
finally liquid glass web is here and it's open source.
0:00 / 0:20

finally liquid glass web is here and it's open source.

Tirth Parmar

@thetirthparmar1.5K followers

Visit on X
937 likesDownloadOriginal post

66,277 views #LiquidGlass

finally liquid glass web is here and it's open source. real WebGL refraction, chromatic aberration, liquid motion not usual backdrop-filter css hack. playground at code at MIT so do whatever you want with it #LiquidGlass #OpenSource #ReactJS #WebGL #UIComponents #FrontendDevelopment #CSS #JavaScript #WebDev #UI #UX #React #ComponentLibrary #OpenSourceSoftware #Frontend

35 Comments

Comments from the original post on X (Twitter)

  • Tirth Parmar's profile picture

    @thetirthparmar

    Works on any browser :)

    15 likes

  • Tirth Parmar's profile picture

    @thetirthparmar

    Github repo alternative cuz of shadow ban :(

    14 likes

  • Tirth Parmar's profile picture

    @thetirthparmar

    Guys my GitHub account got shadow banned, 404 :(

    4 likes

  • sam fitch's profile picture

    @SamSmith2049

    It’s using webgl, so I assume background image. Not refracting the DOM. This didn’t work for me because I had to rasterise everything first

    4 likes

  • Tirth Parmar's profile picture

    @thetirthparmar

    exactly, it takes a background Image prop and it samples that for refraction, so it’s a WebGL shader on a flat texture, not the live DOM. That’s why you had to rasterize first, no way around it with this approach. I also tried the SVG filter route but that had a bunch of performance issues too, especially with multiple elements or on scroll.

    4 likes

  • sam fitch's profile picture

    @SamSmith2049

    Yeah for my use case, needed to refract the live dom as rasterisation was never 1:1

  • exepert's profile picture

    @exepert_ai

    This looks sick!

    3 likes

  • irshit's profile picture

    @irshit0

    the backdrop filter blur everyone ships is fake glass it just blurs whats behind it real glass bends light through a normal map which is exactly why you need webgl to get the apple look only catch is text legibility on top tanks fast unless you tune the refraction carefully

    2 likes

  • Thiago Monteiro's profile picture

    @thiagotm

    finally someone did real refraction instead of faking it with a blur. instant bookmark

    2 likes

  • 星野白夜's profile picture

    @hoshinohatsuka

    bro, I couldn't open your GitHub page, so I cloned it to GitHub for you. but rest assured, I clearly stated that you are the original author.🤓Here is the link:

    2 likes

  • Yahia's profile picture

    @YahiaNative

    Heat 🔥

    1 like

  • Pankaj Kumar's profile picture

    @pankajkumar_dev

    loved some components man! hope u make more

    1 like

  • Pavitra Golchha's profile picture

    @PavitraGolchha

    Almost real 🤯🫡

    1 like

  • Justin Campos's profile picture

    @_justin_campos_

    Amazing! Thank you, Tirth 🙏🏻

    1 like

  • 叶子's profile picture

    @zhangxianyu1213

    👍🏻

    1 like

  • nowmo.design's profile picture

    @NowMoDesign

    Excellent 👌

    1 like

  • Nick Venturi's profile picture

    @nickventuri

    im stealing this immediately for my next landing page 🧪

    1 like

  • Ale-Hop's profile picture

    @frowsac

    git repo down.. ; (

    1 like

  • Tirth Parmar's profile picture

    @thetirthparmar

    Maybe it’s a glitch, the link from my tweet is showing 404 on my phone but it works on PC. Idk how, but here it is:

    2 likes

  • Mike Acler's profile picture

    @agilek

    @frowsac Seems your account does not exist...

    1 like