Light that bends like the real thing.

Depth, dispersion, frost, splay, refraction — the same five controls you know from Figma, rendered live in WebGL2 on any shape you draw.

Open the editor See examples Star on GitHub

Free and open source. A star is the whole thank-you I'm after.

Examples

Every preset, on a real component.

One backdrop, twelve pieces of glass, twelve different recipes. The label under each piece names the preset it uses — and all of it is clickable, so you can watch the material react.

01

Side navigation

Figma default — the calibration reference. Pick an icon.

Figma default
02

Command palette

A razor-sharp lens over a heavy frosted sheet. Click the bar, or press ⌘K, to open and close it.

Reading lens
Frosted card
03

Action pills

Maximum colour next to near-zero colour. Both toggle.

Prism
Smoked glass
04

Agent switcher

Thick rounded rim, strong bend, almost no haze. Opens a hazier menu.

Research Write a draft Review the code
Water droplet · menu on Vapour
05

Segmented bar

Restrained enough to sit behind real navigation. Try a segment.

LG
Subtle UI glass
06

Controls

Drag the slider, flip the switch. Liquid metal against cut crystal.

Refraction
Mercury
Depth
Crystal
07

Content card

Deepest tint on the board, with a bright-rimmed button on top.

Title on card

Refraction reads the light behind the panel, so the surface changes as the backdrop moves. Nothing here is a static image.

Frost 5 · Splay 0
Onyx · button on Halo
How it works

What this is, and why it matters.

Figma's glass effect bends the backdrop behind a shape. CSS can blur that backdrop, but it cannot bend it — so handed-over designs never quite match. This renders the real thing in a shader.

Step 01

Draw or paste a shape

Use the built-in shapes, draw your own, or paste SVG straight out of Figma. The glass takes that outline exactly.

Step 02

Dial in the same numbers

The controls are calibrated against Figma's, so a value copied from the design panel lands on the same result here.

Step 03

Take it to your site

Export the config, or copy a ready-made prompt that carries your settings into your own project.

Depth 80 Dispersion 100 Frost 5 Splay 0 Refraction 100
Start

See it on your own image.

Free, no sign-up, runs entirely in your browser.

No framework, no dependencies — one WebGL2 shader, built solo over a lot of late nights. It stays free either way. A star is just how I know it was worth it.

Star on GitHub