Docs
Date Picker
Date Picker
A date picker component that allows users to select a date from a calendar.
Disabled
Error
Instalation
Calendar Component Props
Name | Type | Description |
---|---|---|
variant | default | glowingRing | outline | Determines the visual style of the calendar. Options include |
className | string | Additional CSS classes to style the calendar's root element. |
classNames | Record<string, string> | Custom class names for specific calendar parts (e.g., days, rows, navigation buttons). Overrides default classes. |
showOutsideDays | boolean | If |
month | Date | The current month displayed in the calendar. Useful for controlled components. |
onMonthChange | (month: Date) => void | Callback function triggered when the displayed month changes. |
...props | React.ComponentProps<typeof DayPicker> | Additional props passed to the underlying |