recipe
drawer
Drawer guidance.
drawerbottom-sheetdetentssheetguidance

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 isShowingFilters = false
Button("Filters") { isShowingFilters = true }
.sheet(isPresented: $isShowingFilters) {
FilterOptions()
.presentationDetents([.medium, .large])
.presentationDragIndicator(.visible)
}
.registryItem("drawer")Why native is enough
Drawer = sheet + .presentationDetents, drag indicator; system resize/dim/dismiss. MUST NOT fake via offset-overlay.
Accessibility contract
- Detents: announced, VoiceOver-adjustable.
- Drag indicator visible; add button dismissal.
- Content MUST reach medium detent or scroll.
Details
| Kind | recipe |
| Version | 0.1.1 |
| Platforms | iOS 26.0+ |
| Dependencies | none |
| Source | none (native guidance) |