recipe
tabs
Picker segmented; local selection, TabView nav.
tabspickersegmentedselectionguidance

On iPad
The same installed source at a regular width. It adapts its layout without a separate design.


Install
Nothing to install
Copy the snippet below. The native API is the whole treatment.
Usage
@State private var selection = "overview"
Picker("Section", selection: $selection) {
Text("Overview").tag("overview")
Text("Activity").tag("activity")
Text("Settings").tag("settings")
}
.pickerStyle(.segmented)
.registryItem("tabs")Why native is enough
.pickerStyle(.segmented): local selection; TabView: app nav. No wrapper.
Accessibility contract
- Retains Picker segmented semantics; selection caller-owned, not TabView nav.
- Needs concise, large-text-legible segment labels; inherits enabled, tint, direction.
Details
| Kind | recipe |
| Version | 0.3.1 |
| Platforms | iOS 26.0+ |
| Dependencies | none |
| Source | none (native guidance) |