liquid-glass-design

Generate a liquid glass effect using SVG displacement maps and backdrop-filter.

28|2|Updated Feb 5, 2026
One-click install
npx skills add https://github.com/labs21-dev/agents-stack --skill liquid-glass-design-labs21-dev
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: liquid-glass-design
Source: https://github.com/labs21-dev/agents-stack/tree/main/skills-optional/using-design/liquid-glass-design
Command: npx skills add https://github.com/labs21-dev/agents-stack --skill liquid-glass-design-labs21-dev

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Builds and evaluates Apple-like liquid glass effects in web UIs using CSS backdrops, SVG displacement maps, and refraction modeling, helping designers and developers prototype glassy UI elements without committing to production-grade cross-browser support.

Core Features & Use Cases

  • Reusable patterns for bezel and lens profiles (convex squircle, lip, etc.) to drive realistic refraction behavior.
  • Lightweight pipeline to generate a displacement map, encode it into an SVG filter, and apply it as a live backdrop in Chromium-based environments.
  • Use cases include search boxes, sliders, switches, and magnifiers in prototypes where appearance matters more than production parity.

Quick Start

Apply a Chromium-backed backdrop-filter using a convex squircle profile with a moderate refractive index (around 1.5) to start prototyping a liquid glass UI.

Frequently Asked Questions about liquid-glass-design

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create a liquid glass UI effect in the browser?▼

You create a liquid glass effect by computing a displacement map from a convex squircle profile and applying it via a live CSS backdrop-filter. This approach renders refractive visuals for UI elements like search boxes and sliders in browser prototypes.

How does SVG displacement map modeling work for glass refraction?▼

SVG displacement map modeling encodes a normalized displacement field from a convex squircle profile into an SVG filter. It applies Snell's law-inspired refraction to distort the backdrop, composing specular highlights for realistic glass refraction.

Does the liquid glass backdrop-filter work across all web browsers?▼

The liquid glass backdrop-filter applies primarily to Chromium-based UIs. It targets prototypes and design explorations where appearance matters, but production readiness and cross-browser parity are not required.

Can I use CSS backdrop-filter for production-ready glass UI elements?▼

You should not use this CSS backdrop-filter approach for production-ready glass UI elements. It is designed for prototypes and design explorations where appearance matters but production readiness and cross-browser parity are not required.

What refractive index should I use to prototype a glass UI with SVG filters?▼

To prototype a glass UI with SVG filters, use a moderate refractive index around 1.5. Apply this with a Chromium-backed backdrop-filter using a convex squircle profile to start rendering the liquid glass effect.