The DatePicker component is used to select a date value that applies to a particular object or workflow.
Variants
Variants contain different versions of the component depending on specific properties, such as state, size, colour, optional iconography, etc.

The date picker currently provides two variants, Dialog and Inline , which change how the component behaves.
Dialog Variant
This variant will display as part of a dialog and should be avoided if date picker components already exist within another dialog.
Help and support