맥락적 도움말
컴포넌트 주변에 배치되어 해당 컴포넌트의 상태나 관련된 상세 정보를 제공하는 컴포넌트이다.
컴포넌트 주변에 배치되어 해당 컴포넌트의 상태나 관련된 상세 정보를 제공하는 컴포넌트이다.
사용 지침
라벨만으로 의미가 부족한 폼 항목에 사용하고, 키보드·터치 모두에서 열 수 있도록 트리거의 포커스/탭 인터랙션을 명확히 설계합니다.
예제
Default
도움말 라벨
List
예시이미지(top left)
예시이미지(top center)
예시이미지(top right)
예시이미지(bottom left)
예시이미지(bottom center)
예시이미지(bottom right)
속성
| 이름 | 타입 | 기본값 | 설명 |
|---|---|---|---|
| alignment | enum | left | Horizontal anchor alignment of the popover. |
| children필수 | ReactNode | — | Popover body content. Compose ContextualHelpTitle as first child for a heading. |
| className | string | — | Class applied to the outer wrapper. |
| defaultOpen | boolean | — | Uncontrolled initial open state. |
| onOpenChange | ((open: boolean) => void) | — | Called when open state changes. |
| open | boolean | — | Controlled open state. |
| position | enum | top | Vertical position of the popover relative to the trigger. |