Liquid glass ios

From ravnhq/ai-toolkit · View interactive version

Liquid glass ios is an AI agent skill from the GitHub repository ravnhq/ai-toolkit. Apple's Liquid Glass design system for iOS 26+ and iPadOS 26+. Use when building iOS 26+ UI with glassEffect, implementing GlassEffectContainer, working with glass morphing transitions, or migrating from UIKit to SwiftUI glass APIs.

How to use this skill

Skill file

Liquid Glass Design for iOS

Implementation patterns for Apple's Liquid Glass design system in iOS 26+ and iPadOS 26+, covering SwiftUI glassEffect APIs and UIKit NSGlassEffectView integration.

Overview

Liquid Glass is Apple's next-generation frosted glass design pattern for iOS 26 and iPadOS 26+. It provides visual hierarchy, depth, and interactive feedback through translucent glass layers with tint and blur effects. Use glassEffect to create adaptive, accessible glass overlays that enhance UI without sacrificing readability.

Rules

See rules index for detailed patterns covering:

References

See references/liquid-glass.md for comprehensive guidance organized by:

Examples

Positive Trigger

User: "Implement iOS 26 glassEffect navigation with proper fallbacks."

Expected behavior: Use liquid-glass-ios guidance, follow its workflow, and return actionable output.

Non-Trigger

User: "Implement Android Compose Material 3 bottom navigation."

Expected behavior: Do not prioritize liquid-glass-ios; choose a more relevant skill or proceed without it.

Troubleshooting

Glass effect not showing on older iOS versions

Accessibility: reduced transparency ignored

Glass effect performance degradation

Guidance Conflicts With Another Skill

Output Is Too Generic

Workflow

  1. Identify scope — Confirm the request matches liquid-glass-ios (iOS 26+ UI, glassEffect, glass morphing, or UIKit glass migration).
  2. Check platform — Determine iOS version target and whether fallback patterns are needed for iOS 24-25.
  3. Review rules — Consult rules/ for glass usage patterns, accessibility, performance, and color/tint management.
  4. Reference guidance — Use references/liquid-glass.md for layer placement, GlassEffectContainer patterns, and animation strategies.
  5. Apply and validate — Implement glass effects, check accessibility (reduced transparency), test on device with Instruments, and verify frame rate stability.
  6. Validate output — Ensure glass layers respect safe areas, accessibility settings, and performance budgets; refine once if needed.
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.