/qadri-design:liquid-glassfrom qadri-design
Build and migrate SwiftUI apps for iOS 26+, macOS 26 (Tahoe), and other Apple platforms using the Liquid Glass design system. Covers .glassEffect(), .backgroundExtensionEffect(), .buttonStyle(.glass), GlassEffectContainer, glass toolbars, tab bars, sheets, and navigation patterns.
Ships in qadri-design. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Build and migrate SwiftUI apps using Apple's Liquid Glass design language introduced at WWDC 2025. This skill covers iOS 26, iPadOS 26, macOS 26 (Tahoe), watchOS 26, tvOS 26, and visionOS 26.
Always fetch the latest Apple developer documentation when implementing Liquid Glass features. The APIs may evolve between OS betas. Key documentation URLs to reference:
https://developer.apple.com/documentation/SwiftUI/Applying-Liquid-Glass-to-custom-viewshttps://developer.apple.com/documentation/swiftui/view/glasseffect(_:in:)https://developer.apple.com/documentation/SwiftUI/Landmarks-Building-an-app-with-Liquid-Glasshttps://developer.apple.com/videos/play/wwdc2025/323/ (WWDC25 Session: Build a SwiftUI app with the new design)Liquid Glass is a translucent, dynamic material exclusively for the navigation layer (toolbars, tab bars, buttons, controls) that floats above app content. It bends and refracts light in real-time, responds to device motion with specular highlights, and adapts continuously to background content.
Never apply glass to content itself (lists, tables, media, text blocks). Glass is for controls and navigation only.
// Basic - capsule shape (default)
Text("Label")
.padding()
.glassEffect()
// With shape and style
Image(systemName: "heart.fill")
.padding()
.glassEffect(.regular, in: .rect(cornerRadius: 16))
// Tinted glass
Text("Tinted")
.padding()
.glassEffect(.regular.tint(.blue))
// Interactive glass (scales, bounces, shimmers on touch - iOS only)
Button("Tap Me") { }
.glassEffect(.regular.interactive())
| Style | Use Case | Transparency |
|---|---|---|
.regular | Standard UI: toolbars, buttons, nav bars | Medium |
.clear | Media-rich backgrounds where content is bold/bright | High |
.identity | Conditionally disable glass (accessibility) | None |
Glass cannot sample other glass. Nearby glass elements MUST share a container for visual consistency and morphing.
GlassEffectContainer(spacing: 30.0) {
Button("Action 1") { }
.glassEffect()
.glassEffectID("btn1", in: namespace)
Button("Action 2") { }
.glassEffect()
.glassEffectID("btn2", in: namespace)
}
Use @Namespace + glassEffectID inside a GlassEffectContainer for smooth glass morphing:
@Namespace private var namespace
@State private var isExpanded = false
GlassEffectContainer(spacing: 16) {
if isExpanded {
ForEach(items) { item in
ItemView(item: item)
.glassEffect(.regular, in: .rect(cornerRadius: 24))
.glassEffectID(item.id, in: namespace)
}
}
Button {
withAnimation { isExpanded.toggle() }
} label: { Label("Toggle", systemImage: "chevron.down") }
.buttonStyle(.glass)
.glassEffectID("toggle", in: namespace)
}
Extends and blurs visual content behind navigation elements (toolbars, sidebars, inspectors):
Image(landmark.backgroundImageName)
.resizable()
.aspectRatio(contentMode: .fill)
.frame(minWidth: 0, maxWidth: .infinity, minHeight: 0, maxHeight: .infinity)
.backgroundExtensionEffect()
// Standard glass button
Button("Action") { }
.buttonStyle(.glass)
// Prominent glass button (for primary actions)
Button("Save") { }
.buttonStyle(.glassProminent)
Toolbar items automatically receive glass styling. Use ToolbarSpacer and ToolbarItemGroup for layout:
.toolbar {
ToolbarSpacer(.flexible)
ToolbarItem { ShareLink(item: data, preview: preview) }
ToolbarSpacer(.fixed)
ToolbarItemGroup {
Button("Favorite", systemImage: "heart") { }
Button("Add", systemImage: "plus") { }
}
ToolbarItem {
Button("Info", systemImage: "info") { }
}
}
.toolbar(removing: .title) // Remove title for clean glass toolbar
Tab bars automatically adopt glass when compiled with Xcode 26:
TabView {
Tab("Home", systemImage: "house") { HomeView() }
Tab("Search", systemImage: "magnifyingglass") { SearchView() }
}
.tabBarMinimizeBehavior(.onScrollDown) // Collapse tab bar on scroll
Partial-height sheets automatically get Liquid Glass backgrounds:
.sheet(isPresented: $showSheet) {
SheetContent()
.presentationDetents([.medium, .large])
// Do NOT add .presentationBackground() - system handles it
}
For detailed migration steps, see references/migration-guide.md.
Summary:
.toolbarBackground)GlassEffectContainer.backgroundExtensionEffect() to hero imagesFor platform-specific details, see references/platform-specifics.md.
Key differences:
.tint(.clear) on glass buttons for proper rendering; use WindowBackgroundShapeStyle.windowBackground instead of Material for editing backgrounds.interactive() works; use UIDevice.current.userInterfaceIdiom for layout#if os(macOS) / #if os(iOS) for platform-specific codeFor detailed pitfalls and solutions, see references/pitfalls-and-solutions.md.
Critical issues:
GlassEffectContainer produce inconsistent visualsrotationEffect on glass views causes shape morphing - bridge to UIKit with UIGlassEffectButtonStylecontentShape() to fixCABackdropLayer instances (3 offscreen textures each) - use containers to groupFor complete code patterns from Apple's Landmarks sample app, see examples/landmarks-patterns.md.
@Environment injectionToolbarSpacer(.flexible) and ToolbarSpacer(.fixed) for toolbar layout.symbolVariant() modifier for SF Symbol state changes.symbolEffect(.drawOn) for animated icon transitionsWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
liquid-glass, swiftui, apple-design, wwdc2025, glass-effect, ios26
npx claudepluginhub qadri-uk/claude-skills --plugin qadri-design176 skills in this plugin
/accessibility-agentsWCAG 2.2 AA enforcement as a package of Agent Skills: router skills for web UI, full-site audits,
Office/PDF/ePub documents, markdown, desktop and Python tooling, and GitHub workflows dispatch
specialist, helper and reference skills by name.
/accessibility-auditAudit an existing interface against WCAG, producing findings with severity ratings and remediation steps. Use when you have a design or build to assess now. Not for planning future sessions with assistive-technology users — use `accessibility-test-plan` (prototyping-testing)./accessibility-catalogueDomain navigator for accessibility, WCAG compliance, performance auditing,
and code quality skills. Routes to the right skill for a11y remediation,
WCAG 2.2 audits, Core Web Vitals, React quality, and motion performance.
2 plugins ship this exact skill · first indexed Jul 18, 2026
Other plugins' skills for the same job