swiftui-liquid-glass

Installation
Summary

Build and review SwiftUI features using the iOS 26+ Liquid Glass API with native modifiers and Apple design guidance.

  • Supports three workflows: reviewing existing features for correct Liquid Glass usage, improving features by refactoring to glass components, and implementing new glass-based UI from scratch
  • Provides native API patterns including glassEffect(), GlassEffectContainer for grouped elements, and .buttonStyle(.glass) / .buttonStyle(.glassProminent) for actions
  • Includes availability gating with #available(iOS 26, *) and fallback strategies using ultraThinMaterial for earlier iOS versions
  • Covers modifier ordering, interactivity handling with .interactive(), shape consistency, and morphing transitions with glassEffectID and @Namespace
SKILL.md

SwiftUI Liquid Glass

Overview

Use this skill to build or review SwiftUI features that fully align with the iOS 26+ Liquid Glass API. Prioritize native APIs (glassEffect, GlassEffectContainer, glass button styles) and Apple design guidance. Keep usage consistent, interactive where needed, and performance aware.

Workflow Decision Tree

Choose the path that matches the request:

1) Review an existing feature

  • Inspect where Liquid Glass should be used and where it should not.
  • Verify correct modifier order, shape usage, and container placement.
  • Check for iOS 26+ availability handling and sensible fallbacks.

2) Improve a feature using Liquid Glass

  • Identify target components for glass treatment (surfaces, chips, buttons, cards).
  • Refactor to use GlassEffectContainer where multiple glass elements appear.
  • Introduce interactive glass only for tappable or focusable elements.

3) Implement a new feature using Liquid Glass

Related skills

More from dimillian/skills

Installs
2.9K
GitHub Stars
3.5K
First Seen
Jan 20, 2026