• Docs
  • Components
  • Date Picker

DatePicker - Aspect UI

The DatePicker component enables users to select dates from a calendar interface. It supports ranges, disabled dates, formatting, and localization for form inputs and filtering.

Table of Contents#

Default Date Picker#


Date Picker Props#


PropTypeDefaultDescription
onChange(dates: Date[]) => voidFunction called when date selection changes
initialDatesDate[][]Array of pre-selected dates
isRangebooleanfalseEnable date range selection mode
shaperounded-sm square circle'circle'Shape of date cells in the calendar
placeholderstring'Select your date'Placeholder text when no date is selected
classNamestring-Additional CSS classes for the component
showbooleanfalseShow the date picker
calendarContainerClassNamestring-Additional CSS classes for the calendar container