To prepare Strolly for app resizability in iOS 27, we wanted its non-modal detent sheets to adapt into side panels on wider displays.
SwiftUI sheets don’t support that presentation, so we built our own panel API. It behaves like a bottom sheet when space is limited and moves to the side when more width becomes available.
I wrote about how we designed and implemented it:
https://nilcoalescing.com/blog/BuildingAdaptiveNonModalPanelsInSwiftUI/