Liquid Glass Builder
How to use the liquid glass builder
UIGlass turns the liquid glass look into a set of controls you can reason about. Every slider maps to one property of the material, and the preview renders exactly the CSS you export — there is no separate “demo” code path.
- Choose an element in the top bar: button, icon button, card, pill navigation or input field.
- Shape the material — tint, frost (blur), saturation and brightness define how much of the background shows through.
- Tune the lens in Refraction: strength bends the background at the bezel, bezel width sets how wide the curved edge is, and chromatic aberration adds a subtle rainbow fringe.
- Light it — one light angle drives the rim highlight, inner glow, back-edge caustic and shading, so every layer agrees.
- Edit Hover and Pressed with the state switch. Only the properties you change are exported for those states.
- Export CSS, HTML, a React component, JSON or a complete demo page.
Tip: drag the stage to move your element over the busiest part of the scene. Refraction is easiest to judge over sharp text and stripes.
What makes it different
Most glassmorphism generators stop at a blurred, semi-transparent rectangle. UIGlass adds a real displacement lens built with SVG filters, a light model shared by every highlight and shadow, separate interaction states and accessibility fallbacks — and it still exports a single class per component.
Frequently asked
Is the builder free?
Yes. The builder and everything you export are free for personal and commercial projects. See the license for details.
Why don’t I see refraction in Safari or Firefox?
The SVG lens uses backdrop-filter: url(), which only Chromium-based browsers render today. Safari and Firefox automatically show a frosted-glass fallback — both in the builder and in your exported code. More in browser support.
Do you store my designs?
No. Your work is saved in your own browser. Share links contain the design inside the URL itself, so nothing is uploaded.