Interactive previews iPhone
PaletteControlGroupStyle
A control group style that presents its content as a palette.
Platform Compatibility
iOS 17.0+ iPadOS 17.0+ macOS 14.0+ visionOS 1.0+
Tags
SwiftUI Code
VStack {
ControlGroup {
Button("Increase", systemImage: "plus", action: action)
Button("Decrease", systemImage: "minus", action: action)
} label: {
Text("Foo")
}
ControlGroup("Foo", systemImage: "magnifyingglass") {
Button("Increase", systemImage: "plus", action: action)
Button("Decrease", systemImage: "minus", action: action)
}
ControlGroup {
Button("Increase", systemImage: "plus", action: action)
Button("Decrease", systemImage: "minus", action: action)
}
}
.controlGroupStyle(.palette)Found an issue or have a suggestion?
Created: June 4, 2025Updated: December 27, 2025
More ControlGroup Components
View allMenuControlGroupStyle
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
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
Explore Other Components
Browse allHide Tab Bar On Scroll Down
Minimize the tab bar when downwards scrolling starts. Minimizing is supported for tab bars on only iPhone
ViewThatFits Vertical
A view that adapts to the available vertical space by providing the first child view that fits.
Tab View Customization
Specifies the customizations to apply to the sidebar representation of the tab view.