DatePicker
Date pickers let people select a date and preferably should be embedded into Dialogs. See DatePickerDialog.
By default, a date picker lets you pick a date via a calendar UI. However, it also allows switching into a date input mode for a manual entry of dates using the numbers on a keyboard.

A simple DatePicker looks like:
Parameters
state of the date picker. See rememberDatePickerState.
the Modifier to be applied to this date picker
a DatePickerFormatter that provides formatting skeletons for dates display
DatePickerColors that will be used to resolve the colors used for this date picker in different states. See DatePickerDefaults.colors.
the title to be displayed in the date picker
the headline to be displayed in the date picker
indicates if this DatePicker should show a mode toggle action that transforms it into a date input
a focus requester that will be used to focus the text field when the date picker is in an input mode. Pass null to not focus the text field if that's the desired behavior.