Liquid Glass

    1

    Implement, migrate, review, and diagnose iOS Liquid Glass interfaces in SwiftUI and UIKit.

    Free

    3 usesSecurity scanned

    Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIMuseMuseDotsDots+21 more

    liquid-glass

    Example session with this skill installed

    Add Liquid Glass styling to a SwiftUI Save button while keeping support for iOS 18. Use public APIs, preserve the save action, and explain the version checks and what I should test.

    • Read your context and instructions
    • Compiled the liquid-glass

    Keep iOS 18 support

    Use the native glass button styles on supported iOS versions and a bordered button on older versions. Keep the same label and action in every branch. You do not need to raise the deployment target to iOS 26.

    import SwiftUI
    
    struct SaveButton: View {
        let save: () -> Void
    
        var body: some View {
            if #available(iOS 26.1, *) {
                Button("Save", action: save)
                    .buttonStyle(GlassButtonStyle(.regular))
            } else if #available(iOS 26.0, *) {
                Button("Save", action: save)
                    .buttonStyle(.glass)
            } else {
                Button("Save", action: save)
                    .buttonStyle(.bordered)
            }
        }
    }
    

    Why the branches differ

    Running iOSButton style
    26.1 or laterGlassButtonStyle with an explicit Glass configuration
    26.0Standard glass button style
    18 through 25Bordered fallback

    The configured initializer requires iOS 26.1; the standard glass style starts at iOS 26.0. The fallback preserves the action and label, without trying to reproduce Liquid Glass with blur or gradients.

    SDK and deployment target

    The SDK must know the newer APIs even when they appear inside an availability check. A deployment target of iOS 18 can still be kept when building with a supporting SDK.

    Validation and next steps

    This illustrative example passed Swift type checking with the iOS 26.4 simulator SDK and an iOS 18 deployment target. Rendering and accessibility have not been runtime-tested for this listing.

    Run the app on representative supported OS versions. Check that Save invokes the expected action, the enabled/disabled state works, VoiceOver announces the button correctly, and large text and contrast settings remain usable. Integrate the component into the actual screen before evaluating its appearance.

    Connects securely to your tools. The creator never sees your data.

    About this skill

    Liquid Glass for iOS

    Build and update native iOS interfaces with guidance for SwiftUI and UIKit. Use this skill when adding Liquid Glass, migrating an existing screen, reviewing an implementation, or investigating unexpected behavior.

    What you can use it for

    • Choose between standard system controls and custom glass effects.
    • Work with navigation bars, toolbars, tabs, search, sheets, and scroll edges.
    • Implement custom shapes, grouped effects, and transitions.
    • Review accessibility, visual hierarchy, state updates, and performance concerns.
    • Keep support for older iOS versions with API availability checks and fallbacks.

    What is included

    SKILL.md selects the relevant guide for your task. Nine focused reference guides cover SwiftUI, UIKit, design and accessibility, compatibility, and diagnosis. They include short Swift examples and links to primary sources. The package also includes LICENSE and NOTICE.

    How to use it

    Give your agent the relevant screen or code and describe your goal. Include your framework, Xcode/SDK version, deployment target, and running iOS version when they matter. The skill helps the agent choose the appropriate references and distinguish documented behavior from compiler checks and runtime observations.

    Compatibility

    Provided for Claude Code and Codex in the SKILL.md format. Covers native iOS with SwiftUI and UIKit. Other Apple platforms and web implementations are outside this edition. Apple Docs MCP and binary inspection tools are optional; no executable files, MCP servers, or hooks are bundled. Build and runtime checks depend on your environment.

    Source and documentation

    https://github.com/2dubu/liquid-glass

    If this skill helps you, consider starring the project on GitHub.

    This edition covers native iOS with SwiftUI and UIKit, using public APIs. Other Apple platforms and web implementations are outside its scope. Guidance is not a guarantee of rendering, performance, accessibility, or App Store approval. Build and runtime checks require suitable local tools and must be performed for your app. API availability depends on the SDK and running OS; older deployment targets need fallbacks.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before any payment.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    3 uses

    Times used to date

    Free forever

    No account required to browse

    Trust & safety

    Security scan

    Security scan passed 1 month ago

    • Free with an Agensi account

    Permissions

    No special permissions declared or detected

    Listed1 month ago

    What's inside

    Frequently Asked Questions

    It guides an AI coding agent through implementing, migrating, reviewing, and diagnosing native iOS Liquid Glass interfaces. It helps choose relevant references for SwiftUI or UIKit and identify what should be verified in your app.

    The repository provides the skill for Claude Code and Codex in SKILL.md format. This edition covers native iOS with SwiftUI and UIKit. Support in other SKILL.md-compatible agents depends on the host.

    The implementation guidance targets public Apple APIs with availability checks. Optional binary inspection is for diagnosis, not permission to ship private API calls. You must still validate your app; the skill does not guarantee App Store approval.

    SKILL.md and nine reference guides covering SwiftUI, UIKit, compatibility, design and accessibility, and diagnosis. The guides contain Swift examples and source links. LICENSE and NOTICE preserve the Apache-2.0 license and attribution.

    No Apple account or credentials are required to read the skill. For code-specific work, give your agent the relevant code and environment details. Building and testing require suitable local development tools. Apple Docs MCP and binary inspection tools are optional; none are bundled.

    Yes. The compatibility guidance distinguishes SDK support, deployment target, and running OS. It uses availability checks and older-system fallbacks. Liquid Glass itself is available only on supported OS versions; evaluate each branch on the systems your app supports.

    New in Mobile Development