Skip to content

zk-chip ​

A compact tag, with an icon and a remove button.

Props ​

PropTypeDefaultDescription
variantstring'default'data-variant
selectedboolfalseAdds data-selected
disabledboolfalseAdds data-disabled and disables the remove button
removableboolfalseShows the remove button
removeLabelstring'Remove'Accessible name of the remove button
classstring|nullnullCSS class(es) merged onto the root element

Undeclared attributes forward to the root element.

Slots ​

SlotDescription
defaultLabel
iconIcon before the label

The remove button has no behaviour: give it yours (form, Livewire, a script).

Examples ​

Removable ​

blade
<x-zk-chip :removable="true" remove-label="Remove Laravel">Laravel</x-zk-chip>

Documentation of 3.2.0 , built from c93e21f on 3.2.0 by pipeline #2919741884 on 2026-10-06.