liquid-glass-design

Implement iOS 26 Liquid Glass UI across SwiftUI, UIKit, and WidgetKit.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill solves the problem of implementing Apple’s iOS 26 Liquid Glass look consistently, performantly, and interactively across SwiftUI, UIKit, and WidgetKit without guessing the correct container, morphing, and rendering-mode details.

Core Features & Use Cases

  • SwiftUI Liquid Glass Patterns: Use .glassEffect() with shape, tint, and .interactive() support, and wrap siblings in GlassEffectContainer to enable morphing and better rendering performance.
  • Morphing Transitions: Coordinate @Namespace plus glassEffectID(...) to smoothly animate glass shape changes when UI elements appear or disappear.
  • UIKit Glass Integration: Configure UIGlassEffect, embed it in UIVisualEffectView, and apply the correct layering and corner-radius clipping for consistent translucency.
  • WidgetKit Liquid Glass Support: Detect widgetRenderingMode and apply widgetAccentable() and container backgrounds so widgets match accented/tinted Home Screen rendering.
  • Migration/Consistency Guidance: Update existing blur/material-style implementations to the Liquid Glass API using the Skill’s best practices and anti-patterns.

Quick Start

Ask for an iOS 26 Liquid Glass implementation plan and example code that uses GlassEffectContainer for SwiftUI, UIGlassEffect for UIKit, and widgetRenderingMode handling for a WidgetKit 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 implement iOS 26 Liquid Glass UI effects in SwiftUI?

To implement Liquid Glass in SwiftUI, apply the `.glassEffect()` modifier with shape and tint, wrap sibling views in `GlassEffectContainer` for morphing, and use `@Namespace` with `glassEffectID()` for interactive transitions.

Does UIKit support iOS 26 Liquid Glass effects?

UIKit supports Liquid Glass effects by configuring `UIGlassEffect` and embedding it within a `UIVisualEffectView`, applying correct layering and corner-radius clipping to achieve consistent translucency across your views.

What's the best way to render tinted Liquid Glass widgets in WidgetKit?

Render tinted Liquid Glass widgets by detecting `widgetRenderingMode` and applying `widgetAccentable()` alongside container backgrounds, ensuring your widgets match accented and tinted Home Screen rendering.

How do morphing transitions work with Liquid Glass containers in SwiftUI?

Morphing transitions in SwiftUI work by coordinating `@Namespace` with `glassEffectID(...)` inside a `GlassEffectContainer`, smoothly animating glass shape changes when UI elements appear or disappear.

Can I migrate existing blur and material styles to the iOS 26 Liquid Glass API?

You can migrate existing blur and material-style implementations to the Liquid Glass API using provided best practices and anti-patterns, ensuring consistent and performant translucency updates across SwiftUI and UIKit.

What are the limitations when using Liquid Glass effects for iOS 26 UI design?

Liquid Glass effects require preserving accessibility contrast across SwiftUI, UIKit, and WidgetKit, and demand correct usage of `GlassEffectContainer` and `glassEffectID` to avoid rendering performance drops and morphing inconsistencies.