liquid-glass-design

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

Updated Mar 25, 2026
One-click install
npx skills add https://github.com/Femad-6/my-skills --skill liquid-glass-design-femad-6
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: liquid-glass-design
Source: https://github.com/Femad-6/my-skills/tree/main/.github/skills/liquid-glass-design
Command: npx skills add https://github.com/Femad-6/my-skills --skill liquid-glass-design-femad-6

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Adopting Apple's iOS 26 Liquid Glass design language requires learning new APIs for glass materials, morphing transitions, and tinted widget rendering, and mistakes like missing containers or wrong modifier order degrade performance and visuals. ## Core Features & Use Cases - SwiftUI Glass Effects: Apply .glassEffect() with tint, shape, and interactive options, plus GlassEffectContainer for merging and morphing multiple glass elements. - UIKit Integration: Use UIGlassEffect, UIGlassContainerEffect, scroll edge effects, and toolbar glass customization for UIKit-based screens. - WidgetKit Support: Handle accented rendering modes, accent groups, and container backgrounds so widgets match tinted Home Screen appearances. - Use Case: When migrating an app's card-based UI to iOS 26, wrap sibling cards in a GlassEffectContainer with proper spacing and use glassEffectID with a namespace to animate smooth morphing transitions. ## Quick Start Use the liquid-glass-design skill to add a Liquid Glass effect with a morphing transition to my SwiftUI view.

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 layout modifiers like padding and frame. Customize it with `.tint(Color)`, `.interactive()`, and a shape such as `.rect(cornerRadius:)` or the default capsule.

How to create morphing transitions between glass elements in SwiftUI?

Wrap the elements in a `GlassEffectContainer`, assign each a `glassEffectID` with a shared `@Namespace`, and toggle visibility inside `withAnimation`. The system morphs glass shapes smoothly as views appear or disappear.

Does Liquid Glass work in UIKit apps?

Yes, UIKit supports Liquid Glass through `UIGlassEffect` applied to a `UIVisualEffectView`, with tint color and interactivity options. Use `UIGlassContainerEffect` to group multiple glass views, and set `clipsToBounds` when using corner radii.

How do widgets support the iOS 26 tinted Home Screen mode?

Detect the mode with the `widgetRenderingMode` environment value and mark views with `.widgetAccentable()` to join the accent group. Use `.widgetAccentedRenderingMode(.monochrome)` on images so they render correctly in accented mode.

Why do multiple glass effects look wrong or perform poorly?

Standalone `.glassEffect()` views without a `GlassEffectContainer` cannot merge or morph and hurt rendering performance. Wrap sibling glass views in a container and tune its `spacing` parameter to control when shapes blend together.