Setup & Installation
Or with the ClawHub CLI, for registry-managed skill folders outside a full OpenClaw workspace:
What This Skill Does
Covers implementing, reviewing, and improving SwiftUI features that use the iOS 26+ Liquid Glass API. Handles native APIs including `glassEffect`, `GlassEffectContainer`, and glass button styles. Includes availability gating with non-glass fallbacks for earlier iOS versions.
Using native `GlassEffectContainer` and `glassEffect` APIs avoids the visual inconsistency and performance overhead of custom blur or material layers.
When to use it
- Adding glass surfaces to a new SwiftUI screen
- Refactoring existing UI components to Liquid Glass
- Reviewing glass modifier order and container placement
- Implementing morphing transitions between view states
- Adding iOS 26 availability guards with material fallbacks
Example Workflow
Here's how your AI assistant might use this skill in practice.
User asks: Add Liquid Glass styling to my toolbar buttons
- 1Identifies toolbar buttons as target components for glass treatment
- 2Wraps buttons in GlassEffectContainer with appropriate spacing
- 3Applies .buttonStyle(.glass) or .glassEffect(.regular.interactive()) to each button
- 4Gates the implementation with #available(iOS 26, *) and provides a .ultraThinMaterial fallback for earlier iOS versions
SwiftUI code with glass-styled toolbar buttons inside a GlassEffectContainer, with an availability check and non-glass fallback for iOS 25 and earlier