Contents

compact

A date picker style that displays the components in a compact, textual format.

Declaration

@MainActor @preconcurrency static var compact: CompactDatePickerStyle { get }

Discussion

Use this style when space is constrained and users expect to make specific date and time selections. Some variants may include rich editing controls in a pop up.

See Also

Getting built-in date picker styles