OptionalallowsOptionalaria-Identifies the element (or elements) that describes the object.
Optionalaria-Identifies the element (or elements) that provide a detailed, extended description for the object.
Optionalaria-Defines a string value that labels the current element.
Optionalaria-Identifies the element (or elements) that labels the current element.
OptionalautoWhether the element should receive focus on render.
OptionalclassOptionaldefaultWhether the overlay is open by default (uncontrolled).
OptionaldefaultThe default value (uncontrolled).
OptionaldescriptionOptionaldirOptionalendThe name of the end date input element, used when submitting an HTML form. See MDN.
OptionalfirstThe day that starts the week.
OptionalformThe <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.
OptionalgranularityDetermines the smallest unit that is displayed in the date picker. By default, this is "day" for dates, and "minute" for times.
OptionalhiddenOptionalhideWhether to hide the time zone abbreviation.
OptionalhourWhether to display the time in 12 or 24 hour format. By default, this is determined by the user's locale.
OptionalidThe element's unique identifier. See MDN.
OptionalinertOptionalisCallback that is called for each date of the calendar. If it returns true, then the date is unavailable.
OptionalisWhether the input is disabled.
OptionalisWhether the input value is invalid.
OptionalisWhether the overlay is open by default (controlled).
OptionalisWhether the input can be selected but not changed by the user.
OptionalisWhether user input is required on the input before form submission.
OptionallabelOptionallangOptionalmaxThe maximum allowed date that a user may select.
OptionalminThe minimum allowed date that a user may select.
OptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonHandler that is called when the element loses focus.
OptionalonHandler that is called when the value changes.
OptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonHandler that is called when the element receives focus.
OptionalonHandler that is called when the element's focus status changes.
OptionalonOptionalonOptionalonHandler that is called when a key is pressed.
OptionalonHandler that is called when a key is released.
OptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonHandler that is called when the overlay's open state changes.
OptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalpageControls the behavior of paging. Pagination either works by advancing the visible page by visibleDuration (default) or one unit of visibleDuration.
OptionalplaceholderA placeholder date that influences the format of the placeholder shown when no value is selected. Defaults to today's date at midnight.
OptionalrenderOverrides 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:
<button> is expected, you cannot render an <a>).OptionalsecondaryOptionalshouldDetermines whether the date picker popover should close automatically when a date is selected.
OptionalshouldWhether to always show leading zeros in the month, day, and hour fields. By default, this is determined by the user's locale.
OptionalsizeThe size of the date range picker
OptionalslotA 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.
OptionalstartThe name of the start date input element, used when submitting an HTML form. See MDN.
OptionalstyleThe inline style for the element. A function may be provided to compute the style based on component state.
OptionaltranslateOptionalvalidateA 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.
OptionalvalidationWhether 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.
OptionalvalueThe current value (controlled).
When combined with
isDateUnavailable, determines whether non-contiguous ranges, i.e. ranges containing unavailable dates, may be selected.