liquid-glass-design

Render dynamic liquid-glass materials for iOS 26+ UI components.

1|Updated Mar 18, 2026
One-click install
npx skills add https://github.com/xxih/ai-harness-zh --skill liquid-glass-design-xxih
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: liquid-glass-design
Source: https://github.com/xxih/ai-harness-zh/tree/main/references/translations/everything-claude-code/docs/zh-CN/skills/liquid-glass-design
Command: npx skills add https://github.com/xxih/ai-harness-zh --skill liquid-glass-design-xxih

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Implementing a consistent, performant Liquid Glass visual language across SwiftUI, UIKit, and WidgetKit is complex and error-prone; this Skill condenses patterns and API guidance to help teams add blur, tint/reflection, and interactive deformation without breaking performance or accessibility.

Core Features & Use Cases

  • Cross-framework patterns: Concrete guidance for SwiftUI, UIKit, and WidgetKit integration so designs remain consistent across views, toolbars, and widgets.
  • Container-based compositing & performance: Use GlassEffectContainer / UIGlassContainerEffect patterns to merge multiple glass elements, control spacing, and reduce redundant rendering.
  • Interactive deformation & transitions: Namespace-driven IDs and animation patterns enable smooth morphing between UI states while preserving accessibility contrast.
  • Use Case: Build a translucent, interactive card and toolbar system plus themed widgets that respond to touch/pointer input and system accent colors on iOS 26+.

Quick Start

Wrap related views in a GlassEffectContainer and apply .glassEffect() (or the UIGlassEffect/UIVisualEffectView equivalents) to enable Liquid Glass rendering with proper spacing and interactive behavior.

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 liquid glass effects in SwiftUI and UIKit for iOS 26?

Liquid glass materials in iOS 26 are dynamic visual treatments that apply blur, tint, reflection, and interactive deformation to UI components. They are used for buttons, cards, toolbars, and widgets to create a consistent translucent visual language across SwiftUI, UIKit, and WidgetKit.

How do I merge multiple glass elements in UIKit without performance drops?

To merge multiple glass elements in UIKit without performance drops, use the UIGlassContainerEffect pattern for container-based compositing. This approach controls spacing between glass elements and reduces redundant rendering, ensuring optimal performance when displaying multiple translucent components.

Can I apply liquid glass effects to WidgetKit widgets on iOS 26?

Yes, you can apply liquid glass effects to WidgetKit widgets on iOS 26. The Skill provides concrete cross-framework integration guidance to ensure translucent designs remain consistent and respond to system accent colors and touch input within widget contexts.

How do I create smooth morphing transitions between UI states with glass effects?

When applying liquid glass effects, you must account for accessibility contrast considerations to ensure UI components remain readable. The Skill provides patterns to maintain proper contrast while using blur, tint, and reflection, ensuring interactive deformation does not compromise visual accessibility.