Structure

A component in the shape of a pill providing visual cues to prompt users to enter information or filter content.

chip structure

Anatomy

chip anatomy

Size

Change the size of the Chip including padding, font-size and icon size with the size property.

chip size

PropertyTokenpxrem
Height smsize $224px1.5
Height mdsize $332px2
Height lgsize $440px2.5
Leading [Icon] size sm & mdsm16px-
Leading [Icon] size lgmd24px-
Trailing [Action Icon] size smsm24px-
Trailing [Action Icon] size md & lgmd32px-

Paddings and margins

chip dismissible

PropertyTokenpxrem
Unselected: Padding left & right smspace $28px0.5
Unselected: Padding left & right md & lgspace $312px0.75
Selected: Padding left (all)space $28px0.5
Selected: Padding right smspace $28px0.5
Selected: Padding right md & lgspace $312px0.75
Icon Margin-right (all)space $14px0.25

We provide three options for gap space between chips. Small will be typically used whitin Input fields (multiselect) or when space is limited. Medium will be the default option that provides a comfortable distance for the set.

chip filter margins

Property & elementTokenpxrem
Gap between chips - smspace $14px0.25
Gap between chips - md (default)space $218px0.5
Gap between chips - lgspace $312px0.75

chip filter gaps

Border

chip border

Propertypixel
Border-width (inside) - All1px
Focus shadow - Border (with 2px gap)2px

.

PropertyTokenPixelRem
Border radiusradii-04px0.25

Typography

chip typography

ElementFamilyWeightSizeRempx
sm$body400$sm0.875rem14
md$body400$md1rem16

Color

chip color

Property & Element - StateTokenHex
Bg color - Default, Focus, Disabled$grey100#
Bg color - Hover$grey200#
Border-color - Default, Focus, Disabled$grey600#
Border-color - Hover$grey800#
Font-color - Default, Default focus$grey800#
Font-color - Hover$grey1000#

chip filter color

Property & Element - StateTokenHex
Bg color - Default, Focus, Disabled$blue100#
Bg color - Hover$white#
Border-color - Default, Focus, Disabled$blue800#
Border-color - Hover$blue1000#
Font-color - Default, Default focus$blue800#
Font-color - Hover$blue1000#

.

StateValue
Disabled: all elements30% opacity