Date Picker
UI SDK Date Picker: type a date in the locale's format or pick it from a calendar popup, single or range, with a format hint, an optional clear button and ISO values.
Example
Clear date
MM/DD/YYYYMM/DD/YYYY
date-picker-demo.tsxCopy code
Installation
Copy code
Usage
ImportCopy code
API reference
DatePickerInput
DatePickerTrigger
| Prop | Type | Default |
|---|---|---|
tooltip | ControlTooltipOption | – |
Also takes every prop of UI SDK DatePickerTrigger.
DatePickerClear
| Prop | Type | Default |
|---|---|---|
tooltip | ControlTooltipOption | – |
Also takes every prop of UI SDK DatePickerClear.
DatePickerHint
DatePickerContent
DatePicker
| Prop | Type | Default |
|---|---|---|
label | string | – |
labels | DatePickerLabels | – |
hint | boolean | true |
clearable | boolean | false |
placeholder | string | – |
Also takes every prop of UI SDK DatePicker.
Other exports
createDatePickerControllertype DatePickerLabelstype DatePickerPropstype DatePickerModetype DatePickerValueAccessibility
- Type a date in the locale's format or pick it from a calendar popup.
- Values are ISO dates, like 2026-11-20.
Agent actions
Runs agent.snapshot() from @ui-sdk/react/agent on the live preview above.