Chip

Ready

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

Specifications

Component chip design specifications
Component chip design specifications

States

The chip component container states are enabled and disabled:

Chip container states
Chip container 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

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

Design tokens

Color

On-light

Component tokenElementTokenValue
backgroundColorChip containercolor-grey-200#e6e6e6
disabledBackgroundColorChip container:disabledcolor-grey-100#f2f2f2
fontcolorLabelcolor-black#000000
disabledFontcolorLabel:disabledcolor-grey-500#999999
focusColorFocus outlinecolor-blue-600#0095ff
iconColorIconcolor-black#000000
disabledIconColorIcon:disabledcolor-grey-500#999999

On-dark

Component tokenElementTokenValue
backgroundColorOnDarkChip containercolor-grey-700#666666
disabledBackgroundColorOnDarkChip container:disabledcolor-grey-800#4d4d4d
fontcolorOnDarkLabelcolor-white#ffffff
disabledfontcolorOnDarkLabel:disabledcolor-grey-500#999999
focusColorOnDarkFocus outlinecolor-blue-600#0095ff
iconColorOnDarkIconcolor-white#ffffff
iconColorOnDarkIcon:disabledcolor-grey-500#999999

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
labelMarginLeftLabelspacing-80.5rem / 8px
labelMarginRightLabelspacing-80.5rem / 8px
containerPaddingLeftContainerspacing-80.5rem / 8px
containerPaddingRightContainerspacing-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