swiftui-liquid-glass

Implement SwiftUI interfaces using the iOS 26+ Liquid Glass API.

34|1|Updated Dec 20, 2025
One-click install
npx skills add https://github.com/wang93wei/SwiftMTP --skill swiftui-liquid-glass-wang93wei
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: swiftui-liquid-glass
Source: https://github.com/wang93wei/SwiftMTP/tree/main/.iflow/skills/swiftui-liquid-glass
Command: npx skills add https://github.com/wang93wei/SwiftMTP --skill swiftui-liquid-glass-wang93wei

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill enables developers to implement and refine user interfaces using Apple's advanced Liquid Glass API in SwiftUI, ensuring modern, visually appealing, and interactive designs.

Core Features & Use Cases

  • Native Liquid Glass Implementation: Leverage glassEffect, GlassEffectContainer, and glass button styles for iOS 26+.
  • UI Refinement: Refactor existing features to adopt Liquid Glass or review current implementations for correctness and performance.
  • Use Case: Implement a new settings screen with frosted glass-like toggles and sliders that react subtly to user interaction, providing a premium feel.

Quick Start

Implement a SwiftUI button with a prominent Liquid Glass style.

Frequently Asked Questions about swiftui-liquid-glass

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

FAQPage Schema
How do I implement Liquid Glass effects in SwiftUI?

Apply native `glassEffect` and `GlassEffectContainer` APIs in SwiftUI to render interactive frosted glass UI elements. Ensure correct modifier order and shape usage to achieve a visually appealing Liquid Glass design on iOS 26+.

What is the Liquid Glass API in iOS 26+?

The Liquid Glass API provides native SwiftUI modifiers like `glassEffect` and `GlassEffectContainer` for iOS 26+. It enables developers to create interactive frosted glass UIs with correct container placement and visually appealing designs.

Does the SwiftUI Liquid Glass API work on older iOS versions?

The Liquid Glass API targets iOS 26+ and requires availability checks with sensible fallbacks. Implementing these checks ensures your SwiftUI interface degrades gracefully on older iOS versions that lack native glass effect support.

Why is my SwiftUI glassEffect modifier not rendering correctly?

Incorrect `glassEffect` rendering often stems from improper modifier order, wrong shape usage, or missing `GlassEffectContainer` placement. Reviewing and correcting these implementation details resolves visual and interactive defects.

What's the best way to refactor existing SwiftUI views to use Liquid Glass?

Refactor existing SwiftUI views to Liquid Glass by adopting native APIs and reviewing current implementations for correctness. Ensure proper modifier order and container placement to achieve optimal performance and a premium interactive feel.