@ebay/skin/chip

DS v1.0.0

A chip represents a descrete highlighted value.

Static Chip

A static chip simply for informational purposes.

Football

Interactive Chip

An interactive chip has a delete button inside for chip removal.

Football

Chip Containers

When chips appear next to each other in a set, spacing and positioning adjustments should be made on the container, and if necessary, margins adjusted as such. Please review design documentation and follow the guidance here for appropriate specifications.

Note on Chips in Containers

Chips have a display of inline-flex so they will naturally inherit some native inline attributes. One of those is the implied white space between each one. Bear this mind when creating your container.

Here is an example of a container constrained to 300px (for vertical spacing demo reasons) that uses flex with wrapping to remove the whitespace and provide a clean set of chips (whitespace-free) within a container using the appropriate spacing conventions.

FootballBasketballBaseballHockeyCricketSwimmingRugby