liquid-glass
Skill by ChenYilong
Implements Apple's Liquid Glass design using the .glassEffect() API for iOS and macOS 26 and later. It is for developers building glass-based UI in SwiftUI, AppKit, UIKit, and WidgetKit.
Install liquid-glass
Built from the published package, never by AI.
git clone --depth 1 https://github.com/ChenYilong/CYLTabBarController /tmp/CYLTabBarController && mkdir -p ~/.claude/skills && cp -r /tmp/CYLTabBarController/.agents/skills/liquid-glass ~/.claude/skills/liquid-glassRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/ChenYilong/CYLTabBarController /tmp/CYLTabBarController && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/CYLTabBarController/.agents/skills/liquid-glass ~/.gemini/antigravity-cli/skills/liquid-glassAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
This is an agent skill written as a SKILL.md file. It guides an AI assistant through implementing Apple's Liquid Glass design language across SwiftUI, AppKit, UIKit, and WidgetKit. It gives code examples for glass effects, shapes, interactive and tinted glass, GlassEffectContainer, glass unions, and morphing transitions between views. It also covers glass button styles, background extension, toolbar spacers, tab bar behaviors, and scroll edge effects.
The skill sets out design rules from WWDC25. Liquid Glass belongs in the navigation layer, not the content layer. It covers rules such as never stacking glass on glass, using one variant per interface, and tinting only primary actions. It is aimed at developers and designers adding modern glass-style UI to Apple apps and widgets.
Written from the project's SKILL.md and checked against it.
What it can do
- Basic glass effectApplies .glassEffect() to SwiftUI views, with a capsule shape by default.
- Custom glass shapesSupports capsule, rect with corner radius, concentric rect, and circle shapes.
- Interactive and tinted glassAdds scale, bounce, and shimmer on touch or hover, and color tints via .regular.tint().
- GlassEffectContainerGroups nearby glass elements so they render and blend correctly, with a spacing parameter.
- Morphing transitionsAnimates glass elements in and out with glassEffectID and a namespace.
- Glass button stylesProvides .buttonStyle(.glass) and .glassProminent button styles.
- AppKit glass viewsUses NSGlassEffectView and NSGlassEffectContainerView, including an interactive example.
- Background extensionExtends a hero image under bars and sidebars with backgroundExtensionEffect.
- Toolbar and tab bar behaviorsSplits toolbar items with ToolbarSpacer and adds tab bar minimize and bottom accessory views.
- Scroll edge effectsSets soft or hard scroll edge effect styles for floating UI elements.
What you need
- iOS 26 or macOS 26 or later
- SwiftUI, AppKit, UIKit, or WidgetKit project
Try asking
- Add a glass effect to this toolbar using .glassEffect() in SwiftUI
- Wrap these glass buttons in a GlassEffectContainer with spacing 20
- Create a morphing glass toolbar that expands when toggled
Good to know
- The frontmatter lists os_version as iOS 27 / macOS 27, while the description says iOS/macOS 26+.
- The listing text ends partway through a code example, so the UIKit and WidgetKit sections are not fully shown.
Security check
B- Allowed to use Write, Edit without limitsIn
SKILL.md
Checked automatically: .agents/skills/liquid-glass/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
Allowed tools: ReadWriteEditGlobGrepAskUserQuestion
-
SKILL.md26 KB -
UPSTREAM-LICENSE1 KB
Alternatives to liquid-glass
All alternatives →PaperBanana generates publication-quality academic diagrams from a paper's methodology text and figure caption. It is aimed at researchers preparing figures for venues such as NeurIPS, ICML, and ACL.
Creates a monochrome technical wireframe design system for dark diagnostic interfaces. It covers layout, typography, info labels, widgets and an exploded wireframe centerpiece. It is for designers and developers building teardown, systems dashboard or specification-style screens.
Guides an AI assistant through embedding interactive Spline.design 3D scenes in web projects. It covers vanilla, React, Next.js, Vue and iframe setups, for developers adding 3D to websites.
Code Slice Hero is a HyperFrames headline block. A tiled surface flips cell by cell to reveal a second headline behind the first, at 1920×1080 and 8 seconds.
Generates patent-office-compliant figures and converts drawings through the PatentFig AI API. Built for patent filers who need USPTO or EPO line art, CAD-ready vectors, or filing-ready TIFF, PDF, or PNG files.
Creates a framed dark technical design system for AI assistants, using border-gradient shells, asymmetrical grid panels, and mono labels. Suited to premium, instrument-like interfaces that need visible boundaries. Published by MengTo.
Compare with paperbanana, technical-wireframe-info-layout or spline-3d-integration
liquid-glass: common questions
What is the .glassEffect() API used for?
It applies Apple's Liquid Glass material to a view in SwiftUI. The skill describes it as the way to create glass-based UI effects for iOS and macOS 26+.
When should Liquid Glass be used?
The source says Liquid Glass is the material of the navigation layer, such as bars, toolbars, and floating controls. It should not be used for the content layer like tables or lists.
Does the skill cover UIKit and WidgetKit?
Yes. The description says it covers SwiftUI, AppKit, UIKit, and WidgetKit, with UIKit examples using UIGlassEffect and UIVisualEffectView.
How do I install liquid-glass?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is liquid-glass free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is liquid-glass safe to use?
It scores 94 of 100. Grades: maintenance A, licence A, quality A. Security check: grade B (allowed to use write, edit without limits). Review the code before you install. How grades work.
What are alternatives to liquid-glass?
Similar skills: paperbanana, technical-wireframe-info-layout, spline-3d-integration, code-slice-hero.
