Examples
Documentation
Chip props
Parameters accepted by
{#include components/data-display/chip id="..."}text{/include}
— the chip text is the include's main block.
| Name | Type | Default | Description |
|---|---|---|---|
id
|
String | — | DOM id on the chip root. |
badge
|
String | — | Count badge appended to the chip text. |
removable
|
boolean | false | Adds a close button that removes the chip (Alpine). |
overflow
|
boolean | false | Renders the chip as an overflow button ("N more"). |
Usage
Prefer Label. PatternFly v6 removed pf-v6-c-chip; this component
exists for migration compatibility and renders label markup underneath. New code should use
Label (and label groups) directly.