Props

Prop타입기본값설명
valueDate | null선택된 날짜 값
onChange(date: Date | null) => void값이 변경될 때 호출되는 콜백
minDateDate선택 가능한 최소 날짜
maxDateDate선택 가능한 최대 날짜
localePartial<Locale>커스텀 로케일 설정
initialMonthDate초기 표시되는 달
size"small" | "medium" | "large" | "x-large""medium"컴포넌트 크기
weekStartsOnWeekDay"sunday"주의 시작일
isDateUnavailable(date: Date) => boolean특정 날짜를 비활성화 처리
displayFormatstring커스텀 표시 형식 (예: "YYYY/MM/DD")
openboolean제어되는 열림 상태
initialOpenboolean초기 열림 상태 (비제어)
onOpenChange(open: boolean) => void열림 상태가 변경될 때 호출되는 콜백
requiredbooleanfalse값 지우기 비활성화
showOutsideDaysbooleanfalse인접한 달의 날짜 표시
highlightDatesDate[]강조 표시할 날짜
shouldCloseOnSelectbooleanfalse날짜 클릭 시 자동 확인
numberOfMonthsnumber1표시할 달의 수
captionLayout"buttons" | "dropdown""buttons"캡션 내비게이션 스타일
fromYearnumber드롭다운의 시작 연도
toYearnumber드롭다운의 끝 연도
disablePastbooleanfalse오늘 이전 날짜 비활성화
disableFuturebooleanfalse오늘 이후 날짜 비활성화
inlinebooleanfalse캘린더를 인라인으로 표시 (팝업 없음)
namestring폼 제출을 위한 숨겨진 input 이름
placeholderstring트리거의 placeholder 텍스트
hideHeaderbooleanfalse내비게이션 헤더 숨기기
hideFooterbooleanfalse액션 푸터 숨기기