A Chip is a compact UI element that provides brief, descriptive information about an element. It is terse, ideally one word.
Preview
Variants and Examples
Non Interactive
Add :interactive="false" to make it a read-only, non-interactive Chip. This changes it from a <button> to a non-interactive, read-only Chip with no events or hover/active state. Note that this does not effect the interactivity of its × remove button.
Default
Disabled
Use the disabled prop to disable both the Chip and its close button. This sets aria-disabled="true" and tabindex="-1" on the interactive elements and applies disabled styles, preventing pointer and keyboard interaction.
Without Close Button
With Icon
With Icon and Close Button
With Avatar and Close Button
Truncated
To truncate text, add .d-truncate to the content element, and set the width of the .d-chip element.