Chip Toggle Button

선택 여부를 켜거나 끌 수 있는 칩 형태의 버튼입니다.

Anatomy

  1. Root - Primitive.Root
  2. Label - Primitive.Label
  3. Prefix Icon
  4. Suffix Icon

Visual Options

PropertyValue
sizesmall, medium
prefix iconIcon
suffix iconIcon

Visually Represented States

StateCondition
enabledisDisabled = False, isHovered = False, isFocused = False, isPressed = False
hoveredisDisabled = False, isPressed = False, isHovered = True
focusedisDisabled = False, isPressed = False, isFocused = True
pressedisDisabled = False, isPressed = True
disabledisDisabled = True
StateCondition
unselectedisSelected = False
selectedisSelected = True

디자인 결정 (Color)

StatePartAttributeValue
Enabled, UnselectedRootOutline Color$semantic.color.divider-2
Label, Prefix Icon, Suffix IconColor$scale.color.gray-900
CountColor$scale.color.gray-600
Hovered, UnselectedRootColor$semantic.color.gray-hover
Outline Color$semantic.color.divider-2
Label, Prefix Icon, Suffix IconColor$scale.color.gray-900
CountColor$scale.color.gray-700
Pressed, UnselectedRootColor$semantic.color.gray-pressed
Outline Color$semantic.color.divider-2
Label, Prefix Icon, Suffix IconColor$scale.color.gray-900
Disabled, UnselectedRootOutline Color$semantic.color.divider-2
Label, Prefix Icon, Suffix IconColor$scale.color.gray-400
Enabled, SelectedRootColor$scale.color.gray-800
Label, Prefix Icon, Suffix IconColor$scale.color.gray-00
Hovered, SelectedRootColor$scale.color.gray-700
Label, Prefix Icon, Suffix IconColor$scale.color.gray-00
Pressed, SelectedRootColor$scale.color.gray-700
Label, Prefix Icon, Suffix IconColor$scale.color.gray-00
Disabled, SelectedRootOutline Color$semantic.color.divider-2
Label, Prefix Icon, Suffix IconColor$scale.color.gray-400

디자인 결정 (Typography)

Size=Medium

PartAttributeValue
Label, CountTypography$semantic.typography.body-m2-regular

Size=Small

PartAttributeValue
Label, CountTypography$semantic.typography.caption1-regular

디자인 결정 (Layout)

Size=Medium

PartAttributeValue
RootHeight38pt
Horizontal Padding14pt
Corner RadiusFull
Prefix IconSize16pt
Suffix IconSize14pt
Label / IconPadding4pt

Size=Small

PartAttributeValue
RootHeight32pt
Horizontal Padding12pt
Corner RadiusFull
Prefix IconSize14pt
Suffix IconSize14pt
Label / IconPadding4pt