Implement, review, or improve SwiftUI features using the iOS 26+ Liquid Glass API. Use when asked to adopt Liquid Glass in new SwiftUI UI, refactor an existing feature to Liquid Glass, or review Liquid Glass usage for correctness, performance, and design alignment.
The 'swiftui-liquid-glass' skill is designed to assist in implementing, reviewing, or enhancing SwiftUI features using the iOS 26+ Liquid Glass API. It addresses the challenge of adopting and implementing the Liquid Glass aesthetic and interactions within SwiftUI, enabling developers to create visually engaging and performance-optimized user interfaces. This skill streamlines the process of incorporating modern UI features that align with Apple's guidelines, enhancing the appearance and interaction of applications without compromising performance or user experience.
The primary use of the swiftui-liquid-glass skill is to implement, review, or improve SwiftUI features using the iOS 26+ Liquid Glass API. It helps to adopt Liquid Glass in new SwiftUI UIs, refactor existing features, or ensure correct, performance-aware usage of the Liquid Glass API.
No, the skill is designed specifically for iOS 26 and later. If an app needs to support earlier versions, non-glass fallbacks should be provided using `#available(iOS 26, *)` for compatibility.
Main features include applying native Liquid Glass APIs like `glassEffect`, `GlassEffectContainer`, and interactive glass button styles. It also ensures correct modifier order, consistency in design, and provides morphing transitions for animations where necessary.
To improve performance, prioritize using native Liquid Glass APIs over custom blurs, ensure proper modifier order, and use interactive glass only for tappable or focusable elements. Avoid excessive usage of glass effects where not needed.
Quick Setup:
.claude/skills/Repository
steipete/agent-scripts