Date Time Picker

A compact calendar and time-wheel picker with a softly unfolding popover, AM/PM selection, local timezone readout, Now shortcut and explicit confirmation. Defaults to a 36px trigger, 32px day cells and a 480px desktop panel. Supports keyboard navigation, controlled or uncontrolled local date-time values, forms and reduced motion. Customize individual parts with classNames: trigger, content, calendar, day, selectedDay, time and confirmButton.

Preview

Pick a moment. Make it happen.

Install

Add it with the shadcn CLI, or copy the source manually.

$ bunx --bun shadcn@latest add @beui/date-time-picker

API Reference

value?
string

Local wall-clock time, YYYY-MM-DDTHH:mm. No timezone conversion is applied.

—
defaultValue?
string
onValueChange?
((value: string) => void)

Called only when Confirm is pressed. Dismissing discards the draft.

—
label?
string
Choose date and time
disabled?
boolean
false
name?
string
—
className?
string
—
classNames?
DateTimePickerClassNames
—

Updated