swiftui-liquid-glass

Review or refactor SwiftUI components to Liquid Glass on iOS 26+.

1|1|Updated Jun 2, 2025
One-click install
npx skills add https://github.com/BumpyClock/dotfiles --skill swiftui-liquid-glass-bumpyclock
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: swiftui-liquid-glass
Source: https://github.com/BumpyClock/dotfiles/tree/main/.ai_agents/skills/swiftui-liquid-glass
Command: npx skills add https://github.com/BumpyClock/dotfiles --skill swiftui-liquid-glass-bumpyclock

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Implementing Liquid Glass in SwiftUI can be inconsistent across projects. This guide standardizes adoption by detailing when and how to use native APIs, ensure iOS 26+ availability, and optimize for performance and accessibility.

Core Features & Use Cases

  • Guidelines for applying native Liquid Glass APIs (GlassEffectContainer and .glassEffect) to SwiftUI views.
  • Best practices for composition, interactivity, and visual consistency across components.
  • Use cases include refactoring existing views to glassy surfaces and implementing new Liquid Glass based interfaces on iOS 26+.

Quick Start

Create a minimal SwiftUI view that applies a Liquid Glass effect using the GlassEffectContainer pattern.

Frequently Asked Questions about swiftui-liquid-glass

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

FAQPage Schema
How do I apply Liquid Glass effects to SwiftUI views?

Yes, Liquid Glass requires iOS 26+ availability checks. You must verify the operating system version before implementation to ensure the native glass effect APIs function correctly and safely degrade on older versions.

What is the best way to refactor existing SwiftUI components to Liquid Glass?

The best way to refactor to Liquid Glass is adopting the GlassEffectContainer pattern. This method standardizes component composition, improves UI clarity, and optimizes interactive performance across refactored views.

How do Liquid Glass containers affect SwiftUI performance and accessibility?

Liquid Glass containers group glass effects to optimize rendering performance and maintain accessibility. Properly structuring these containers ensures clear visual hierarchy without compromising interactive responsiveness.

When should I avoid using Liquid Glass in my SwiftUI interface?

You should avoid Liquid Glass when targeting platforms below iOS 26 or when native API usage is impossible. Overusing glass effects without container patterns can also degrade UI clarity and performance.