Use whenever building UI with the new Apple design language, adopting glass effects, styling buttons or toolbars, or creating modern macOS/iOS interfaces.
Always consult this skill when asked about new Apple design.
Similar popular skills
Related neighbors and high-traction skills in the same topics — useful to compare before installing.
Building SwiftUI interface?
├── Single glass element → .glassEffect() on the view
├── Multiple glass elements → Wrap in GlassEffectContainer
├── Need morphing transitions → Use @Namespace + .glassEffectID()
├── Grouping elements into one shape → Use .glassEffectUnion()
└── Buttons → .buttonStyle(.glass) or .buttonStyle(.glassProminent)
Building AppKit interface?
├── Single glass element → NSGlassEffectView with contentView
├── Multiple glass elements → NSGlassEffectContainerView
└── Hover/interaction → NSTrackingArea + animator().tintColor
Building Widgets?
├── Support tinted/clear appearance → Check widgetRenderingMode
├── Mark accent content → .widgetAccentable()
└── Custom glass in widget → .glassEffect() (same as SwiftUI)
Common Mistakes & Fixes
Mistake
Fix
Glass views don't merge when close
Wrap in GlassEffectContainer with appropriate spacing
No animation when glass appears/disappears
Use withAnimation { } + glassEffectID
Glass button doesn't respond to hover
Add .interactive() to the glass effect
Too many glass effects = performance drop
Limit glass effects; use GlassEffectContainer
Widget looks wrong in tinted mode
Check widgetRenderingMode environment, use widgetAccentable()