layout Components

Layout Components

Components for structuring content, including stacks, grids, containers, sections, and dividers. Create consistent, responsive layouts that adapt beautifully across all Apple platforms.

9 components available

Quick Import Reference

swift
// Package.swift
.package(url: "https://github.com/luizmellodev/SwiftDS-package", from: "2.0.0")

// In any SwiftUI file
import SwiftDS

struct MyView: View {
    var body: some View {
        VStack(spacing: DSSpacing.md) {
            // Use any layout component here
        }
    }
}