Skip to content

zk-bottom-navigation-item ​

A link of the bottom navigation.

Props ​

PropTypeDefaultDescription
hrefstringrequiredTarget
labelstring|nullnullText, by default the slot
activeboolfalseMarks the current page (aria-current="page")
classstring|nullnullCSS class(es) merged onto the root element

Undeclared attributes forward to the root element.

Slots ​

SlotDescription
defaultText, when there is no label
iconIcon above the text

Class hooks: bottom-navigation-item, bottom-navigation-icon, bottom-navigation-label.

Examples ​

blade
<x-zk-bottom-navigation-item href="/" label="Home" :active="true">
    <x-slot:icon>⌂</x-slot>
</x-zk-bottom-navigation-item>

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