Components Display
Item
A row of a list: an icon, a title, a description and actions.
$ pyblade ui:add item
Items
Props
Written as attributes of <pb-ui.item>; 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 | "" | |
| icon | str | "" | The name of an icon |
| href | str | "" | Makes the whole item a link |
| actions | slot | "" | Buttons on its right |
| class | str | "" | Added to the classes of the component. Every other attribute is spread on it too. |