Skip to content

Components Actions

Button group

Joins buttons into one control.

$ pyblade ui:add button-group

Horizontal

Vertical

Props

Written as attributes of <pb-ui.button-group>; 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
class str "" Added to the classes of the component. Every other attribute is spread on it too.