Skip to content

zk-empty-state ​

What to show when a list or a page has nothing to show.

Props ​

PropTypeDefaultDescription
titlestring|nullnullTitle
descriptionstring|nullnullText, when there is no slot
classstring|nullnullCSS class(es) merged onto the root element

Undeclared attributes forward to the root element.

Slots ​

SlotDescription
defaultReplaces the description
iconIcon above the title
actionsButtons or links

Examples ​

Basic ​

blade
<x-zk-empty-state title="No project yet" description="Create your first one.">
    <x-slot:actions>
        <a href="/projects/new">New project</a>
    </x-slot>
</x-zk-empty-state>

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