Create iOS liquid glass interfaces with dynamic visuals and interactive morphing.
Copy the install command and let the AI configure it · recommended for beginners
Please install the "liquid-glass-design" skill from askskill: 1. Download https://raw.githubusercontent.com/affaan-m/ECC/main/skills/liquid-glass-design/SKILL.md 2. Save it as ~/.claude/skills/liquid-glass-design/SKILL.md 3. Reload skills and tell me it's ready
Create an iOS 26 Liquid Glass style info card in SwiftUI with background blur, edge highlights, subtle reflections, and a morphing tap animation. Include runnable code.
Runnable SwiftUI code implementing a liquid glass card with matching visuals and interactions.
Design a Liquid Glass style navigation bar for UIKit. Explain how to implement translucent glass material, reflection changes on scroll, and light/dark mode support, with sample code.
An implementation approach for UIKit, styling guidance, and sample code to reference.
Generate a liquid glass style widget design for WidgetKit, including layout hierarchy, blur and highlight recommendations, content layout principles, and matching SwiftUI component code.
A widget visual spec and corresponding code ready for prototyping or development.
Patterns for implementing Apple's Liquid Glass — a dynamic material that blurs content behind it, reflects color and light from surrounding content, and reacts to touch and pointer interactions. Covers SwiftUI, UIKit, and WidgetKit integration.
The simplest way to add Liquid Glass to any view:
Text("Hello, World!")
.font(.title)
.padding()
.glassEffect() // Default: regular variant, capsule shape
Text("Hello, World!")
.font(.title)
.padding()
.glassEffect(.regular.tint(.orange).interactive(), in: .rect(cornerRadius: 16.0))
Key customization options:
.regular — standard glass effect.tint(Color) — add color tint for prominence.interactive() — react to touch and pointer interactions.capsule (default), .rect(cornerRadius:), .circleButton("Click Me") { /* action */ }
.buttonStyle(.glass)
Button("Important") { /* action */ }
.buttonStyle(.glassProminent)
Always wrap multiple glass views in a container for performance and morphing:
GlassEffectContainer(spacing: 40.0) {
HStack(spacing: 40.0) {
Image(systemName: "scribble.variable")
.frame(width: 80.0, height: 80.0)
.font(.system(size: 36))
.glassEffect()
Image(systemName: "eraser.fill")
.frame(width: 80.0, height: 80.0)
.font(.system(size: 36))
.glassEffect()
}
}
The spacing parameter controls merge distance — closer elements blend their glass shapes together.
Combine multiple views into a single glass shape with glassEffectUnion:
@Namespace private var namespace
GlassEffectContainer(spacing: 20.0) {
HStack(spacing: 20.0) {
ForEach(symbolSet.indices, id: \.self) { item in
Image(systemName: symbolSet[item])
.frame(width: 80.0, height: 80.0)
.glassEffect()
.glassEffectUnion(id: item < 2 ? "group1" : "group2", namespace: namespace)
}
}
}
Create smooth morphing when glass elements appear/disappear:
@State private var isExpanded = false
@Namespace private var namespace
GlassEffectContainer(spacing: 40.0) {
HStack(spacing: 40.0) {
Image(systemName: "scribble.variable")
.frame(width: 80.0, height: 80.0)
.glassEffect()
.glassEffectID("pencil", in: namespace)
if isExpanded {
Image(systemName: "eraser.fill")
.frame(width: 80.0, height: 80.0)
.glassEffect()
.glassEffectID("eraser", in: namespace)
}
}
}
Button("Toggle") {
withAnimation { isExpanded.toggle() }
}
.buttonStyle(.glass)
To allow horizontal scroll content to extend under a sidebar or inspector, ensure the ScrollView content reaches the leading/trailing edges of the container. The system automatically handles the under-sidebar scrolling behavior when the layout extends to the edges — no additional modifier is needed.
let glassEffect = UIGlassEffect()
glassEffect.tintColor = UIColor.systemBlue.withAlphaComponent(0.3)
glassEffect.isInteractive = true
let visualEffectView = UIVisualEffectView(effect: glassEffect)
visualEffectView.translatesAutoresizingMaskIntoConstraints = false
…
Explore ECC agents, skills, commands, and onboarding from the live repository.
Learn frontend patterns for React, Next.js, state, performance, and UI best practices.
Run repo tasks, debug CI, and deliver fixes with verified evidence.
Build robust Django tests with pytest-django, TDD, mocks, factories, and API coverage.
Handle HIPAA privacy, security, PHI, and breach compliance tasks correctly.
Write idiomatic Go tests, benchmarks, fuzz tests, and improve coverage.
Provides curated, up-to-date SwiftUI components for AI coding agents.
Test and validate glasses features without physical hardware using MockDeviceKit.
Helps you build and debug Guigui GUI components and interactions.
Build display-enabled interfaces with device selection, UI components, and media playback.
Improve interface polish through spacing, typography, motion, and interaction details.
Extract quantified design DNA from references and generate matching UI.