macOS 13.3+
Presents content in a sheet over the current view, driven by an item binding.
Installation
Requires the design system foundation (tokens and theme).
Usage
flxSheet is a View modifier, like .sheet. It's always controlled: item comes from the presenting screen.
Behavior
VoiceOver focus returns to the trigger when the sheet dismisses.
Size
On macOS, a sheet sizes itself to its content, like a native sheet on the Mac, and presentationDetents has no effect. Give the content a size with .frame(_:):
Custom styling
.sheet has no style protocol, so there's no FLXSheetStyle or override.
API Reference
flxSheet
For more information about .sheet, see the Apple documentation.



