ios26-liquid-glass

Apply iOS 26 Liquid Glass styling to SwiftUI views with GlassEffectContainer and glassEffectID.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Implementing iOS 26 Liquid Glass visuals in SwiftUI can be error-prone, requiring correct API usage, availability checks, and careful modifier ordering.

Core Features & Use Cases

  • GlassEffect modifier adds glass material to SwiftUI views with optional tint and interactivity.
  • GlassEffectContainer enables cohesive morphing animations across related elements.
  • glassEffectID allows shared-state morphing within a namespace for dynamic UI changes.

Quick Start

Apply the glassEffect modifier to a SwiftUI view to enable iOS 26 Liquid Glass styling.

Frequently Asked Questions about ios26-liquid-glass

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

FAQPage Schema
How do I apply iOS 26 Liquid Glass styling to SwiftUI views?

To apply iOS 26 Liquid Glass styling, you use the glassEffect modifier on SwiftUI views. This adds the glass material to toolbars, buttons, and overlays while supporting optional tinting and interactivity.

How does GlassEffectContainer enable morphing animations in SwiftUI?

GlassEffectContainer enables cohesive morphing animations across related SwiftUI elements. By using glassEffectID within a shared namespace, views can dynamically morph and share state during UI changes.

Do I need availability checks for iOS 26 Liquid Glass modifiers?

Yes, you need availability checks for iOS 26+ to use Liquid Glass modifiers. Ensuring proper modifier ordering and shape options alongside these checks satisfies the Core API usage requirements.

Can I apply Liquid Glass effects to toolbars and overlays in SwiftUI?

Yes, you can apply Liquid Glass effects to toolbars, buttons, and overlays. The glassEffect modifier automates the correct material application across these SwiftUI view types.

What is the correct modifier ordering for SwiftUI Liquid Glass effects?

Correct modifier ordering is essential for Liquid Glass effects to render properly in SwiftUI. Applying the glassEffect modifier correctly, along with shape options and availability checks, ensures valid Core API usage.

Why does my SwiftUI glassEffect modifier fail to compile or render correctly?

Your SwiftUI glassEffect modifier might fail due to missing iOS 26+ availability checks or incorrect modifier ordering. Ensuring the proper shape options and GlassEffectContainer usage resolves Core API usage errors.