Skip to Content
ComponentsActionsIcon ButtonOverview

Icon Button

사용자가 클릭 한 번으로 액션을 취하거나 선택을 할 수 있습니다.

Live Demo

Variant
Size
Disabled
View in Storybook →

Props

PropTypeDefaultDescription
buttonType"primary" | "secondary" | "tertiary" | "ghost""primary"Icon Button의 시각적 스타일을 선택합니다.
size"xsmall" | "small" | "medium""medium"Icon Button 의 크기를 선택합니다.
iconReactNode-렌더링할 아이콘 요소를 지정합니다.
aria-labelstring-접근성 레이블을 지정합니다. (필수)
onClick() => void-Icon Button 을 클릭했을 때 실행되는 함수를 지정합니다.
disabledbooleanfalse비활성화 여부를 지정합니다.
isSelectedbooleanfalse선택 상태 여부를 지정합니다.

Anatomy

Icon Button anatomy

  1. Container
  2. Icon