Generic Structure


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


struct GroupBox<Label, Content> where Label : View, Content : View


Creating a Group Box

Applying Standard Modifiers

View Modifiers

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


Conforms To

See Also

Container Views

struct Form

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

struct Group

An affordance for grouping view content.

struct Section

An affordance for creating hierarchical view content.