Skip to content

Components Data

Table

A table of rows.

$ pyblade ui:add table

Invoices

Props

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

NameTypeDefaultDescription
headers list [] The heading of each column
rows list [] A list of lists, one cell each
caption str "" Says what the table is, under it
striped bool False Shades every other row
class str "" Added to the classes of the component. Every other attribute is spread on it too.