Chip
Chips cover assist, suggestion, filter, and input patterns with shared selection, icon, and avatar support.
Props
| Name | Description | Default | Control |
|---|---|---|---|
variantOptional | Material 3 chip variant. filterassistinputsuggestion | "filter" | |
valueOptional | Value used when the chip participates in a selection group model. SelectionGroupValue | undefined | undefined | - |
nameOptional | Name forwarded to the native input when used outside a selection group. string | undefined | undefined | - |
elevatedOptional | Whether to use the elevated filter chip treatment. boolean | undefined | false | |
leadingIconOptional | Leading icon shown before the label. string | undefined | undefined | |
trailingIconOptional | Trailing icon shown after the label. string | undefined | undefined | |
avatarSrcOptional | Avatar image URL shown by input chips. string | undefined | undefined | |
selectedIconOptional | Optional selected-state icon used when no leading icon is provided. string | false | undefined | "check" | - |
disabledOptional | Whether the chip is disabled. boolean | undefined | false | |
ariaLabelOptional | ARIA label forwarded to the native input. string | undefined | undefined | - |
modelValueOptional | - boolean | undefined | false |
Events
| Name | Type | Description |
|---|---|---|
update:modelValue | [value: boolean] | - |
Slots
| Name | Parameters | Description |
|---|---|---|
default | - | Main chip label. |