기본 사용법
청구 월 선택
달력 버튼을 눌러 월 선택기를 엽니다. 연도를 탐색한 다음 해당 연도의 월을 선택합니다.
설정과 동작
선택 가능한 월
2026년에 속하는 월만 고를 수 있습니다. 2026-09를 입력해 확정하거나 달력으로 선택합니다.
조합과 확장
월 선택 포털
월 목록을 포털에 표시합니다.
구성 컴포넌트
구조와 배치
UIMonthPickerGrid항목을 행과 열에 배치하는 영역입니다.
월 선택 포털 예제
팝업과 위치
UIMonthPickerAnchor떠 있는 콘텐츠의 위치를 계산할 때 기준이 되는 요소입니다.
월 선택 포털 예제UIMonthPickerPortal콘텐츠를 현재 DOM 계층 밖의 포털 대상으로 옮깁니다.
월 선택 포털 예제UIMonthPickerContent트리거 또는 현재 값에 연결된 콘텐츠를 담습니다.
월 선택 포털 예제
값 입력과 선택
UIMonthPickerCell그리드에서 선택하거나 탐색할 항목입니다.
월 선택 포털 예제UIMonthPickerInput키보드로 값을 입력하거나 수정하는 요소입니다.
월 선택 포털 예제
탐색과 동작
UIMonthPickerTrigger컨트롤을 실행하거나 콘텐츠를 여는 버튼입니다.
월 선택 포털 예제UIMonthPickerPreviousYear직전 연도로 이동합니다.
월 선택 포털 예제UIMonthPickerNextYear다음 연도로 이동합니다.
월 선택 포털 예제
주요 API
속성과 모델
default-value선택기를 처음 열 때 입력에 표시할 월의 값입니다.
editableYYYY-MM 형식으로 월을 직접 입력할 수 있습니다.
선택 가능한 월 예제
입력 상태
readonly값을 유지하고 사용자 조작으로 변경되는 것을 막습니다. 읽기와 탐색은 계속 지원합니다.
disabled입력과 선택을 비활성화합니다. 네이티브 입력은 Tab 순서에서 빠집니다.
슬롯
#default현재 보고 있는 연도의 월들을 months로 받습니다.
월 선택 포털 예제
전체 속성, 이벤트와 슬롯
UIMonthPicker
model-valueDateValue | null | undefineddefault-valueDateValue | null | undefinedopenboolean | undefineddefault-openboolean | undefinedhighlighted-valueDateValue | undefineddefault-highlighted-valueDateValue | undefinedreference-dateDateValue | undefineddefault-viewCalendarViewMode | undefineddisabledboolean | undefinedreadonlyboolean | undefinedrequiredboolean | undefinedlabelstring | undefinedpoliciesDatePickerPolicies | undefinedasPrimitiveAs | undefinedas-childboolean | undefinedshiftboolean | undefinedsideRectSide | undefinedalignRectAlign | undefinedside-offsetnumber | undefinedcollision-paddingPositionPadding | undefinedcollision-boundaryPositionBoundary | undefinedavoid-collisionsboolean | undefinedflipboolean | undefinedhide-when-detachedboolean | undefinedstrategyPositionStrategy | undefinedtrackingPositionTracking | undefinedpositionboolean | undefined@update:model-value(value: DateValue | null) => unknown@update:open(value: boolean) => unknown@update:highlighted-value(value: DateValue) => unknownnamestring | undefinedformstring | undefinededitableboolean | undefinedclearableboolean | undefinedclear-labelstring | undefined#default(props: PickerRootSlotProps<DateValue | null>) => VNodeChild
UIMonthPickerTrigger
asPrimitiveAs | undefinedas-childboolean | undefined#default(props: PickerRootSlotProps<DateValue | null>) => VNodeChild
UIMonthPickerAnchor
asPrimitiveAs | undefinedas-childboolean | undefined#default(props: PickerRootSlotProps<DateValue | null>) => VNodeChild
UIMonthPickerPortal
tostring | HTMLElement | undefineddisabledboolean | undefineddeferboolean | undefined
UIMonthPickerContent
asPrimitiveAs | undefinedas-childboolean | undefined#default(props: PickerContentSlotProps<DateValue | null>) => VNodeChild
UIMonthPickerGrid
asPrimitiveAs | undefinedas-childboolean | undefined#default(props: PickerRootSlotProps<DateValue | null>) => VNodeChild
UIMonthPickerCell
asPrimitiveAs | undefinedas-childboolean | undefinedvalue필수CalendarMonthValue#default(props: PickerMonthCellSlotProps) => VNodeChild
UIMonthPickerInput
namestring | undefinedformstring | undefinedreadonlyboolean | undefinedasPrimitiveAs | undefinedas-childboolean | undefined
UIMonthPickerPreviousYear
asPrimitiveAs | undefinedas-childboolean | undefined#default(props: PickerRootSlotProps<DateValue | null>) => VNodeChild
UIMonthPickerNextYear
asPrimitiveAs | undefinedas-childboolean | undefined#default(props: PickerRootSlotProps<DateValue | null>) => VNodeChild