Liquid Glass logo

Liquid Glass

Community
stormaref
liquid-glass

Liquid glass — Apple-style frosted, refracting surfaces. Use when the user asks for glassmorphism, frosted/translucent panels, cards, menus or a glass topbar; when a glass surface looks wrong (gray, flat, invisible, unreadable text); or when another skill needs the glass recipe.

Overview

Publisherstormaref
RepositoryLiquidGlassSkill
Skill nameliquid-glass
Stars
20
Forks
1
Bundled files
5
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 5 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by stormaref on GitHub. Read the source before you install it.

Installation

Install the Liquid Glass AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/stormaref/LiquidGlassSkill/tree/main/plugins/liquid-glass/skills/liquid-glass
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/stormaref/LiquidGlassSkill.git /tmp/LiquidGlassSkill
mkdir -p .claude/skills
cp -r /tmp/LiquidGlassSkill/plugins/liquid-glass/skills/liquid-glass .claude/skills/liquid-glass
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Liquid Glass in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Liquid Glass on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Liquid Glass is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Liquid Glass

Glass is two layers, and the CSS one is not the interesting one.

  1. CSS paints the tint and the rim — a near-transparent white→gray gradient plus three inset highlights that read as a polished edge. This is what most "glassmorphism" snippets stop at.
  2. Refraction bends the backdrop through the panel's edge, the way real glass does: a displacement map baked per element and consumed as backdrop-filter: url(#filter). This is what makes it liquid rather than a blurred rectangle.

They ship as a pair — a class and a directive on the same element:

html
<div class="liquid-glass" appLiquidGlass>…</div>

assets/liquid-glass.css is the CSS layer, self-contained (its own tokens, light and dark). assets/liquid-glass.directive.ts is the refraction layer for Angular. Any other framework: port it, see references/refraction.md — the port is transcription, not design.

The four rules

Each of these has one failure mode, and in every case the browser shows you something plausible instead of an error.

1. Glass needs a backdrop. Build it first.

Glass shows what is behind it. Behind a flat background there is nothing to show, so the panel renders as a faintly outlined gray box and the effect reads as broken — which sends people reaching for more blur and more opacity, the exact move that kills it.

So the ambient mesh is part of the recipe, not decoration: off-screen radial glows in a few hues (violet / pink / cyan), fixed to the viewport behind the content. Colour that the glass can pick up.

html
<body class="liquid-glass-backdrop">

Verify this before styling a single panel: the page must look subtly uneven with no glass on it at all.

2. The glass is colorless — the colour arrives from behind.

The tint is white→70%-gray at 6% alpha in both themes. That is deliberate: hue in the tint fights the hue coming through the panel and the surface turns muddy. If a surface must be branded (a primary CTA, a FAB), override the tint locally and leave the rim, the border and the refraction alone:

scss
.my-fab {
  /* refraction still comes from the directive */
  background: linear-gradient(155deg, rgba(79, 70, 229, 0.55), rgba(67, 56, 202, 0.42));
  border: 1px solid rgba(79, 70, 229, 0.5);
}

3. A child of a glass panel paints no surface of its own.

No background, no border, no second radius — the panel already supplies all three. An opaque fill paints over the refracted backdrop, which is the whole effect; a nested border draws a hard edge across the rim. Panels inside a glass dock, rows inside a glass card, a header band inside a glass section: all transparent, separated by spacing and type weight instead.

The cost of getting this wrong is a surface that reads darker and deader than its neighbours, and nothing points at the cause.

4. Refraction is progressive enhancement, and you cannot feature-query it.

backdrop-filter referencing an SVG filter renders in Chromium only. Safari parses it and paints nothing — so @supports reports success and the panel goes blank. Gate on engine (navigator.userAgentData.brands, Chrome/ in the UA), and let everything else keep the stylesheet's plain backdrop-filter: blur(3px) saturate(125%) fallback. The directive already does this; keep it if you port.

Pick the tier

Refraction bakes a canvas displacement map per element size, so it is priced per surface. Match the tier to the element:

TierWhat it isUse for
liquid-glass-chiptokens + blur(6px), no directivechips, pills, badges, anything small or repeated in bulk
liquid-glass + directivethe full effectcards, panels, topbars, circular controls, FABs
liquid-glass-menublur(22px) + a 55% wash of the overlay surface, no directivedropdowns, popovers, context menus
liquid-glass liquid-glass--modal + directiveglass with an opaque frost layer over the tintdialogs

The menu and modal tiers exist for the same reason: text has to stay readable. A dropdown floats over arbitrary page content and a dialog over a scrim, so both trade some transparency for a wash — a menu through heavy blur, a modal through a theme-flipping frost (white in light, dark in dark). Do not "fix" either back to plain .liquid-glass.

Adding glass to a project

  1. Copy assets/liquid-glass.css in and link it. Confirm the app sets data-theme="light|dark" on <html> before first paint — the CSS keys both themes off that attribute; the file header carries the boot snippet.
  2. Put liquid-glass-backdrop on the page shell. Stop and look: uneven, colored, no panels yet.
  3. Apply a tier per element. Radius stays on the element (the directive reads the computed border-radius to shape the map).
  4. Non-Angular: port the directive per references/refraction.md.
  5. Walk the checklist below. Every line is a bug someone shipped.

Checklist

  • The backdrop is visible with all glass removed.
  • No child of a glass panel sets background or border.
  • Both themes valued for every token you added, and both eyeballed — a rim tuned for dark disappears on white.
  • Text on glass stays legible over the busiest part of the backdrop, not the calm part you happened to screenshot.
  • Non-Chromium (or directive removed): still a decent frosted panel, nothing blank.
  • Chips and repeated elements are on the CSS-only tier, not the directive.
  • Nothing hardcodes a hex where a token exists.

More variants, hover, and the pitfalls behind each rule: references/recipes.md.

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Liquid Glass AI skill do?

Liquid glass — Apple-style frosted, refracting surfaces. Use when the user asks for glassmorphism, frosted/translucent panels, cards, menus or a glass topbar; when a glass surface looks wrong (gray, flat, invisible, unreadable text); or when another skill needs the glass recipe.

Why use Liquid Glass on TypingMind?

Because you install it once and use it with any model. Liquid Glass is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Liquid Glass in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/stormaref/LiquidGlassSkill/tree/main/plugins/liquid-glass/skills/liquid-glass. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Liquid Glass?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Liquid Glass?

As many as you like. As long as a model supports skills, you can use Liquid Glass with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Liquid Glass AI skill free?

Yes. It is published on GitHub by stormaref under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇