What problem does it solve?
This Skill helps you choose correct SwiftUI layout primitives and composition patterns so your iOS screens stay performant, accessible, and easy to maintain instead of becoming fragile custom UI.
Core Features & Use Cases
- Layout fundamentals: Practical guidance for when to use VStack/HStack/ZStack versus LazyVStack/LazyHStack.
- Collection-ready patterns: Clear recommendations for LazyVGrid/LazyHGrid, List sections, and performant ScrollView designs.
- Form + controls structure: Use Form, Section, validation-friendly input composition, and robust control binding patterns.
- Search and overlays: Apply .searchable with debounced async behavior, and use overlays for transient UI with safe presentation choices.
- Guardrails & review checklist: Common mistakes prevention (e.g., GeometryReader in lazy containers, unstable IDs, list/scroll gesture conflicts).
- Use cases: data-driven feeds, settings screens, search interfaces, collection-based pickers/galleries, and short-lived banner/toast-style UI.
Quick Start
Use the swiftui-layout-components skill to design a performant iOS settings screen with sections, validation-ready inputs, search, and a transient top toast overlay.