DEV Community

Cover image for Liquid Glass Shaders vs. Flat Figma Rectangles: Designing for Spatial UI in 2026
shinoj cm
shinoj cm

Posted on

Liquid Glass Shaders vs. Flat Figma Rectangles: Designing for Spatial UI in 2026

Flat grey cards have defined web design since 2013. But with spatial computing and visionOS, users expect interfaces with physical optical presence.

CSS backdrop-filter: blur(20px) is flat. True liquid glass requires dynamic refraction, chromatic dispersion, and surface highlights.

Liquid Glass Dynamic Surface
Figure 1: Hardware-accelerated frosted glass refraction running on WebGL.

Snell’s Law in WebGL

// Fragment shader dispersion
float r = texture2D(u_texture, uv + refractOffset * 1.04).r;
float g = texture2D(u_texture, uv + refractOffset * 1.00).g;
float b = texture2D(u_texture, uv + refractOffset * 0.96).b;
Enter fullscreen mode Exit fullscreen mode

Dark Mode Transition Shaders
Figure 2: Smooth refractive theme transitions in ExodeUI.

While Figma can only draw static grey rectangles, ExodeUI compiles real-time shaders for production. Read our guide to Rive alternatives for advanced vector motion.


πŸš€ Experience Code-Native Design with ExodeUI

Tired of paying the "Figma Tax" and spending half your sprint translating static mockups into code?

  • 🌐 Compare Tooling: Looking for runtime-free motion design tools? Compare the leading Rive alternatives in 2026.
  • ⚑ Launch Web Canvas Studio: app.exodeui.com
  • πŸ“¦ Install via NPM: npm install exodeui
  • πŸ’» Multi-Framework Export: First-class support for React, Vue, Svelte, Solid, and Angular.

What is your biggest frustration with Figma in your daily workflow? Let us know in the comments below!

Top comments (0)