Data InputDateInput26 props
Date Time Input
DateTimeInput combines a calendar popover with a time input for selecting both a date and time in a single interaction flow. Use it for scheduling, event creation, deadline sett...
공식 문서 열기Preview
July 2026
Su
Mo
Tu
We
Th
Fr
Sa
Import
import {DateTimeInput} from '@astryxdesign/core/DateTimeInput';Astryx 문서 권장 방식대로 root barrel이 아니라 컴포넌트 subpath에서 가져옵니다.
When to use
DateTimeInput combines a calendar popover with a time input for selecting both a date and time in a single interaction flow. Use it for scheduling, event creation, deadline sett...
datetimepickerdatetimedatepickertimepickercalendarscheduleeventdeadline
Important props
onChange(value: ISODateTimeString | undefined) => voidrequired
changeAction(value: ISODateTimeString | undefined) => void | Promise<void>optional
hourFormat12h | 24hoptional
sizesm | md | lgoptional
Theming targets
astryx-date-time-input
Best practices
- DoProvide clear labels and descriptions so users understand what datetime is expected.
- DoUse min and max to restrict selectable datetimes to valid ranges.
- DoUse hasClear when the datetime is optional so the user can reset it.
- DoChoose the hour format (12h or 24h) that matches your audience's locale.