Hover Card
Displays rich content in a card when hovering over a trigger. Uses Popover for the popup and positioning.
Installation
templui add hovercard
Load the script once in your layout:
<head>
@hovercard.Script()
</head>
Examples
Sides
API Reference
Required parameter
Hover for description
Root
Groups one trigger with one hover card content element.
| Name | Type | Default |
|---|---|---|
| | - |
| | - |
| | - |
Trigger
Element that opens the hover card on hover.
| Name | Type | Default |
|---|---|---|
| | - |
| | - |
| | - |
Content
The hover card surface. Placement and hover delays are configured here.
| Name | Type | Default |
|---|---|---|
| | - |
| | |
| | - |
| | |
| | |
| | |
| | |
| | |