New Real SVG refraction

Liquid Glass
for the web.

15 accessible components and an AI skill that teach your coding agent real refraction, specular light and spring motion. Pure CSS and vanilla JS, no build step.

Browse components
$ npx skills add jcm-developer/liquid-glass-components
Refraction
SVG displacement map
60
15Components
6AI agents
0Dependencies
MITLicense
01 · What's inside

The material, not a filter.

Liquid Glass is more than blur. It bends light, catches highlights and reacts to touch. Every piece here does the same.

15 chrome-layer components

Bars, controls and overlays. The parts of an interface that float above content, which is the only place glass belongs.

Real refraction

SVG displacement maps bend the backdrop like a lens, with clean fallbacks outside Chromium.

Spring physics

Native CSS linear() springs. Selections stretch, overshoot and settle like iOS.

Claude Code
Cursor
Copilot
Codex
Gemini CLI
Windsurf

Built for your agent

One skill, six agents. Your AI writes glass that follows the rules instead of guessing.

prefers-reduced-transparencySolid fallback
prefers-reduced-motionStatic
prefers-contrast: moreHard edges
forced-colors: activeSystem colors

Accessible by default

Every component ships with fallbacks for transparency, motion, contrast and forced colors, plus WCAG AA text.

Zero dependencies

Copy a CSS file, add a class, ship it. No framework, no build step.

02 · Components

See them in action.

03 · Playground

Tune the glass.

Every optical parameter is live. Push the refraction, thin the bezel, change the light, then copy the tokens straight into tokens.css.

Wallpaper
48
22px
2px
0.08
0.60
0.50

          
Live preview

Liquid Glass

A clear, refractive surface that keeps whatever is underneath legible and alive.

04 · Install

Teach your agent Liquid Glass.

  1. 1
    Add the skill

    One command for Claude Code and Gemini CLI, a rules file for the rest.

  2. 2
    Ask for a component

    "Make my navbar Liquid Glass." The agent reads the tokens, snippets and rules first.

  3. 3
    Ship it accessible

    Contrast, reduced transparency and reduced motion are handled for you, not left as homework.

.claude/skills/liquid-glass/SKILL.md

        

Make it feel liquid.

Free, open source and ready for your next interface.

Copied to clipboard

glass-button.css

GitHub

  

Spatial Audio

Sheets float above everything else, dim what is behind them and close with Escape. Built on the native <dialog> element.