Skip to content

Glossary: SwiftUI

.padding

Also written: padding

A modifier that adds space around a view, on every side or chosen edges such as `.horizontal` or `.top`.

Where the book teaches it

Related terms

.frameSpacermodifier