liquid-glass

Apply the iOS 26 glassEffect modifier with placement and ordering rules.

32|10|Updated Feb 21, 2026
One-click install
npx skills add https://github.com/moasq/nanowave --skill liquid-glass-moasq
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: liquid-glass
Source: https://github.com/moasq/nanowave/tree/main/internal/orchestration/skills/ui/liquid-glass
Command: npx skills add https://github.com/moasq/nanowave --skill liquid-glass-moasq

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps developers correctly implement the new iOS 26 Liquid Glass material, ensuring proper placement, modifier ordering, and interactivity for a consistent and modern UI.

Core Features & Use Cases

  • Apply .glassEffect(): Understand where to use the glassEffect modifier on various UI elements like list rows, buttons, and toolbars.
  • Placement Rules: Learn what elements are suitable for glass effects and which should remain opaque.
  • Modifier Ordering: Crucially, understand the correct order of applying glassEffect relative to other modifiers like padding.
  • Interactivity Constraints: Differentiate between interactive and static glass effects.
  • Grouping: Use GlassEffectContainer for adjacent glass elements.
  • Prominence & Tinting: Control the emphasis and color of glass effects.
  • Use Case: Applying a subtle, interactive glass effect to a list row background while maintaining readability and correct visual hierarchy.

Quick Start

Apply the .glassEffect modifier with .regular prominence to a list row background, ensuring it's applied after padding.

Frequently Asked Questions about liquid-glass

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

FAQPage Schema
How do I apply the iOS 26 Liquid Glass material in SwiftUI?

To apply the iOS 26 Liquid Glass material in SwiftUI, use the `.glassEffect()` modifier on UI elements like list rows, buttons, and toolbars. You can specify prominence levels to control the visual emphasis of the glass effect.

What is the correct modifier ordering for SwiftUI glass effects?

The correct modifier ordering for SwiftUI glass effects requires applying `.glassEffect()` after other modifiers like padding. This ensures the Liquid Glass material renders correctly across the intended bounds without clipping layout constraints.

Can I group adjacent Liquid Glass elements in a SwiftUI toolbar?

Yes, you can group adjacent Liquid Glass elements in SwiftUI using `GlassEffectContainer`. This groups interactive and static glass effects properly, ensuring consistent rendering and interactivity for adjacent UI elements like tab bars.

When should I avoid using the glassEffect modifier on iOS 26?

You should avoid using the `glassEffect` modifier on elements that should remain opaque. The placement rules dictate specific UI components suitable for glass effects to maintain readability and correct visual hierarchy within your interface.

How do I control tinting and prominence for Liquid Glass UI elements?

You control tinting and prominence for Liquid Glass UI elements by adjusting the parameters within the `.glassEffect()` modifier. This allows you to differentiate between interactive and static elements while applying subtle background colors.

Does the iOS 26 glassEffect modifier support interactive list rows?

Yes, the iOS 26 `glassEffect` modifier supports interactive list rows. You can apply a subtle, interactive glass effect to a list row background while maintaining readability and the correct visual hierarchy using `.regular` prominence.