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.7 , built from 7415dae on 3.2.7 by pipeline #3081600448 on 2026-11-17.