Chips are versatile components that allow users to display and manage information in a compact format. They are commonly used to represent selected options, tags, filters, or interactive elements within an interface. Their lightweight and flexible design makes them ideal for enhancing user experience by enabling quick and organized interactions.

- 1.Prefix (Optional): the prefix can be an icon or an action icon that provides additional context or functionality.
- 2.Label: the primary text that conveys the chip's meaning, such as a tag name or a selected option. It should be concise, clear, and relevant to the chip's function.
- 3.Suffix (Optional): the suffix can be an icon or an action icon that enhances interactivity.
When used alongside the select component, chips serve as effective filter facets, allowing users to refine search results by choosing and removing specific attributes. This combination enables users to include or exclude preferences directly from their queries. For faceted filtering, chips should be dismissible, ensuring effortless adjustments and a more intuitive selection experience.
While badges and chips share a similar visual style, they serve different purposes in a user interface: chips are interactive, while badges are static indicators.
Component | Use case |
---|---|
Chip | Chips help users categorize, filter, or organize information. They often include keywords or metadata, providing quick access to related content and aiding navigation. |
Badge | Badges function as visual indicators, displaying status or contextual information. They are non-interactive and rely on color and text to communicate meaning. |
While the component configuration is flexible enough to allow multiple icons or action icons, it is not recommended to use two icons or two action icons within the same chip. Instead, a balanced approach should be followed: pairing one icon (to provide context) with one action icon (to enable an interaction).
- Icons should add value to the chip, not just be decorative.
- Ensure that icons are easy to recognize and understand within the chip's context. The selected icon should accurately represent the chip's purpose, while the action icon should clearly indicate the interaction it triggers.
- Icons should not compete for attention or convey conflicting messages. Instead, they should complement each other to enhance usability.
- Follow the guideline: one informational icon + one action icon (if needed)—avoid using two icons of the same type.