aria-describedby ? | string | undefined | — | Identifies the element (or elements) that describes the object. |
aria-details ? | string | undefined | — | Identifies the element (or elements) that provide a detailed, extended description for the
object. |
aria-label ? | string | undefined | — | Defines a string value that labels the current element. |
aria-labelledby ? | string | undefined | — | Identifies the element (or elements) that labels the current element. |
autoComplete ? | string | undefined | — | Describes the type of autocomplete functionality the input should provide if any. See
[MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#htmlattrdefautocomplete). |
autoFocus ? | boolean | undefined | — | Whether the element should receive focus on render. |
defaultValue ? | T | null | undefined | — | The default value (uncontrolled). |
dir ? | string | undefined | — | — |
form ? | string | undefined | — | The `<form>` element to associate the input with.
The value of this attribute must be the id of a `<form>` in the same document.
See [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/input#form). |
hidden ? | boolean | undefined | — | — |
id ? | string | undefined | — | The element's unique identifier. See
[MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/id). |
inert ? | boolean | undefined | — | — |
isDisabled ? | boolean | undefined | — | Whether the input is disabled. |
isInvalid ? | boolean | undefined | — | Whether the input value is invalid. |
isReadOnly ? | boolean | undefined | — | Whether the input can be selected but not changed by the user. |
isRequired ? | boolean | undefined | — | Whether user input is required on the input before form submission. |
lang ? | string | undefined | — | — |
name ? | string | undefined | — | The name of the input element, used when submitting an HTML form. See
[MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#htmlattrdefname). |
onAnimationEnd ? | AnimationEventHandler<HTMLDivElement> | undefined | — | — |
onAnimationEndCapture ? | AnimationEventHandler<HTMLDivElement> | undefined | — | — |
onAnimationIteration ? | AnimationEventHandler<HTMLDivElement> | undefined | — | — |
onAnimationIterationCapture ? | AnimationEventHandler<HTMLDivElement> | undefined | — | — |
onAnimationStart ? | AnimationEventHandler<HTMLDivElement> | undefined | — | — |
onAnimationStartCapture ? | AnimationEventHandler<HTMLDivElement> | undefined | — | — |
onAuxClick ? | MouseEventHandler<HTMLDivElement> | undefined | — | — |
onAuxClickCapture ? | MouseEventHandler<HTMLDivElement> | undefined | — | — |
onBlur ? | ((e: FocusEvent<Element, Element>) => void) | undefined | — | Handler that is called when the element loses focus. |
onChange ? | ((value: MappedDateValue<T> | null) => void) | undefined | — | Handler that is called when the value changes. |
onClick ? | MouseEventHandler<HTMLDivElement> | undefined | — | — |
onClickCapture ? | MouseEventHandler<HTMLDivElement> | undefined | — | — |
onContextMenu ? | MouseEventHandler<HTMLDivElement> | undefined | — | — |
onContextMenuCapture ? | MouseEventHandler<HTMLDivElement> | undefined | — | — |
onDoubleClick ? | MouseEventHandler<HTMLDivElement> | undefined | — | — |
onDoubleClickCapture ? | MouseEventHandler<HTMLDivElement> | undefined | — | — |
onFocus ? | ((e: FocusEvent<Element, Element>) => void) | undefined | — | Handler that is called when the element receives focus. |
onFocusChange ? | ((isFocused: boolean) => void) | undefined | — | Handler that is called when the element's focus status changes. |
onGotPointerCapture ? | PointerEventHandler<HTMLDivElement> | undefined | — | — |
onGotPointerCaptureCapture ? | PointerEventHandler<HTMLDivElement> | undefined | — | — |
onKeyDown ? | ((e: KeyboardEvent) => void) | undefined | — | Handler that is called when a key is pressed. |
onKeyUp ? | ((e: KeyboardEvent) => void) | undefined | — | Handler that is called when a key is released. |
onLostPointerCapture ? | PointerEventHandler<HTMLDivElement> | undefined | — | — |
onLostPointerCaptureCapture ? | PointerEventHandler<HTMLDivElement> | undefined | — | — |
onMouseDown ? | MouseEventHandler<HTMLDivElement> | undefined | — | — |
onMouseDownCapture ? | MouseEventHandler<HTMLDivElement> | undefined | — | — |
onMouseEnter ? | MouseEventHandler<HTMLDivElement> | undefined | — | — |
onMouseLeave ? | MouseEventHandler<HTMLDivElement> | undefined | — | — |
onMouseMove ? | MouseEventHandler<HTMLDivElement> | undefined | — | — |
onMouseMoveCapture ? | MouseEventHandler<HTMLDivElement> | undefined | — | — |
onMouseOut ? | MouseEventHandler<HTMLDivElement> | undefined | — | — |
onMouseOutCapture ? | MouseEventHandler<HTMLDivElement> | undefined | — | — |
onMouseOver ? | MouseEventHandler<HTMLDivElement> | undefined | — | — |
onMouseOverCapture ? | MouseEventHandler<HTMLDivElement> | undefined | — | — |
onMouseUp ? | MouseEventHandler<HTMLDivElement> | undefined | — | — |
onMouseUpCapture ? | MouseEventHandler<HTMLDivElement> | undefined | — | — |
onPointerCancel ? | PointerEventHandler<HTMLDivElement> | undefined | — | — |
onPointerCancelCapture ? | PointerEventHandler<HTMLDivElement> | undefined | — | — |
onPointerDown ? | PointerEventHandler<HTMLDivElement> | undefined | — | — |
onPointerDownCapture ? | PointerEventHandler<HTMLDivElement> | undefined | — | — |
onPointerEnter ? | PointerEventHandler<HTMLDivElement> | undefined | — | — |
onPointerLeave ? | PointerEventHandler<HTMLDivElement> | undefined | — | — |
onPointerMove ? | PointerEventHandler<HTMLDivElement> | undefined | — | — |
onPointerMoveCapture ? | PointerEventHandler<HTMLDivElement> | undefined | — | — |
onPointerOut ? | PointerEventHandler<HTMLDivElement> | undefined | — | — |
onPointerOutCapture ? | PointerEventHandler<HTMLDivElement> | undefined | — | — |
onPointerOver ? | PointerEventHandler<HTMLDivElement> | undefined | — | — |
onPointerOverCapture ? | PointerEventHandler<HTMLDivElement> | undefined | — | — |
onPointerUp ? | PointerEventHandler<HTMLDivElement> | undefined | — | — |
onPointerUpCapture ? | PointerEventHandler<HTMLDivElement> | undefined | — | — |
onScroll ? | UIEventHandler<HTMLDivElement> | undefined | — | — |
onScrollCapture ? | UIEventHandler<HTMLDivElement> | undefined | — | — |
onTouchCancel ? | TouchEventHandler<HTMLDivElement> | undefined | — | — |
onTouchCancelCapture ? | TouchEventHandler<HTMLDivElement> | undefined | — | — |
onTouchEnd ? | TouchEventHandler<HTMLDivElement> | undefined | — | — |
onTouchEndCapture ? | TouchEventHandler<HTMLDivElement> | undefined | — | — |
onTouchMove ? | TouchEventHandler<HTMLDivElement> | undefined | — | — |
onTouchMoveCapture ? | TouchEventHandler<HTMLDivElement> | undefined | — | — |
onTouchStart ? | TouchEventHandler<HTMLDivElement> | undefined | — | — |
onTouchStartCapture ? | TouchEventHandler<HTMLDivElement> | undefined | — | — |
onTransitionCancel ? | TransitionEventHandler<HTMLDivElement> | undefined | — | — |
onTransitionCancelCapture ? | TransitionEventHandler<HTMLDivElement> | undefined | — | — |
onTransitionEnd ? | TransitionEventHandler<HTMLDivElement> | undefined | — | — |
onTransitionEndCapture ? | TransitionEventHandler<HTMLDivElement> | undefined | — | — |
onTransitionRun ? | TransitionEventHandler<HTMLDivElement> | undefined | — | — |
onTransitionRunCapture ? | TransitionEventHandler<HTMLDivElement> | undefined | — | — |
onTransitionStart ? | TransitionEventHandler<HTMLDivElement> | undefined | — | — |
onTransitionStartCapture ? | TransitionEventHandler<HTMLDivElement> | undefined | — | — |
onWheel ? | WheelEventHandler<HTMLDivElement> | undefined | — | — |
onWheelCapture ? | WheelEventHandler<HTMLDivElement> | undefined | — | — |
render ? | DOMRenderFunction<"div", DatePickerRenderProps> | undefined | — | Overrides the default DOM element with a custom render function.
This allows rendering existing components with built-in styles and behaviors
such as router links, animation libraries, and pre-styled components.
Requirements:
- You must render the expected element type (e.g. if `<button>` is expected, you cannot render an
`<a>`).
- Only a single root DOM element can be rendered (no fragments).
- You must pass through props and ref to the underlying DOM element, merging with your own prop
as appropriate. |
slot ? | string | null | undefined | — | A slot name for the component. Slots allow the component to receive props from a parent
component. An explicit `null` value indicates that the local props completely override all
props received from a parent. |
style ? | StyleOrFunction<DatePickerRenderProps> | undefined | — | The inline [style](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/style) for the
element. A function may be provided to compute the style based on component state. |
translate ? | "yes" | "no" | undefined | — | — |
validate ? | ((value: MappedDateValue<T>) => true | ValidationError | null | undefined) | undefined | — | A function that returns an error message if a given value is invalid.
Validation errors are displayed to the user when the form is submitted
if `validationBehavior="native"`. For realtime validation, use the `isInvalid`
prop instead. |
validationBehavior ? | "native" | "aria" | undefined | 'native' | Whether to use native HTML form validation to prevent form submission
when the value is missing or invalid, or mark the field as required
or invalid via ARIA. |
value ? | T | null | undefined | — | The current value (controlled). |