Chip

Chips are elements that represent status, complementary information, or association between elements.

Specifications

Chip design specifications
Chip design specifications

States

The chip component container states are enabled and disabled:

Chip states
Chip states

The chip action item has the following states: enabled, hover, focus, active and disabled:

Chip prefix and suffix states
Chip prefix and suffix states

Anatomy

Chip anatomy
  1. 1.
    Container
  2. 2.
    Prefix (Optional)
  3. 3.
    Label
  4. 4.
    Suffix (Optional)

Design tokens

Color

Component tokenElementCore tokenValue
activeIconColorContainer:activecolor-black#000000
backgroundColorContainercolor-grey-200#e6e6e6
borderColorContainer:bordercolor-transparenttransparent
disabledBackgroundColorContainer:disabledcolor-grey-100#f2f2f2
disabledFontcolorLabel:disabledcolor-grey-500#999999
disabledIconColorIcon:disabledcolor-grey-500#999999
focusColorFocus outlinecolor-blue-600#0095ff
fontColorLabelcolor-black#000000
hoverIconColorContainer:hovercolor-grey-900#333333
iconColorIconcolor-grey-800#4d4d4d

Typography

Component tokenElementCore tokenValue
fontFamilyLabelfont-family-sans'Open Sans', sans-serif
fontSizeLabelfont-scale-031rem / 16px
fontStyleLabelfont-style-normalnormal
fontWeightLabelfont-weight-regular400

Spacing

Component tokenElementCore tokenValue
contentPaddingLeftContainerspacing-161rem / 16px
contentPaddingRightContainerspacing-161rem / 16px
contentPaddingTopContainerspacing-00
contentPaddingBottomContainerspacing-00
iconSpacingIconspacing-80.5rem / 8px

Border

PropertyElementCore tokenValue
border-widthChip containerborder-width-00
border-styleChip containerborder-style-nonenone
border-radiusChip containerborder-radius-full9999px
border-widthFocus borderborder-width-22px
border-styleFocus borderborder-style-solidsolid
border-radiusFocus borderborder-radius-medium0.25rem / 4px

Size

Component tokenElementCore tokenValue
iconSizePrefix/Suffixsize-icon-large24x24px