liquid-glass-ios

Apply Apple's Liquid Glass design system to iOS 26+ SwiftUI navigation chrome.

16|15|Updated Jan 16, 2026
One-click install
npx skills add https://github.com/ravnhq/ai-toolkit --skill liquid-glass-ios
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: liquid-glass-ios
Source: https://github.com/ravnhq/ai-toolkit/tree/main/skills/liquid-glass-ios
Command: npx skills add https://github.com/ravnhq/ai-toolkit --skill liquid-glass-ios

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This skill provides guidance and patterns for implementing Apple's Liquid Glass design system in iOS apps, enabling glassy navigation chrome with accessible visuals, smooth morphing, and consistent styling.

Core Features & Use Cases

  • SwiftUI glassEffect APIs usage on navigation bars, toolbars, and sheets to create translucent chrome.
  • Morphing patterns with glassEffectID and @Namespace for seamless transitions between view states.
  • Container approach via GlassEffectContainer for spacing and unified glass layers.
  • Accessibility and performance best practices to maintain readability and frame rates.

Quick Start

Identify the navigation chrome you want to glass over, wrap related controls in GlassEffectContainer if needed, apply glassEffect(.regular) to the chrome, assign glassEffectID for morphing, and declare a @Namespace in the parent view.

Frequently Asked Questions about liquid-glass-ios

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

FAQPage Schema
How do I apply the Liquid Glass effect to SwiftUI navigation bars in iOS 26?

To apply the Liquid Glass effect in SwiftUI, use the glassEffect(.regular) modifier on your navigation chrome. You must also perform an iOS 26+ availability check to ensure the GlassEffect APIs are available before applying the translucent styling.

How does glassEffectID work for morphing transitions between SwiftUI views?

The glassEffectID modifier paired with a declared @Namespace in the parent view enables seamless morphing transitions. Assigning matching IDs across view states allows the glass effect to animate smoothly during navigation or toolbar state changes.

What is GlassEffectContainer used for when building iOS Liquid Glass UI?

GlassEffectContainer is a SwiftUI container that groups related glass controls into a unified glass layer. Wrapping controls in this container manages spacing and ensures consistent translucent rendering across grouped navigation elements.

Can I use Liquid Glass design patterns in UIKit apps or is it SwiftUI only?

Liquid Glass implementation patterns target both SwiftUI and UIKit apps. While the primary APIs like glassEffect and GlassEffectContainer are SwiftUI-specific, the skill provides guidance for applying the Liquid Glass design system across both UIKit and SwiftUI implementations.

What accessibility and performance considerations are needed for Liquid Glass effects?

Liquid Glass effects require accessibility checks to maintain visual readability and performance monitoring to sustain frame rates. The skill provides best practices to ensure translucent navigation chrome remains accessible and performs smoothly during morphing transitions.

Do I need iOS 26 to use the SwiftUI glassEffect APIs?

Yes, the SwiftUI glassEffect, GlassEffectContainer, and glassEffectID APIs require iOS 26+. The skill specifies using availability checks to conditionally apply these Liquid Glass effects only when running on supported iOS versions.