Skip to content

Components Forms

Label

The label of a field.

$ pyblade ui:add label

A label

Props

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

NameTypeDefaultDescription
class str "" Added to the classes of the component. Every other attribute is spread on it too.