Generic Structure


A container for grouping controls used for data entry, such as in settings or inspectors.


struct Form<Content> where Content : View


SwiftUI renders forms in a manner appropriate for the platform. For example, on iOS, forms appear as grouped lists. Use Section to group different parts of a form’s content.


Applying Standard Modifiers

View Modifiers

Configure this view and the views it contains by applying standard modifiers.


Conforms To

See Also

Container Views

struct Group

An affordance for grouping view content.

struct GroupBox

A stylized view with an optional label that is associated with a logical grouping of content.

struct Section

An affordance for creating hierarchical view content.