Components Overlays
Popover
Content that opens next to a button: the browser's own popover.
$ pyblade ui:add popover
Dimensions
Props
Written as attributes of <pb-ui.popover>; 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 |
|---|---|---|---|
| id | str | required | Unique on the page |
| trigger | slot | "" | A button with popovertarget="the id" |
| align | str | "center" | start, center or end |
| class | str | "" | Added to the classes of the component. Every other attribute is spread on it too. |