Skip to content

zk-app-bar ​

The bar at the top of an application.

Props ​

PropTypeDefaultDescription
stickyboolfalseAdds data-sticky, for position: sticky in your style
classstring|nullnullCSS class(es) merged onto the root element

Undeclared attributes forward to the root element.

Slots ​

SlotDescription
defaultThe centre
startLeft side (logo, back button)
endRight side (actions, menu)

A <header>. Class hooks: app-bar, app-bar-start, app-bar-content, app-bar-end. No JavaScript.

Examples ​

Basic ​

blade
<x-zk-app-bar :sticky="true">
    <x-slot:start>
        <a href="/">Logo</a>
    </x-slot>
    Dashboard
    <x-slot:end>
        <x-zk-dropdown id="user"><x-slot:trigger>Ada</x-slot></x-zk-dropdown>
    </x-slot>
</x-zk-app-bar>

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