layout

Community

Master SwiftUI view composition.

Authormoasq
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill provides guidance on effectively structuring SwiftUI views, managing layout complexities, and optimizing performance to create adaptable and maintainable user interfaces.

Core Features & Use Cases

  • Layout Patterns: Understand VStack, HStack, ZStack, and their adaptive alternatives.
  • View Composition: Learn to extract subviews, manage container views, and use modifiers effectively.
  • Performance Optimization: Avoid layout thrash and minimize GeometryReader usage.
  • Platform Adaptability: Implement responsive layouts for different screen sizes and devices, especially iPad.
  • Use Case: When building a complex screen, use this Skill to ensure your view hierarchy is efficient, your custom components are reusable, and your layout adapts gracefully to various device sizes.

Quick Start

Explain how to use GeometryReader to make a header view take up 20% of the screen height.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: layout
Download link: https://github.com/moasq/nanowave/archive/main.zip#layout

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.