Skip to content

Components Display

Empty

What a list says when there is nothing in it yet. The slot holds its actions.

$ pyblade ui:add empty

No projects yet

Props

Written as attributes of <pb-ui.empty>; put a colon before one to pass it a Python value, as in :items="items". A slot is written <pb-slot:name>.

NameTypeDefaultDescription
icon str "inbox" The name of an icon; empty for none
title str ""
description str ""
class str "" Added to the classes of the component. Every other attribute is spread on it too.