Components Navigation
Collapsible
Shows and hides what it holds.
$ pyblade ui:add collapsible
A collapsible
Props
Written as attributes of <pb-ui.collapsible>; 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 | "" | |
| open | bool | False | Whether it starts open |
| class | str | "" | Added to the classes of the component. Every other attribute is spread on it too. |