Skip to content

zk-dropdown-item ​

An item of a dropdown: a link, or a button.

Props ​

PropTypeDefaultDescription
hrefstring|nullnullMakes it a link
disabledboolfalseDisables it; a disabled item is always a button
classstring|nullnullCSS class(es) merged onto the root element

Undeclared attributes forward to the root element.

Slots ​

SlotDescription
defaultLabel

Class hook: dropdown-item. A button has no behaviour: wrap the dropdown in a form or add your own attributes.

Examples ​

blade
<x-zk-dropdown-item href="/profile">Profile</x-zk-dropdown-item>

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