Components Display
Card
A box for a piece of content, with a title and a footer.
$ pyblade ui:add card
A form in a card
With an action
Props
Written as attributes of <pb-ui.card>; put a colon before one to pass it a Python value, as in :items="items". A slot is written <pb-slot:name>.
| Name | Type | Default | Description |
|---|---|---|---|
| title | str | "" | |
| description | str | "" | |
| action | slot | "" | Top right, beside the title |
| footer | slot | "" | Under the content |
| class | str | "" | Added to the classes of the component. Every other attribute is spread on it too. |