Variants and sizes

  • Filter: k-chip with aria-pressed. Selected is an ink fill, an on-ink label and a check before it; aria-checked="true" and k-chip--selected give the same look.
  • Assist: k-chip with a leading icon and no selected state.
  • Input: k-chip k-chip--input, the value followed by a k-chip__remove button.

States

  • Hover and pressed: the state layer at state-hover (8%) and state-pressed (12%).
  • Focus: the 2px focus-ring.
  • Selected: the ink fill and the check icon. The check is a shape, so selection does not rest on colour.
  • Disabled: there is none; leave out a chip that cannot apply.

Do and don’t

Do

  • Keep labels to one to three words.

  • Name each remove button after its value.

Don’t

  • Use a chip for the main action of a screen.

  • Mix filter and assist chips in one row.

  • Colour chips: selected is ink in every product.

What you provide

  • Label, and an icon name for assist chips.
  • Filter: the selected state, a change handler and the group's name.
  • Assist: the press handler.
  • Input: the value and a remove handler.