glassEffect

Asked on 06/12/2025

1 search

The "glass effect" is a new design feature introduced by Apple, which is prominently discussed in several sessions at WWDC 2025. This effect is part of the Liquid Glass material, which is designed to create a visually distinct and interactive layer in your app's UI. Here are some key points about the glass effect:

  1. Customization and Adaptivity: The glass effect can be customized using a new corner configuration API, allowing it to adapt its shape and appearance based on its container and the user interface style. It automatically switches between light and dark modes to maintain contrast (Build a UIKit app with the new design).

  2. Grouping and Consistency: When multiple glass elements are in close proximity, they can be grouped using a Glass Effect Container. This ensures a consistent visual appearance and improves performance by sharing a sampling region (Build an AppKit app with the new design).

  3. Interaction and Animation: The glass effect is designed to be interactive, responding to user interactions with animations such as scaling and bouncing. It can be used to create fluid transitions and morphing effects when elements are grouped together (Build a SwiftUI app with the new design).

  4. Visual and Functional Layer: Liquid Glass is used to elevate key controls and navigation elements, creating a distinct functional layer that floats above the content. This is particularly useful for elements like toolbars and sidebars, which benefit from the enhanced visual separation and legibility provided by the glass effect (Meet Liquid Glass).

These features make the glass effect a powerful tool for enhancing the visual and interactive aspects of your app's design.