Skip to Content
Overlays & Dialogs@hacline/ui/hover-card

HoverCard

Display a content preview when hovering over or focusing a link.

Usage

Hover over or focus "Avatar documentation" to preview its summary, or click the link to open the full documentation page.

Placement & Arrow

Request placement with side and align, and add HoverCardArrow to indicate the anchor point.

Parts

PartDescriptionExtended Props
HoverCardArrow
An arrow on the card's edge that points at its trigger.—
HoverCardContent
The card itself, positioned against its trigger.
size
HoverCardTrigger
A link by default: pressing it follows the link, and hover or focus opens the card.—

Props

Prop

Type

View parts and state attributes in UI SDK.