Edit page
Home
Getting Started
Components
AlertAnimateHeightAvatarAvatarListBadgeButtonButtonMenuCalendarCalendarRangeCardCarouselChipClickOutsideContainerContentLoaderCurrencyDataTableDatePickerPropsExamplesDateTimePickerDividerDrawerDropdownFloatingActionsGoogleMapGridIconIconDotIfInfiniteScrollKW LogoLoaderModalMonthPickerMonthRangeNavIconOptionsTogglePaginationPartnerLogoResponsiveSVG IconSnackbarStaticMapStatusIndicatorTabTableTimePickerToastsTooltip
Forms
Typography
Utilities
Visualization Components

DatePicker

Calendar input to select a single date.

Props

alignToRight
Bool
false
blockedDays
Array<{}>
[]
calendarProps
{}
{}
className
String
[Empty string]
confirmBeforeChange
Bool
false
confirmationButtonText
String
"Apply date"
disabled
Bool
false
hideOnChange
Bool
false
locale
Enum
'en'
name
String
required
onChange
Func
required
rangeEnd
{}
null
rangeStart
{}
moment() .hour(0) .minute(0) .second(0)
textInputProps
{}
{}
value
{}
null

Examples

Basic DatePicker

DatePicker with specified date range

DatePicker with blocked days

DatePicker align to right

DatePicker with hide on change

DatePicker with confirm button

DatePicker Disabled