Getting Started
Two small date picker examples built with @pglejzer/datepicker-ui, the companion of timepicker-ui.
Default picker
#Pass a selector and call create(). A bare <input> is wrapped in a div.dp-ui host. With no options the picker selects a single date and opens as a docked popover, or as a modal on small windows.
Read the confirmed value
#callbacks.onConfirm receives { value, autoCommit }. In single mode value.value is the ISO date YYYY-MM-DD, whatever format the input shows. value is null when the field was cleared.
Docs: Quick Start · Events · Options