---
title: "ControlGroup Components | Explore SwiftUI"
description: "A container view that displays semantically-related controls in a visually-appropriate manner for the context"
canonical_url: "https://exploreswiftui.com/library/controlgroup"
meta:
  author: "Explore SwiftUI"
  "og:description": "A container view that displays semantically-related controls in a visually-appropriate manner for the context"
  "og:image": "https://exploreswiftui.com/_og/d/c_Default%2Ctitle_ControlGroup%2BComponents%2Cdescription_Explore%2B5%2BSwiftUI%2Bcomponents%2Bvisually%2Cp_Ii9saWJyYXJ5L2NvbnRyb2xncm91cCI%2Cs_GjW_CWCRjl3YnCFR.png"
  "og:image:height": "630"
  "og:image:type": image/png
  "og:image:width": "1200"
  "og:title": "ControlGroup Components | Explore SwiftUI"
  "twitter:description": "A container view that displays semantically-related controls in a visually-appropriate manner for the context"
  "twitter:image": "https://exploreswiftui.com/_og/d/c_Default%2Ctitle_ControlGroup%2BComponents%2Cdescription_Explore%2B5%2BSwiftUI%2Bcomponents%2Bvisually%2Cp_Ii9saWJyYXJ5L2NvbnRyb2xncm91cCI%2Cs_GjW_CWCRjl3YnCFR.png"
  "twitter:title": "ControlGroup Components | Explore SwiftUI"
---

> Index of every page on this site: [llms.txt](https://exploreswiftui.com/llms.txt)

# **ControlGroup Components**

A container view that displays semantically-related controls in a visually-appropriate manner for the context

5 components

![ControlGroup - iOS on iPhone - Portrait - Liquid Glass - Light Mode - Preview](https://exploreswiftui.com/api/images/53/variants/163?v=1790073478842&r=2&w=412&q=75&f=webp)

### **ControlGroup**

Creates a new ControlGroup with the specified children

![PaletteControlGroupStyle - iOS on iPhone - Portrait - Liquid Glass - Light Mode - Preview](https://exploreswiftui.com/api/images/57/variants/49?v=1790073478842&r=2&w=412&q=75&f=webp)

### **PaletteControlGroupStyle**

A control group style that presents its content as a palette.

![NavigationControlGroupStyle - iOS on iPhone - Portrait - Liquid Glass - Light Mode - Preview](https://exploreswiftui.com/api/images/56/variants/404?v=1790073478842&r=2&w=412&q=75&f=webp)

### **NavigationControlGroupStyle**

The navigation control group style

![MenuControlGroupStyle - iOS on iPhone - Portrait - Liquid Glass - Light Mode - Preview](https://exploreswiftui.com/api/images/55/variants/99?v=1790073478842&r=2&w=412&q=75&f=webp)

### **MenuControlGroupStyle**

A control group style that presents its content as a menu when the user presses the control, or as a submenu when nested within a larger menu

![CompactMenuControlGroupStyle - iOS on iPhone - Portrait - Liquid Glass - Light Mode - Preview](https://exploreswiftui.com/api/images/54/variants/400?v=1790073478842&r=2&w=412&q=75&f=webp)

### **CompactMenuControlGroupStyle**

A control group style that presents its content as a compact menu when the user presses the control, or as a submenu when nested within a larger menu

```json
{"@context":"https://schema.org","@graph":[{"@id":"https://exploreswiftui.com/#website","@type":"WebSite","description":"A visual library for SwiftUI APIs, components, and modifiers","inLanguage":"en-US","name":"Explore SwiftUI","url":"https://exploreswiftui.com/","publisher":{"@id":"https://exploreswiftui.com/#identity"}},{"@id":"https://exploreswiftui.com/library/controlgroup#webpage","@type":"WebPage","description":"A container view that displays semantically-related controls in a visually-appropriate manner for the context","name":"ControlGroup Components","url":"https://exploreswiftui.com/library/controlgroup","breadcrumb":{"@id":"https://exploreswiftui.com/library/controlgroup#breadcrumb"},"isPartOf":{"@id":"https://exploreswiftui.com/#website"},"potentialAction":[{"@type":"ReadAction","target":["https://exploreswiftui.com/library/controlgroup"]}],"primaryImageOfPage":{"@id":"https://exploreswiftui.com/#logo"}},{"@id":"https://exploreswiftui.com/#identity","@type":"Organization","description":"A visual library for SwiftUI APIs, components, and modifiers","name":"Explore SwiftUI","url":"https://exploreswiftui.com","logo":{"@id":"https://exploreswiftui.com/#logo"},"sameAs":["https://x.com/Typ0genius","https://mastodon.social/@Typ0genius"]},{"@id":"https://exploreswiftui.com/library/controlgroup#collectionpage","@type":"CollectionPage","description":"A container view that displays semantically-related controls in a visually-appropriate manner for the context","inLanguage":"en-US","name":"ControlGroup Components","url":"https://exploreswiftui.com/library/controlgroup","about":{"@type":"Thing","name":"SwiftUI"},"isPartOf":{"@id":"https://exploreswiftui.com/#website"}},{"@id":"https://exploreswiftui.com/library/controlgroup#/schema/item-list/1","@type":"ItemList","name":"ControlGroup Components","itemListElement":[{"@type":"ListItem","position":1,"name":"ControlGroup","url":"https://exploreswiftui.com/library/controlgroup/controlgroup"},{"@type":"ListItem","position":2,"name":"PaletteControlGroupStyle","url":"https://exploreswiftui.com/library/controlgroup/palettecontrolgroupstyle"},{"@type":"ListItem","position":3,"name":"NavigationControlGroupStyle","url":"https://exploreswiftui.com/library/controlgroup/navigationcontrolgroupstyle"},{"@type":"ListItem","position":4,"name":"MenuControlGroupStyle","url":"https://exploreswiftui.com/library/controlgroup/menucontrolgroupstyle"},{"@type":"ListItem","position":5,"name":"CompactMenuControlGroupStyle","url":"https://exploreswiftui.com/library/controlgroup/compactmenucontrolgroupstyle"}]},{"@id":"https://exploreswiftui.com/library/controlgroup#breadcrumb","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","name":"Home","item":"https://exploreswiftui.com","position":1},{"@type":"ListItem","name":"ControlGroup","item":"https://exploreswiftui.com/library/controlgroup","position":2}]},{"@id":"https://exploreswiftui.com/#logo","@type":"ImageObject","caption":"Explore SwiftUI","contentUrl":"https://exploreswiftui.com/apple-touch-icon.png","inLanguage":"en","url":"https://exploreswiftui.com/apple-touch-icon.png"}]}
```