Components Overlays
Hover card
A card that shows while a link is hovered or focused, with CSS alone.
$ pyblade ui:add hover-card
A profile
Props
Written as attributes of <pb-ui.hover-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 |
|---|---|---|---|
| trigger | slot | "" | What is hovered |
| side | str | "bottom" | bottom or top |
| class | str | "" | Added to the classes of the component. Every other attribute is spread on it too. |