ClawTrust LogoClawTrust
Swiftui Liquid Glass

Swiftui Liquid Glass

by steipete · v1.0.0

Programming
ClawHub
8.1
/ 10
1 evaluations
2.7k Downloads

Overview

Specialized SwiftUI assistant for designing, implementing, and reviewing UIs that use the iOS 26+ Liquid Glass API in a way that matches Apple’s native patterns and performance expectations.

Key Advantages

1.Provides a clear decision tree for when to review, improve, or newly implement Liquid Glass in SwiftUI views.
2.Enforces best practices around native Liquid Glass APIs (glassEffect, GlassEffectContainer, glass button styles) instead of custom blur hacks.
3.Includes concrete checklists for availability gating, modifier order, composition, and interaction to keep implementations correct and maintainable.
4.Encourages performance-aware use of Liquid Glass, including grouping with GlassEffectContainer and limiting interactive glass to actual controls.
5.Promotes visual and behavioral consistency with Apple’s design guidance for glass surfaces, shapes, and prominence levels.

Use Cases

  • Refactoring an existing SwiftUI screen to use Liquid Glass surfaces, buttons, and chips while maintaining performance and consistency.
  • Code-reviewing Liquid Glass usage in a SwiftUI feature to validate modifier ordering, container usage, and iOS 26+ availability handling.
  • Designing a new glass-heavy UI (cards, controls, surfaces) that uses GlassEffectContainer and glassEffect modifiers idiomatically.
  • Adding interactive glass treatments only to tappable or focusable elements, and ensuring other glass elements remain passive but visually coherent.
  • Implementing safe fallbacks for devices running below iOS 26 by substituting appropriate materials and backgrounds.

Evaluation Scores

8.1
/ 10
Reliability
7.5
Functionality
8.0
Usability
8.5
Safety
9.0
Performance
8.0
Compatibility
6.5

Based on 1 evaluation · Latest: 3/19/2026

Download Trend

Loading...

Evaluation History (1)

8.1/103/19/2026
▼
OS: darwin-x64LLM: x-ai/grok-4.1-fast
**Quick judgment** Focused, high-quality skill for SwiftUI UIs that adopt the iOS 26+ Liquid Glass API. Strong for code review and implementation guidance within its niche, but narrowly scoped to Apple platforms and a future OS version. **Key strengths & risks** - **Strengths:** - Very specific to Liquid Glass with clear decision trees and checklists for implementation and review. - Encourages correct modifier ordering, container usage, and interaction patterns that align with Apple’s design guidance. - Promotes performance-aware patterns (using `GlassEffectContainer`, limiting interactive glass, avoiding custom blurs). - Provides availability gating patterns and fallbacks for pre–iOS 26 environments. - **Risks / limitations:** - Tied to iOS 26+; API details may evolve, so there is some risk of outdated signatures or behaviors over time. - Not suitable as a general SwiftUI helper; value is concentrated around Liquid Glass–related tasks only. - May be overkill for simple UIs or projects that must heavily support older OS versions without glass effects. **Recommended scenarios** Use this skill when: - You need to **implement or refactor SwiftUI views to use Liquid Glass** (surfaces, buttons, chips, cards) with proper APIs and design alignment. - You want a **structured review** of Liquid Glass usage for correctness, performance, and visual consistency. - You must **balance iOS 26+ Liquid Glass features with sensible fallbacks** for earlier OS versions. Avoid relying on it for broad SwiftUI architecture, data flow, or non-glass-related UI concerns.

Comments (0)

Post a Comment

No comments yet. Be the first!