Chips help people enter information, make selections, filter content, or trigger actions.

Slots
default — Renders content in the default slot of the chip.
prefix — Renders content at the start of the chip, before the default content.
start — Renders content at the start of the chip, before the prefix content.
suffix — Renders content at the end of the chip after the default content.
end — Renders content at the end of the chip, before the suffix content.
select — Content to render when the chip in selected state.
remove — Content to override the default remove chip icon.
CSS Parts
base — The base wrapper of the chip.
action — The selection control of the chip, wrapping the chip content.
content — The wrapper element around the default slot of the chip.
prefix — The prefix container of the chip.
suffix — The suffix container of the chip.
remove — The container of the remove control of the chip.

Whether the chip is disabled or not.

disabled: boolean

Whether the chip is outlined or not.

outlined: boolean

Whether the chip is removable or not.

removable: boolean

Whether the chip is selectable or not.

selectable: boolean

Whether the chip is selected or not.

selected: boolean

A property that sets the color variant of the chip component.

variant: StyleVariant | undefined

Emits an event when the chip component is removed.

onRemove(args: CustomEvent<void>): void

Parameters

Returns void

Emits an event when the chip component is selected or deselected.

onSelect(args: CustomEvent<boolean>): void

Parameters

Returns void