UI Library

Chip

Default

Default

Props

PropTypeDefaultNotes
labelstringPill text.
chipClassstringColor and shape classes.
stylestring''Inline style for the pill.
ariaLabelstringlocaleAccessible name for the remove button.
removeButtonClassstring''Extra classes for the remove button.
removeButtonStylestring''Inline style for the remove button.
tooltipstringTooltip text for the pill.
disabledbooleanfalseDisables the remove/toggle button.
onRemove() => voidRenders the remove button.
activebooleanfalsePressed state in toggle mode.
onclick() => voidRenders the toggle button instead of the static pill.