swiftui-forms
Installation
SKILL.md
Liquid Glass Forms (macOS 26+)
Two-Layer Architecture
- Glass layer: toolbars, sidebars, inspector shells, section containers (structural)
- Content layer: form rows and fields (solid/neutral)
Glass is for the navigation/control layer floating above content, not a blanket background for every input.
Glass Modifier Usage
On macOS 26, there is ONE glass modifier: glassEffect(_:in:).
- Section containers: Apply as a
.background {}on aRoundedRectangle - Special tiles/callouts: Apply in a
ZStackon a shape (rare)
⚠️ glassBackgroundEffect(displayMode:) is visionOS-only — it does NOT compile on macOS.