wmasfoe/md-editor / .agents/skills/liquid-glass-ui-design
liquid-glass-ui-design
VerifiedDesign and implement authentic Apple Liquid Glass UI and physics-based optical glass controls on the web. Covers multi-pass refractive shaders, SDF displacement maps, chromatic dispersion, specular highlight arcs, spring-physics transitions, and Apple HIG design principles for glass materials.
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 1.6 KB |
SKILL.md
View on GitHub---
name: liquid-glass-ui-design
description: >
Design and implement authentic Apple Liquid Glass UI and physics-based optical glass controls on the web.
Covers multi-pass refractive shaders, SDF displacement maps, chromatic dispersion, specular highlight arcs,
spring-physics transitions, and Apple HIG design principles for glass materials.
---
# Liquid Glass UI Design Skill
## 1. Core Principles (Apple HIG & Physics-Based Glass)
1. **Physical Authenticity**: Real glass bends light, refracts content, disperses RGB wavelengths at the contour, and reflects environment highlights. It is never just a flat translucent white rectangle or Gaussian blur.
2. **Hierarchy & Purpose**: Glass is for interactive controls, floating toolbars, and navigation chrome, not heavy text body backgrounds.
3. **Multi-Layer Optical Anatomy**:
- **Layer 1: Ambient Track / Environment**: Soft translucent backing with high saturation boost (`saturate(180~200%)`).
- **Layer 2: SDF Refraction Lens**: Physical coordinate displacement (`feDisplacementMap` / SDF shader) with RGB chromatic aberration.
- **Layer 3: Specular Highlight Rim**: Top 1~1.5px pure white diamond highlight arc capturing directional ambient light.
- **Layer 4: Interactive Floating Shadow**: Soft ambient contact shadow + deep floating elevation shadow when lifted/dragged.
4. **Motion & Fluid Interaction**:
- Motion uses Apple fluid deceleration curves (`cubic-bezier(0.16, 1, 0.3, 1)` or underdamped springs).
- Touch/drag lifts the glass droplet with subtle scale (`1.02~1.04x`) and deeper elevation shadow.
- Transitions glide smoothly between discrete anchor positions rather than jumping.
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| brainstormingobra/superpowersYou MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation). | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| brand-guidelinesanthropics/skillsApplies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| frontend-designanthropics/skillsGuidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| mcp-builderanthropics/skillsGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK). | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |