SwiftUI Liquid Glass
Adds Apple's Liquid Glass look to a SwiftUI app correctly, with fallbacks for older iOS.
Claude's review
8/10 Current Liquid Glass guidance: where glass belongs, exact APIs, availability gating.
We asked Claude the question you would ask: would I be glad I installed this? We only sell skills it rates 7 or higher.
In detail
Applies and reviews Liquid Glass in SwiftUI apps: decides which views should get the material and which should not, uses glassEffect, GlassEffectContainer, glass button styles and morphing transitions correctly, cleans up bars and backgrounds that fight the system look, and adds fallbacks for OS versions before 26. Use when the user says "adopt Liquid Glass", "update the app for iOS 26 design", "add a glass effect to this view", "make this button glass", "review my Liquid Glass usage", "glassEffect is not morphing", or asks how to keep the app building for iOS 18 while using the new material.
How you use it
- Add it to your pack, then download your pack (1 credit).
- In Claude, open Customize > Skills and upload the zip. Code execution needs to be on under Settings > Capabilities.
- Ask Claude for the job in your own words. It uses the skill when your request matches what it does. Step by step guide
Safety check
Nothing risky found: no hidden instructions, no download and run, no reading of saved passwords or keys.
An automated scan lowers risk but cannot promise zero risk. How we check skills
Preview
The first lines of SKILL.md
---
name: swiftui-liquid-glass
description: >-
Applies and reviews Liquid Glass in SwiftUI apps: decides which views should get the material and which should not, uses glassEffect, GlassEffectContainer, glass button styles and morphing transitions correctly, cleans up bars and backgrounds that fight the system look, and adds fallbacks for OS versions before 26. Use when the user says "adopt Liquid Glass", "update the app for iOS 26 design", "add a glass effect to this view", "make this button glass", "review my Liquid Glass usage", "glassEffect is not morphing", or asks how to keep the app building for iOS 18 while using the new material.
license: Apache-2.0
compatibility: "SwiftUI with the Xcode 26 SDK or later. Liquid Glass APIs run on iOS, iPadOS, Mac Catalyst, macOS, tvOS and watchOS 26.0+; visionOS is not supported by glassEffect."
metadata:
author: terminal-skills
version: "2.0.0"
category: development
tags: "swiftui, liquid-glass, ios, design-system, glasseffect"
---
# SwiftUI Liquid Glass
## Overview
Liquid Glass is the system material introduced with the 26 releases of Apple's platforms. It belongs to the functional layer of an interface: bars, sheets, menus and controls that float above content, blur what is behind them and react to touch. An app built with the Xcode 26 SDK gets it on every standard component without code changes, so most of the work in adopting it is removing custom backgrounds that now clash, and adding glass by hand only to the few custom controls that live in that floating layer. This skill gives the decision of where glass belongs, the exact APIs, the fallback for older systems, and a review format.
## Instructions
### 1. Establish the facts of the project
Before proposing code, find out:
- **Deployment targets.** `grep -rnE "IPHONEOS_DEPLOYMENT_TARGET|MACOSX_DEPLOYMENT_TARGET" --include=project.pbxproj .` or the `platforms:` list in `Package.swift`. Anything below 26 means every glass API needs an availability check.
- **Platforms.** `glassEffect(_:in:)` and the glass button styles exist on iOS, iPadOS, Mac Catalyst, macOS, tvOS and watchOS 26.0+. They are not available on visionOS, which has its own `glassBackgroundEffect(displayMode:)`.
- **Compatibility switch.** Search the Info.plist for `UIDesignRequiresCompatibility`. When it is `YES` the app keeps its pre-26 look and none of this shows. Apple documents the key as temporary, and it is ignored once the app is built for the 27 releases.
- **Existing customisation of bars and sheets:** `toolbarBackground`, `UINavigationBarAppearance`, custom backgrounds behind tab bars, visual-effect views inside sheets and popovers.
### 2. Decide where glass goes
| Element | What to do |
|---|---|
| Navigation bar, toolbar, tab bar, sidebar, sheet, popover, menu, alert | Nothing. The system draws them in glass. Remove custom backgrounds and appearance overrides so the material and the scroll edge effect can show. |
| A standard `Button` that should look like glass | `.buttonStyle(.glass)`; the main action gets `.buttonStyle(.glassProminent)`. Do not build it from `glassEffect`. |
| A custom floating control: playback bar, map controls, a floating action cluster, a custom segmented picker | `glassEffect(_:in:)`, grouped in a `GlassEffectContainer`. |
| A control floating over photos or video | The `.clear` variant, with a dimming layer behind it when the media is bright. |
| List rows, cards, section backgrounds, the page background, text blocks | No glass. This is the content layer: use plain fills or a standard `Material` such as `.regularMaterial`. |
...From TerminalSkills's repository, Apache-2.0 licence.
Related skills
-
Checked
Android Gradle Plugin upgrade
Moves Kotlin Multiplatform projects to Android Gradle Plugin 9 and fixes the build failures it causes.
8/101 credit -
Checked
CocoaPods to SwiftPM
Moves Kotlin Multiplatform projects from CocoaPods to Swift Package Manager and updates the Xcode project.
8/101 credit -
Checked
Kotlin Native build speed
Diagnoses and fixes slow Kotlin/Native iOS builds in Kotlin Multiplatform projects, both locally and on CI.
8/101 credit -
Checked
SwiftUI Liquid Glass
Adds and reviews Liquid Glass in SwiftUI apps for iOS 26, avoiding pitfalls with bars, buttons and scrolling.
8/101 credit -
Checked
Compose Multiplatform UI
Builds one shared Compose UI in Kotlin for Android, iOS and desktop, so you write your screens once.
7/101 credit -
Checked
SwiftUI Mac app rules
Writes and debugs Swift 6 and SwiftUI code for Mac apps, fixing concurrency, state and common compiler errors.
7/101 credit