swiftui-liquid-glass

Implement and review SwiftUI Liquid Glass patterns with GlassEffectContainer APIs.

3|2|Updated Jan 18, 2026
One-click install
npx skills add https://github.com/dagba/ios-mcp --skill swiftui-liquid-glass-dagba
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: swiftui-liquid-glass
Source: https://github.com/dagba/ios-mcp/tree/main/skills/swiftui-liquid-glass
Command: npx skills add https://github.com/dagba/ios-mcp --skill swiftui-liquid-glass-dagba

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill guides developers on applying iOS 26+ Liquid Glass visuals in SwiftUI, enabling modern glassy interfaces that are performant and accessible.

Core Features & Use Cases

  • Guided adoption of Liquid Glass primitives (View.glassEffect, GlassEffectContainer) in SwiftUI.
  • Design review & refactor to ensure correct modifier order, shapes, and availability guards.
  • Quick integration into new or existing SwiftUI views for a glassy UI that adapts to system themes.

Quick Start

Use this skill to apply the SwiftUI Liquid Glass effect to a view by calling .glassEffect(), and group related views with GlassEffectContainer to enable morphing and shared blur. Guard iOS 26+ with #available(iOS 26, *) and provide a fallback for earlier systems.

Frequently Asked Questions about swiftui-liquid-glass

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

FAQPage Schema
How do I apply Liquid Glass effects in SwiftUI?

To apply Liquid Glass effects in SwiftUI, call .glassEffect() on individual views and group related views using GlassEffectContainer APIs to enable morphing and shared blur across glass surfaces.

Does Liquid Glass in SwiftUI work on iOS versions older than 26?

Liquid Glass targets iOS 26+ projects, but you can support earlier versions by using #available(iOS 26, *) availability guards to check compatibility and provide fallback UI for older systems.

What is GlassEffectContainer used for in SwiftUI UI morphing?

GlassEffectContainer groups related glass views in SwiftUI to enable morphing and shared blur within a cohesive glass container, creating modern interfaces that adapt to system themes.

Do I need external runtime dependencies to use SwiftUI Liquid Glass?

No external runtime dependencies are required. SwiftUI Liquid Glass relies solely on native SwiftUI, GlassEffectContainer APIs, and iOS availability guards to create glass surfaces and interactive components.

Why are availability guards needed when building glass surfaces in SwiftUI?

Availability guards are needed when building glass surfaces in SwiftUI to prevent crashes on older iOS versions. Using #available(iOS 26, *) ensures Liquid Glass APIs execute only on supported systems.