What problem does it solve?
SwiftUI developers need a clear, reusable approach to implement, review, and refine Liquid Glass effects across iOS 26+. This Skill covers the core APIs (glassEffect, GlassEffectContainer, glassEffectID, glassEffectUnion, and related modifiers) and guidance for accessibility, performance, and availability gating.
Core Features & Use Cases
- GlassEffect modifier for individual views to achieve translucent surfaces that react to interaction.
- GlassEffectContainer to group multiple glass views for unified rendering and morphing.
- glassEffectID and glassEffectUnion to drive smooth transitions and dynamic composition.
- Standard button styles (.glass and .glassProminent) to ensure consistent interactivity.
- Availability gating with if #available(iOS 26, *) and a fallback UI.
Quick Start
Apply the .glassEffect modifier after layout modifiers, group related views in a GlassEffectContainer, and gate usage with if #available(iOS 26, *) to provide a fallback for earlier OS versions.