recipe
popover
`.popover` guidance.
popoverhover-cardtooltipanchoredguidance

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 isShowingHelp = false
Button("Why is this needed?") { isShowingHelp = true }
.buttonStyle(.registryLink)
.popover(isPresented: $isShowingHelp) {
Text("We use your date of birth to verify your identity.")
.padding()
.presentationCompactAdaptation(.popover)
}
.registryItem("popover")Why native is enough
.popover anchors content; iPhone: sheet unless .presentationCompactAdaptation(.popover). System: arrow, no dim, outside-tap dismiss. No wrapper.
Accessibility contract
- Popover: VoiceOver-reachable, escape-dismissed.
- Info MUST NOT live only in popover; label MUST stand alone.
Details
| Kind | recipe |
| Version | 0.1.1 |
| Platforms | iOS 26.0+ |
| Dependencies | button |
| Source | none (native guidance) |