Install any skill in seconds. Free to start, no credit card required.
Get Started Free →xu-xiang/liquid-glass-design
iOS 26 灵动玻璃(Liquid Glass)设计系统 — 适用于 SwiftUI、UIKit 和 WidgetKit 的具有模糊、反射和交互式变形效果的动态玻璃材质。
Passed 22 of 22 test cases with the skill, and 11 of 22 without it.
and 17 more in the full report
11 fixed11 passed either way0 still failing0 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 11 test cases the skill fixed. Same model, same prompt, with and without the skill.
When wrapping multiple glass elements in SwiftUI or UIKit for iOS 26, which parameter controls the physical distance threshold at which nearby glass shapes begin to merge together?
| Checked | Without skill | With skill |
|---|---|---|
| Identifies the spacing parameter on GlassEffectContainer or UIGlassContainerEffect as controlling the merge distance | Missed | Passed |
The instructions your model reads when the skill loads.
实现 Apple 灵动玻璃(Liquid Glass)的设计模式 — 这是一种动态材质,可以模糊背后的内容,反射周围内容的颜色和光影,并对触摸和指针交互做出反应。涵盖了 SwiftUI、UIKit 和 WidgetKit 的集成。
为任何视图添加灵动玻璃效果的最简单方法:
Text("Hello, World!")
.font(.title)
.padding()
.glassEffect() // 默认:常规变体,胶囊形状
Text("Hello, World!")
.font(.title)
.padding()
.glassEffect(.regular.tint(.orange).interactive(), in: .rect(cornerRadius: 16.0))
关键自定义选项:
.regular — 标准玻璃效果.tint(Color) — 添加颜色提亮以突出显示.interactive() — 响应触摸和指针交互.capsule(默认)、.rect(cornerRadius:)、.circletest cases passed, vs 11 / 22 without
Published skills whose descriptions closely match this one, with their headline benchmark lift.
More skills from the same source and nearby in the registry, with their headline benchmark lift.