liquid-glass-developer

Implements iOS 26 Liquid Glass effects in SwiftUI and UIKit using GlassEffectContainer patterns.

514|79|Updated May 26, 2023
One-click install
npx skills add https://github.com/anyproto/anytype-swift --skill liquid-glass-developer
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: liquid-glass-developer
Source: https://github.com/anyproto/anytype-swift/tree/main/.claude/skills/liquid-glass-developer
Command: npx skills add https://github.com/anyproto/anytype-swift --skill liquid-glass-developer

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Applying iOS 26 Liquid Glass effects correctly requires coordinating containers, morphing IDs, shapes, and version fallbacks, and mistakes like missing GlassEffectContainer grouping or redundant clipShape calls produce broken or inconsistent UI.

Core Features & Use Cases

  • SwiftUI Glass Patterns: Provides wrappers like GlassEffectContainerIOS26, glassEffectInteractiveIOS26, and glassEffectIDIOS26 for grouped, interactive, morphing glass elements.
  • UIKit Glass Utilities: Covers GlassContainerViewIOS26, GlassEffectViewIOS26, and UIButton.Configuration.glassIOS26 with correct glassContentView usage.
  • Version Fallbacks: All utilities degrade gracefully to ultraThinMaterial backgrounds on iOS versions below 26.
  • Use Case: When building a floating navigation panel with buttons that morph between states, this Skill supplies the exact container, namespace, and animation pattern to implement it correctly.

Quick Start

Ask the assistant to add an interactive glass button with morphing transition to a SwiftUI navigation panel using the iOS 26 glass utilities.

Frequently Asked Questions about liquid-glass-developer

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

FAQPage Schema
How do I add a glass effect to a SwiftUI button in iOS 26?

Wrap the button in GlassEffectContainerIOS26 and apply glassEffectInteractiveIOS26 with a shape such as Circle or a rounded rect. The interactive variant adds touch feedback, and the container ensures unified composition with sibling glass elements.

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

Place both elements in the same GlassEffectContainerIOS26, assign each a glassEffectIDIOS26 with a shared namespace, and animate the state change with .animation(.bouncy). Elements with matching IDs morph smoothly instead of appearing abruptly.

Does Liquid Glass work on iOS versions below 26?

The utilities handle version checks internally. On iOS 26 and later they apply native glass effects, while earlier versions fall back to Color.Background.navigationPanel combined with ultraThinMaterial blur.

How do I use glass effects in UIKit with UIGlassEffect?

Use GlassContainerViewIOS26 to group elements and GlassEffectViewIOS26 for individual interactive glass views. Always add your buttons to glassContentView rather than directly to the glass view, and call shape methods like applyCircleShape once during setup.

Why should I avoid clipShape before applying a glass effect?

The glass effect defines its own shape through the shape parameter, so a separate clipShape call is redundant and can produce incorrect rendering. Pass the shape directly to glassEffectIOS26 or glassEffectInteractiveIOS26 instead.

When should I not apply glass effects in an iOS app?

Glass effects are intended only for the navigation layer and floating controls, not for content. Text and content views should use standard backgrounds such as Color.Background.primary instead of glass modifiers.