swiftui-liquid-glass
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.
Why use this skill?
Master iOS 26 Liquid Glass UI with this OpenClaw skill. Get expert guidance on glass modifiers, containers, and interactive styling for high-fidelity apps.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/steipete/swiftui-liquid-glassWhat This Skill Does
The SwiftUI Liquid Glass skill is a specialized tool for developers working on iOS 26+ applications. It streamlines the implementation and refinement of the modern 'Liquid Glass' design language, which is the cornerstone of the updated Apple UI paradigm. The skill provides architectural guidance on when and how to apply the system-native GlassEffectContainer, glassEffect modifiers, and specialized glass button styles. By automating the boilerplate for availability checks and fallback materials (like older Material types), it ensures that your application maintains a high-fidelity, performant aesthetic without sacrificing backward compatibility. The skill focuses on composition, ensuring that nested glass elements are grouped efficiently within containers to reduce rendering overhead and maintain visual cohesion.
Installation
To integrate this skill into your environment, run the following command in your terminal or OpenClaw interface: clawhub install openclaw/skills/skills/steipete/swiftui-liquid-glass. Ensure your local environment is configured for the iOS 26+ SDK to take full advantage of the advanced rendering capabilities provided by the Liquid Glass API.
Use Cases
- Modernizing UI: Transitioning legacy translucent UI elements (like custom blurs) to the native Liquid Glass standard.
- Complex Layouts: Implementing layered interface elements where depth, hierarchy, and interaction are required using
GlassEffectContainer. - Component Refactoring: Standardizing buttons, chips, and card components across an app to ensure uniform tint, prominence, and interactive behavior.
- Performance Optimization: Correcting modifier ordering and container nesting to ensure the GPU handles glass effects efficiently.
- Interaction Design: Implementing morphing transitions using
glassEffectIDand@Namespacefor fluid UI state changes.
Example Prompts
- "Refactor my existing dashboard cards to use the new iOS 26 Liquid Glass API, ensuring I have a fallback for users on older iOS versions."
- "I have a group of four interactive menu chips; how should I nest these within a
GlassEffectContainerto optimize the Liquid Glass rendering?" - "Review this view code: why is my
glassEffectmodifier not showing the correct tint prominence, and how can I add a morphing transition when the view state changes?"
Tips & Limitations
- Order Matters: Always apply
.glassEffectafter layout modifiers like.padding,.frame, or.clipShape. Placing it too early in the chain can result in clipped or incorrectly calculated glass areas. - Container Usage: Avoid individual
glassEffectmodifiers on every single sub-element if they are grouped. UseGlassEffectContainerto unify the rendering pass. - Interactivity: Be judicious with
.interactive(). Only apply it to elements that are truly tappable; over-application can lead to visual noise and hit-testing performance issues. - Compatibility: Always wrap your logic in
#available(iOS 26, *)blocks. If you omit the fallback provided in the quick snippets, your app will fail to compile or appear broken on devices running iOS 25 or below.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-steipete-swiftui-liquid-glass": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Related Skills
qmd
Local search/indexing CLI (BM25 + vectors + rerank) with MCP mode.
songsee
Generate spectrograms and feature-panel visualizations from audio with the songsee CLI.
summarize
Summarize URLs or files with the summarize CLI (web, PDFs, images, audio, YouTube).
create-cli
Design command-line interface parameters and UX: arguments, flags, subcommands, help text, output formats, error messages, exit codes, prompts, config/env precedence, and safe/dry-run behavior. Use when you’re designing a CLI spec (before implementation) or refactoring an existing CLI’s surface area for consistency, composability, and discoverability.
bird
X/Twitter CLI for reading, searching, and posting via cookies or Sweetistics.