Skip to content

Filter Pills

The Filter Pills represent a set of filters, allowing users to see which ones are applied while also allowing to edit and/or remove them. They consume a minimal amount of space while providing good situational awareness to users.

Usage

Filter Pills

Filter pills are used to visually represent applied filters in combination with the Filter Bar and Filtered Search component.

Filter Pills Best Practices

  • Only use pills without a key/category if the value on its own is easily understandable. E.g. Last year does not need the key Time range.
  • Use 2 filter pills for value ranges (e.g. From 1.1.2021 and To 31.7.2021).
  • If they're not used for value ranges, use only one filter pill per category.
    • Show the selected value if only one option is selected (e.g. City of owner: Munich).
    • Show the criteria name in plural with a counter if more than one option is selected (e.g. Cities of owner: 7 cities).

Except where otherwise noted, content on this site is licensed under MIT License.