Liquid Glass in SwiftUI: what you need to know as an app developer
iOS 26 gives Apple's interface a new material. Here's how to use Liquid Glass in SwiftUI, and when it's better to leave it out.
With iOS 26, iPadOS 26, macOS Tahoe and watchOS 26, Apple shipped its biggest redesign in years: Liquid Glass. A material that refracts light, reacts to the content beneath it and gives tab bars, toolbars and controls a new look. The good news for SwiftUI developers: you get a lot of it for free.
What you get automatically
When you rebuild your app with the current SDK, system components adopt the new look by themselves. NavigationStack, TabView, toolbars, sheets, menus and standard controls appear in glass. Tab bars float above the content and can shrink as you scroll:
TabView {
Tab("Chats", systemImage: "bubble.left.and.bubble.right") { ChatsView() }
Tab("Search", systemImage: "magnifyingglass", role: .search) { SearchView() }
}
.tabBarMinimizeBehavior(.onScrollDown)Your own elements in glass
For custom controls there's the glassEffect modifier. It places the material behind the view in a shape of your choice. Buttons get ready-made styles:
Text("New")
.padding()
.glassEffect(.regular.interactive(), in: .capsule)
Button("Save") { save() }
.buttonStyle(.glassProminent)If several glass elements sit close together, wrap them in a GlassEffectContainer. They then blend into each other visually, and with glassEffectID and a namespace they flow into one another during transitions.
Less is more
Liquid Glass is meant for the control layer, not for content. A few rules that have worked well for me:
- Glass for controls only: bars, buttons, floating actions. Lists, text and cards stay without glass.
- No glass on glass: stacking glass quickly gets busy and hard to read.
- Remove custom backgrounds: if you used to tint toolbars yourself, take that out or you'll hide the new material.
- Check contrast: test with light and dark images under the glass and with “Reduce Transparency” in Accessibility.
Don't forget the app icon
The new look also brings layered app icons that can appear in light, dark, tinted and clear. How that works is covered in App icons for iOS 26 with Icon Composer.
My apps Thoughts, Hour and RingoView were built for iOS 26 from the start. My takeaway: if you use SwiftUI's standard components and apply glass sparingly, you get an app that feels at home right away with very little effort.