
Swiftui Layout Components
Native SwiftUI layout patterns for stacks, grids, lists, scroll views, forms, search, and overlays, targeting iOS 26.
- CCM score
- 72 of 100
- skills.sh installs
- 4.6K
- GitHub stars
- 1.3K
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers stacks, lazy grids, List with sections and swipe actions, ScrollView with ScrollPosition, Form with validation, and searchable overlay patterns
- Includes reference files for grids, lists, scroll views, and forms, plus a common-mistakes section and a review checklist
- Enforces lazy containers for large collections and warns that GeometryReader inside lazy containers defeats lazy loading
- Designed for developers building data-driven layouts, settings screens, search interfaces, or transient overlay UI
Install
$ npx -y skills add dpearson2699/swift-ios-skills --skill swiftui-layout-components -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
SwiftUI Layout & Components
Layout and component patterns for SwiftUI apps targeting iOS 26+ with Swift 6.3. Covers stack and grid layouts, list patterns, scroll views, forms, controls, search, and overlays. Patterns are backward-compatible to iOS 17 unless noted.
Contents
- Layout Fundamentals
- Grid Layouts
- List Patterns
- ScrollView
- Form and Controls
- Searchable
- Overlay and Presentation
- Common Mistakes
- Review Checklist
- References
Layout Fundamentals
Standard Stacks
Use VStack, HStack, and ZStack for small, fixed-size content. They render all children immediately.
VStack(alignment: .leading) {
Text(title).font(.headline)
Text(subtitle).font(.subheadline).foregroundStyle(.secondary)
}
Lazy Stacks
Use LazyVStack and LazyHStack inside ScrollView for large or dynamic collections. They create child views on demand as they scroll into view.
Details
- Repository
- github.com/dpearson2699/swift-ios-skills
- Categories
- Mobile Apps, Frontend & UI Code
- First seen
- Apr 16, 2026
More from dpearson2699/swift-ios-skills
All 94- Push Notifications4.5K
- Swiftui Liquid Glass4.5K
- Swiftdata4.5K
- Debugging Instruments4.4K
- Widgetkit4.4K
- Swiftui Uikit Interop4.4K
- Storekit4.4K
- Swiftui Gestures4.4K
- Apple On Device Ai4.3K
- App Intents4.3K
- Swift Charts4.3K
- Swift Language4.3K
- Authentication4.2K
- Background Processing4.2K
- Healthkit4.2K
- Vision Framework4.1K
- Coreml4.1K
- Core Bluetooth4K
- Core Motion4K
- Natural Language4K
- Speech Recognition4K
- Device Integrity4K
- Alarmkit3.9K
- Contacts Framework3.9K
Similar to Swiftui Layout Components
More Mobile Apps
axiom-swiftui-containers-refSkillcharleswiltgen/axiom192 installsSwiftUI reference covering stacks, grids, outlines, and scroll enhancements through iOS 26.
swiftui-patternsSkilldpearson2699/swift-ios-skills4.9K installsModern MV-pattern SwiftUI guidance for iOS 26+ covering state ownership, composition, and async loading.
swiftui-navigationSkilldpearson2699/swift-ios-skills4.7K installsTyped SwiftUI navigation patterns for stacks, split views, sheets, tabs, and deep links on iOS 26.
liquid-glassSkillcasper-studios/casper-marketplace346 installsSwift design guide covering Liquid Glass, materials, HIG spacing, typography, and color for native Apple apps.
mobile-ios-designSkillwshobson/agents25.3K installsNative iOS interface guidance covering Apple HIG principles, SwiftUI layouts, navigation, and system integration.
swiftui-expertPluginAvdLee/SwiftUI-Agent-Skill3.9K starsExpert SwiftUI guidance for state management, view composition, performance, modern SDK APIs, and Liquid Glass patterns.