liquid-glass-design

Implements iOS 26 Liquid Glass effects in SwiftUI, UIKit, and WidgetKit.

Updated Mar 18, 2026
One-click install
npx skills add https://github.com/freedom909/real-estate-saas --skill liquid-glass-design-freedom909
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: liquid-glass-design
Source: https://github.com/freedom909/real-estate-saas/tree/main/.trae/skills/liquid-glass-design
Command: npx skills add https://github.com/freedom909/real-estate-saas --skill liquid-glass-design-freedom909

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Adopting Apple's iOS 26 Liquid Glass design language requires learning new APIs for blur materials, morphing transitions, and tinted widget rendering across three frameworks, and mistakes like missing containers or ignored accented modes degrade performance and appearance. ## Core Features & Use Cases - SwiftUI Glass Patterns: Apply .glassEffect() with tint, shape, and interactive modifiers, plus GlassEffectContainer for merging and morphing multiple glass elements. - UIKit Integration: Use UIGlassEffect and UIGlassContainerEffect with UIVisualEffectView, scroll edge effects, and toolbar glass customization. - WidgetKit Support: Handle accented rendering modes, accent groups, and container backgrounds so widgets match tinted Home Screens. - Use Case: When migrating an app's card-based UI to iOS 26, wrap sibling cards in a GlassEffectContainer with glassEffectID and withAnimation to get smooth morphing transitions between expanded and collapsed states. ## Quick Start Use the liquid-glass-design skill to add a morphing glass effect to my SwiftUI toolbar buttons.

Frequently Asked Questions about liquid-glass-design

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I add a Liquid Glass effect to a SwiftUI view?▼

Apply the `.glassEffect()` modifier after your appearance modifiers like padding and font. Customize it with `.regular.tint(.orange).interactive()` and pass a shape such as `.rect(cornerRadius: 16)` or the default capsule.

How to create morphing transitions between glass elements in SwiftUI?▼

Wrap the views in a `GlassEffectContainer`, assign each a `glassEffectID` with a shared `@Namespace`, and toggle visibility inside `withAnimation`. The container animates the glass shapes merging and separating smoothly.

Does UIKit support the iOS 26 Liquid Glass effect?▼

Yes, UIKit provides `UIGlassEffect` used with `UIVisualEffectView`, supporting tintColor and isInteractive. For multiple glass elements, use `UIGlassContainerEffect` with a spacing parameter, mirroring the SwiftUI container pattern.

Why should multiple glass views use GlassEffectContainer?▼

GlassEffectContainer improves rendering performance and enables morphing between sibling glass elements. Multiple standalone `.glassEffect()` views without a container lose merge behavior and degrade visual quality.

How do widgets handle the tinted Home Screen appearance?▼

Detect `.accented` via the `widgetRenderingMode` environment value and mark views with `.widgetAccentable()` to join the accent group. Images can use `.widgetAccentedRenderingMode(.monochrome)` so they render correctly in tinted mode.

When should I avoid applying glass effects?▼

Avoid nesting many glass effects or applying glass to every view, since it hurts performance and clarity. Reserve glass for interactive elements, toolbars, and cards, and never place opaque backgrounds behind glass.