Skip to content

Components Display

Separator

A line between two things.

$ pyblade ui:add separator

Separators

Props

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

NameTypeDefaultDescription
orientation str "horizontal" horizontal or vertical
label str "" Text in the middle of the line
class str "" Added to the classes of the component. Every other attribute is spread on it too.