liquid-glass-design

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

1|Updated Oct 11, 2025
One-click install
npx skills add https://github.com/ibytechaos/claude --skill liquid-glass-design-ibytechaos
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: liquid-glass-design
Source: https://github.com/ibytechaos/claude/tree/main/plugins/everything-claude-code/skills/liquid-glass-design
Command: npx skills add https://github.com/ibytechaos/claude --skill liquid-glass-design-ibytechaos

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Adopting Apple's iOS 26 Liquid Glass design language requires learning new APIs across SwiftUI, UIKit, and WidgetKit, and developers often misapply glass effects in ways that hurt performance or break tinted widget appearances. ## 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, UIGlassContainerEffect, scroll edge effects, and toolbar glass configuration for UIKit-based views. - WidgetKit Support: Handle accented rendering modes, accent groups, and container backgrounds so widgets match tinted Home Screen appearances. - Use Case: When building an iOS 26 app toolbar with morphing glass buttons, use the provided GlassEffectContainer and glassEffectID patterns to animate elements smoothly as they appear and disappear. ## Quick Start Ask the assistant to add a Liquid Glass effect to a SwiftUI button group with morphing transitions using the iOS 26 glassEffect APIs.

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 in iOS 26?

Apply the .glassEffect() modifier after your layout modifiers like padding and frame. Customize it with .regular.tint(.color).interactive() and pass a shape such as .rect(cornerRadius:) or the default capsule.

How do I create morphing transitions between glass elements in SwiftUI?

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

Does Liquid Glass work in UIKit apps?

Yes, UIKit supports Liquid Glass through UIGlassEffect applied to UIVisualEffectView, with tintColor and isInteractive properties. Use UIGlassContainerEffect to group multiple glass views with controlled merge spacing.

Why should multiple glass views be wrapped in GlassEffectContainer?

GlassEffectContainer improves rendering performance and enables morphing between sibling glass elements. Its spacing parameter controls how close elements must be before their glass shapes blend together.

How do widgets support the tinted Home Screen appearance?

Detect the accented mode with the widgetRenderingMode environment value, mark views with .widgetAccentable() for accent grouping, and set image rendering via .widgetAccentedRenderingMode(.monochrome).

What are common mistakes when using Liquid Glass effects?

Common mistakes include applying glass to every view, skipping GlassEffectContainer for siblings, forgetting clipsToBounds with corner radii in UIKit, and using opaque backgrounds that defeat translucency.