liquid-glass-design

Implement iOS 26 Liquid Glass materials across SwiftUI, UIKit, and WidgetKit components.

1|Updated Apr 7, 2026
One-click install
npx skills add https://github.com/riftzen-bit/gemini-setup --skill liquid-glass-design-riftzen-bit
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: liquid-glass-design
Source: https://github.com/riftzen-bit/gemini-setup/tree/main/skills/liquid-glass-design
Command: npx skills add https://github.com/riftzen-bit/gemini-setup --skill liquid-glass-design-riftzen-bit

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides practical patterns and API guidance to adopt iOS 26's Liquid Glass visual language, removing guesswork so developers can implement performant, accessible, and interactive glass materials across SwiftUI, UIKit, and WidgetKit.

Core Features & Use Cases

  • SwiftUI patterns: ready-to-use modifiers such as glassEffect, glassEffectUnion, GlassEffectContainer, glassEffectID and best practices for shape, tint, and interactive behavior.
  • UIKit equivalents: UIGlassEffect and UIGlassContainerEffect usage, visual effect view composition, corner clipping, and toolbar integration.
  • WidgetKit guidance: rendering mode detection, accented rendering, widgetAccentable groups, and containerBackground strategies for widget integration.
  • Performance & morphing: container-based merging, spacing controls, namespace-driven morphing transitions, and animation recommendations.
  • Use case: convert navigation bars, floating action buttons, and cards to Liquid Glass with smooth morphing transitions and proper accessibility contrast.

Quick Start

Create SwiftUI code that applies a regular orange-tinted interactive glassEffect to a Text view, wrap related elements in a GlassEffectContainer with spacing 40 to demonstrate morphing transitions, and show the final SwiftUI snippet.

Frequently Asked Questions about liquid-glass-design

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I apply Liquid Glass effects to SwiftUI views in iOS 26?

To apply Liquid Glass effects in SwiftUI, use modifiers like glassEffect and GlassEffectContainer. You can configure shape, tint, and interactive behavior, then wrap related elements in a container to enable morphing transitions with spacing controls.

What is the Liquid Glass visual language in iOS 26?

Liquid Glass is a dynamic material visual language in iOS 26 that provides interactive, translucent glass-style rendering for UI components. It applies to navigation bars, buttons, and cards, supporting morphing transitions and tinting across SwiftUI, UIKit, and WidgetKit.

Does UIKit support Liquid Glass materials in iOS 26?

Yes, UIKit supports Liquid Glass materials through UIGlassEffect and UIGlassContainerEffect. You can compose visual effect views, apply corner clipping, integrate with toolbars, and manage tinting and interactive opt-ins for consistent glass rendering.

How do I create morphing transitions between glass elements in SwiftUI?

To create morphing transitions in SwiftUI, wrap elements in a GlassEffectContainer and use glassEffectID with matching namespaces. The container manages merging and spacing controls to animate smooth transitions between glass components.

Can WidgetKit use Liquid Glass rendering modes in iOS 26?

Yes, WidgetKit supports Liquid Glass through rendering mode detection and accented rendering. You can use widgetAccentable groups and containerBackground strategies to integrate glass materials and accented rendering into your widgets.

What are the accessibility and performance constraints of Liquid Glass materials?

When using Liquid Glass materials, ensure proper accessibility contrast is maintained. For performance, rely on container-based merging and follow spacing and animation recommendations to prevent excessive rendering overhead during morphing transitions.