Modifiers
Padding and frame
Spacing around a view, and size constraints.
Padding
Padding(all) applies the same inset to all four edges. The named helpers
set individual axes or edges; calling more than one merges them, so you can
compose PaddingH(16).PaddingTop(8).
Frame
Frame(width, height) sets a preferred minimum size; pass 0 to leave an
axis unconstrained. MinWidth and MinHeight set just one axis.
Grow() flags a child to fill available space inside an HStack or
VStack. See VStack and HStack for
details. Only the first grow child in a stack participates.