InlineDateTimePicker
Inline date and time picker with range support
Source
LLM docs
Docs
Package
DatePicker props
InlineDateTimePicker supports most of the DatePicker props.
Read through the DatePicker documentation to learn about all component features that are not listed on this page.
Usage
InlineDateTimePicker renders a calendar with a time picker inline, without a dropdown.
It combines DatePicker and TimePicker components:
| Mo | Tu | We | Th | Fr | Sa | Su |
|---|---|---|---|---|---|---|
:
With seconds
Set withSeconds prop to display seconds input in the time picker:
| Mo | Tu | We | Th | Fr | Sa | Su |
|---|---|---|---|---|---|---|
::
Range
Set type="range" to allow selecting a date and time range. In range mode,
two time inputs are rendered side by side, and a range summary is displayed
below the time inputs:
| Mo | Tu | We | Th | Fr | Sa | Su |
|---|---|---|---|---|---|---|
:
:
Controlled range
| Mo | Tu | We | Th | Fr | Sa | Su |
|---|---|---|---|---|---|---|
:
:
Value format
Use valueFormat prop to change the dayjs format of the range preview:
| Mo | Tu | We | Th | Fr | Sa | Su |
|---|---|---|---|---|---|---|
:
: