Date-Time Picker

A popover that combines a Calendar with hours/minutes (and optional seconds and AM/PM toggle) — useful for scheduling events that need a precise timestamp.

Installation

Props

PropTypeDefaultDescription
value
DateControlled date-time value.
onChange
(date: Date | undefined) => voidCalled whenever the date or time changes.
placeholder
string"Pick a date and time"Trigger placeholder.
use24Hour
booleanfalseUse 24-hour clock instead of 12-hour AM/PM.
showSeconds
booleanfalseInclude a seconds field.
disabled
booleanfalseDisable the trigger.