apps/mantine.dev/src/pages/dates/inline-date-time-picker.mdx
import { InlineDateTimePickerDemos } from '@docs/demos'; import { Layout } from '@/layout'; import { MDX_DATA } from '@/mdx';
export default Layout(MDX_DATA.InlineDateTimePicker);
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.
InlineDateTimePicker renders a calendar with a time picker inline, without a dropdown.
It combines DatePicker and TimePicker components:
Set withSeconds prop to display seconds input in the time picker:
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:
Use valueFormat prop to change the dayjs format of the range preview: